#784FCB#784FCB
#784FCB is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.7% C 0.184 H 294.7°. Best body text is #FFFFFF at 5.56:1 contrast (WCAG AA passes).
Color values
| HEX | #784FCB |
|---|---|
| RGB | rgb(120, 79, 203) |
| HSL | hsl(260, 54%, 55%) |
| HSV | hsv(260, 61%, 80%) |
| CMYK | cmyk(40.9%, 61.1%, 0%, 20.4%) |
| CIE-LAB | lab(44.08, 44.81, -58.58) |
| CIE-LCH | lch(44.08, 73.75, 307.41°) |
| OKLab | oklab(53.71% 0.0766 -0.1669) |
| OKLCH | oklch(53.71% 0.184 294.7) |
| XYZ | xyz(21.3183, 13.8963, 58.0474) |
| Luminance | 0.1390 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.96
Slate Blue
#6A5ACD
ΔE00 4.29
Purpley
#8756E4
ΔE00 4.93
Iris
#6258C4
ΔE00 5.14
Bluey Purple
#6241C7
ΔE00 5.24
Bluish Purple
#703BE7
ΔE00 5.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FCB #A2CB4F
analogous
#4F64CB #784FCB #B64FCB
triadic
#784FCB #CB784F #4FCB78
tetradic
#784FCB #CB4F64 #A2CB4F #4FCBB6
square
#784FCB #CB4F64 #A2CB4F #4FCBB6
split-complementary
#784FCB #CBB64F #64CB4F
monochromatic
#41247B #5A32AA #784FCB #9C7ED9 #C0ADE7
Accessibility & contrast
On white
5.56
#784FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#784FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FCB
5.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FCB | 1.00 | 5.56 | 3.78 | 5.56 |
| #FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CF
Deuteranopia (green-blind)
#0066C8
Tritanopia (blue-blind)
#626B85
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #784fcb; /* rgb */ color: rgb(120, 79, 203); /* oklch */ color: oklch(53.7% 0.184 294.7);
Tailwind
colors: {
custom: {
50: '#a482dc',
500: '#784fcb',
950: '#000000',
},
}SCSS
$custom: #784fcb; $custom-light: #a482dc; $custom-dark: #000000;
JSON
{
"hex": "#784fcb",
"rgb": {
"r": 120,
"g": 79,
"b": 203
},
"hsl": {
"h": 259.839,
"s": 54.386,
"l": 55.294
},
"oklch": {
"l": 0.53708,
"c": 0.18367,
"h": 294.7
},
"luminance": 0.13897
}Semantic roles & 50–950 ramp
primary
#784FCB
secondary
#C4D5A1
accent
#DE4AAD
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83