#754286#754286
#754286 is a mid, moderate purple. Relative luminance 0.094; OKLCH L 46.9% C 0.120 H 317.2°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #754286 |
|---|---|
| RGB | rgb(117, 66, 134) |
| HSL | hsl(285, 34%, 39%) |
| HSV | hsv(285, 51%, 53%) |
| CMYK | cmyk(12.7%, 50.7%, 0%, 47.5%) |
| CIE-LAB | lab(36.74, 34.09, -29.28) |
| CIE-LCH | lch(36.74, 44.94, 319.34°) |
| OKLab | oklab(46.88% 0.0877 -0.0813) |
| OKLCH | oklch(46.88% 0.12 317.2) |
| XYZ | xyz(13.5868, 9.4000, 23.6483) |
| Luminance | 0.0940 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Light Eggplant
#894585
ΔE00 5.05
Bruise
#7E4071
ΔE00 6.60
Warm Purple
#952E8F
ΔE00 7.30
Rebeccapurple
#663399
ΔE00 7.59
Royal Purple
#7851A9
ΔE00 7.71
Grape
#6C3461
ΔE00 8.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#754286 #538642
analogous
#534286 #754286 #864275
triadic
#754286 #867542 #428675
tetradic
#754286 #865342 #538642 #427586
square
#754286 #865342 #538642 #427586
split-complementary
#754286 #758642 #428653
monochromatic
#2D1A34 #512E5D #754286 #9858AD #B181C1
Accessibility & contrast
On white
7.29
#754286 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#754286 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #754286
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##754286 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##754286 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#355388
Deuteranopia (green-blind)
#445884
Tritanopia (blue-blind)
#754C5E
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #754286; /* rgb */ color: rgb(117, 66, 134); /* oklch */ color: oklch(46.9% 0.120 317.2);
Tailwind
colors: {
custom: {
50: '#9e78a9',
500: '#754286',
950: '#000000',
},
}SCSS
$custom: #754286; $custom-light: #9e78a9; $custom-dark: #000000;
JSON
{
"hex": "#754286",
"rgb": {
"r": 117,
"g": 66,
"b": 134
},
"hsl": {
"h": 285,
"s": 34,
"l": 39.216
},
"oklch": {
"l": 0.46882,
"c": 0.11954,
"h": 317.2
},
"luminance": 0.094
}Semantic roles & 50–950 ramp
primary
#754286
secondary
#85AC78
accent
#CA5E79
background
#F9F7FA
surface
#F2EDF4
border
#CCC8CE
text
#0F0910
muted
#7E7B7F