#784FCF#784FCF
#784FCF is a mid, vivid violet. Relative luminance 0.141; OKLCH L 54.0% C 0.189 H 293.9°. Best body text is #FFFFFF at 5.50:1 contrast (WCAG AA passes).
Color values
| HEX | #784FCF |
|---|---|
| RGB | rgb(120, 79, 207) |
| HSL | hsl(259, 57%, 56%) |
| HSV | hsv(259, 62%, 81%) |
| CMYK | cmyk(42%, 61.8%, 0%, 18.8%) |
| CIE-LAB | lab(44.36, 45.89, -60.43) |
| CIE-LCH | lch(44.36, 75.88, 307.21°) |
| OKLab | oklab(54% 0.0764 -0.1724) |
| OKLCH | oklch(54% 0.189 293.9) |
| XYZ | xyz(21.8012, 14.0895, 60.5903) |
| Luminance | 0.1409 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Indigo
#6D5ACF
ΔE00 3.81
Slate Blue
#6A5ACD
ΔE00 4.18
Purpley
#8756E4
ΔE00 4.52
Iris
#6258C4
ΔE00 5.18
Bluish Purple
#703BE7
ΔE00 5.26
Bluey Purple
#6241C7
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784FCF #A6CF4F
analogous
#4F66CF #784FCF #B84FCF
triadic
#784FCF #CF784F #4FCF78
tetradic
#784FCF #CF4F66 #A6CF4F #4FCFB8
square
#784FCF #CF4F66 #A6CF4F #4FCFB8
split-complementary
#784FCF #CFB84F #66CF4F
monochromatic
#412381 #5930B1 #784FCF #9D7FDC #C2AFE9
Accessibility & contrast
On white
5.50
#784FCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#784FCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784FCF
5.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784FCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784FCF | 1.00 | 5.50 | 3.82 | 5.50 |
| #FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AD3
Deuteranopia (green-blind)
#0067CC
Tritanopia (blue-blind)
#616C88
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #784fcf; /* rgb */ color: rgb(120, 79, 207); /* oklch */ color: oklch(54.0% 0.189 293.9);
Tailwind
colors: {
custom: {
50: '#a582de',
500: '#784fcf',
950: '#000000',
},
}SCSS
$custom: #784fcf; $custom-light: #a582de; $custom-dark: #000000;
JSON
{
"hex": "#784fcf",
"rgb": {
"r": 120,
"g": 79,
"b": 207
},
"hsl": {
"h": 259.219,
"s": 57.143,
"l": 56.078
},
"oklch": {
"l": 0.53998,
"c": 0.18854,
"h": 293.9
},
"luminance": 0.1409
}Semantic roles & 50–950 ramp
primary
#784FCF
secondary
#C6D7A2
accent
#E047AF
background
#FAF8FD
surface
#F4EFFB
border
#CECAD4
text
#100B15
muted
#7F7C83