#784CCB#784CCB
#784CCB is a mid, vivid violet. Relative luminance 0.135; OKLCH L 53.3% C 0.188 H 295.2°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #784CCB |
|---|---|
| RGB | rgb(120, 76, 203) |
| HSL | hsl(261, 55%, 55%) |
| HSV | hsv(261, 63%, 80%) |
| CMYK | cmyk(40.9%, 62.6%, 0%, 20.4%) |
| CIE-LAB | lab(43.47, 46.46, -59.57) |
| CIE-LCH | lch(43.47, 75.55, 307.95°) |
| OKLab | oklab(53.26% 0.08 -0.1698) |
| OKLCH | oklch(53.26% 0.188 295.2) |
| XYZ | xyz(21.1068, 13.4733, 57.9769) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.61
Bluey Purple
#6241C7
ΔE00 4.73
Slate Blue
#6A5ACD
ΔE00 4.90
Bluish Purple
#703BE7
ΔE00 5.09
Purpley
#8756E4
ΔE00 5.34
Iris
#6258C4
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784CCB #9FCB4C
analogous
#4C60CB #784CCB #B74CCB
triadic
#784CCB #CB784C #4CCB78
tetradic
#784CCB #CB4C60 #9FCB4C #4CCBB7
square
#784CCB #CB4C60 #9FCB4C #4CCBB7
split-complementary
#784CCB #CBB74C #60CB4C
monochromatic
#412379 #5B31A9 #784CCB #9C7BD9 #C0ABE7
Accessibility & contrast
On white
5.68
#784CCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#784CCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784CCB
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784CCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784CCB | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0068CF
Deuteranopia (green-blind)
#0065C8
Tritanopia (blue-blind)
#636984
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #784ccb; /* rgb */ color: rgb(120, 76, 203); /* oklch */ color: oklch(53.3% 0.188 295.2);
Tailwind
colors: {
custom: {
50: '#a580dc',
500: '#784ccb',
950: '#000000',
},
}SCSS
$custom: #784ccb; $custom-light: #a580dc; $custom-dark: #000000;
JSON
{
"hex": "#784ccb",
"rgb": {
"r": 120,
"g": 76,
"b": 203
},
"hsl": {
"h": 260.787,
"s": 54.978,
"l": 54.706
},
"oklch": {
"l": 0.5326,
"c": 0.18775,
"h": 295.2
},
"luminance": 0.13474
}Semantic roles & 50–950 ramp
primary
#784CCB
secondary
#C2D49F
accent
#DE49AB
background
#FAF7FD
surface
#F4EEFB
border
#CEC9D4
text
#100A15
muted
#7F7C83