#784CAE#784CAE
#784CAE is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.3% C 0.152 H 302.0°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).
Color values
| HEX | #784CAE |
|---|---|
| RGB | rgb(120, 76, 174) |
| HSL | hsl(267, 39%, 49%) |
| HSV | hsv(267, 56%, 68%) |
| CMYK | cmyk(31%, 56.3%, 0%, 31.8%) |
| CIE-LAB | lab(41.56, 38.86, -45.71) |
| CIE-LCH | lch(41.56, 59.99, 310.37°) |
| OKLab | oklab(51.26% 0.0807 -0.1291) |
| OKLCH | oklch(51.26% 0.152 302) |
| XYZ | xyz(17.9684, 12.2179, 41.4479) |
| Luminance | 0.1222 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 1.80
Purply
#983FB2
ΔE00 6.79
Deep Lavender
#8D5EB7
ΔE00 6.80
Bluey Purple
#6241C7
ΔE00 6.80
Iris
#6258C4
ΔE00 7.47
Rebeccapurple
#663399
ΔE00 7.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#784CAE #82AE4C
analogous
#4C51AE #784CAE #A94CAE
triadic
#784CAE #AE784C #4CAE78
tetradic
#784CAE #AE4C51 #82AE4C #4CAEA9
square
#784CAE #AE4C51 #82AE4C #4CAEA9
split-complementary
#784CAE #AEA94C #51AE4C
monochromatic
#3D2759 #5B3983 #784CAE #9875C3 #B79FD5
Accessibility & contrast
On white
6.10
#784CAE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#784CAE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #784CAE
6.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##784CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##784CAE | 1.00 | 6.10 | 3.44 | 6.10 |
| #FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2461B1
Deuteranopia (green-blind)
#3462AC
Tritanopia (blue-blind)
#6E5F75
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #784cae; /* rgb */ color: rgb(120, 76, 174); /* oklch */ color: oklch(51.3% 0.152 302.0);
Tailwind
colors: {
custom: {
50: '#a280c7',
500: '#784cae',
950: '#000000',
},
}SCSS
$custom: #784cae; $custom-light: #a280c7; $custom-dark: #000000;
JSON
{
"hex": "#784cae",
"rgb": {
"r": 120,
"g": 76,
"b": 174
},
"hsl": {
"h": 266.939,
"s": 39.2,
"l": 49.02
},
"oklch": {
"l": 0.51258,
"c": 0.15228,
"h": 302
},
"luminance": 0.12218
}Semantic roles & 50–950 ramp
primary
#784CAE
secondary
#ADC294
accent
#CF599A
background
#FAF7FC
surface
#F4EEF8
border
#CEC9D1
text
#0F0A13
muted
#7F7C82