#784FCA#784FCA
#784FCA is a mid, vivid violet. Relative luminance 0.138; OKLCH L 53.6% C 0.182 H 294.8°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #784FCA |
|---|---|
| RGB | rgb(120, 79, 202) |
| HSL | hsl(260, 54%, 55%) |
| HSV | hsv(260, 61%, 79%) |
| CMYK | cmyk(40.6%, 60.9%, 0%, 20.8%) |
| CIE-LAB | lab(44.02, 44.54, -58.11) |
| CIE-LCH | lch(44.02, 73.22, 307.47°) |
| OKLab | oklab(53.64% 0.0767 -0.1655) |
| OKLCH | oklch(53.64% 0.182 294.8) |
| XYZ | xyz(21.1996, 13.8488, 57.4218) |
| Luminance | 0.1385 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 4.01
Slate Blue
#6A5ACD
ΔE00 4.33
Purpley
#8756E4
ΔE00 5.04
Iris
#6258C4
ΔE00 5.14
Bluey Purple
#6241C7
ΔE00 5.23
Royal Purple
#7851A9
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FCA #A1CA4F
analogous
#4F63CA #784FCA #B64FCA
triadic
#784FCA #CA784F #4FCA78
tetradic
#784FCA #CA4F63 #A1CA4F #4FCAB6
square
#784FCA #CA4F63 #A1CA4F #4FCAB6
split-complementary
#784FCA #CAB64F #63CA4F
monochromatic
#41257A #5A33A9 #784FCA #9C7ED8 #C0ADE6
Accessibility & contrast
On white
5.57
#784FCA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#784FCA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FCA
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FCA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FCA | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CE
Deuteranopia (green-blind)
#0566C7
Tritanopia (blue-blind)
#636A85
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #784fca; /* rgb */ color: rgb(120, 79, 202); /* oklch */ color: oklch(53.6% 0.182 294.8);
Tailwind
colors: {
custom: {
50: '#a482db',
500: '#784fca',
950: '#000000',
},
}SCSS
$custom: #784fca; $custom-light: #a482db; $custom-dark: #000000;
JSON
{
"hex": "#784fca",
"rgb": {
"r": 120,
"g": 79,
"b": 202
},
"hsl": {
"h": 260,
"s": 53.712,
"l": 55.098
},
"oklch": {
"l": 0.53636,
"c": 0.18244,
"h": 294.8
},
"luminance": 0.13849
}Semantic roles & 50–950 ramp
primary
#784FCA
secondary
#C3D4A1
accent
#DD4BAC
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83