#9780DA

A color in the Violet family

#9780da is a color in the Violet family: RGB(151, 128, 218), HSL(255°, 55%, 68%), CMYK(31%, 41%, 0%, 15%). Closest named color: mediumpurple. Contrast is 3.27:1 on white and 6.42:1 on black. See shades, harmonies and color-blindness simulation.

Open in Picker Generate Scheme

Color Codes

HEX#9780da
RGBrgb(151 128 218)
RGB (legacy)rgb(151, 128, 218)
RGB %rgb(59% 50% 85%)
HSLhsl(255 55% 68%)
HSV / HSBhsv(255, 41%, 85%)
HWBhwb(255 50% 15%)
CMYKcmyk(31%, 41%, 0%, 15%)
CIELAB (D50)lab(58.61 23.98 -43.48)
LCHlch(58.61 49.66 298.88)
OKLaboklab(0.6583 0.0543 -0.1206)
OKLCHoklch(0.6583 0.1323 294.23)
Decimal9928922

Properties

Color ToneViolet
Closest named colormediumpurple ΔE 4.1
Closest web-safe color#9999cc
Hue255°
Saturation (HSL / HSV)55% / 41%
Lightness (HSL)68%
Brightness or Value (HSV)85%
Luminance (Rec.601 / Rec.709)57% / 55%
Relative luminance (WCAG)0.2708
Red / Green / Blue151 / 128 / 218

WCAG 2.2 Contrast Ratio

On White (#ffffff)
3.27:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
6.42:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 60 / -41.8 · As background with white / black text: Lc -65.4 / 44.1

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #9780da;
  --color-brand-oklch: oklch(65.83% 0.1323 294.23);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(151 128 218 / 50%); }
/* Tailwind CSS */
<div class="bg-[#9780da] text-[#9780da] border-[#9780da]">