#8D74F2#8D74F2
#8D74F2 is a light, vivid violet. Relative luminance 0.246; OKLCH L 64.2% C 0.182 H 289.4°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).
Color values
| HEX | #8D74F2 |
|---|---|
| RGB | rgb(141, 116, 242) |
| HSL | hsl(252, 83%, 70%) |
| HSV | hsv(252, 52%, 95%) |
| CMYK | cmyk(41.7%, 52.1%, 0%, 5.1%) |
| CIE-LAB | lab(56.65, 39.18, -60.32) |
| CIE-LCH | lch(56.65, 71.93, 303.01°) |
| OKLab | oklab(64.23% 0.0604 -0.1714) |
| OKLCH | oklch(64.23% 0.182 289.4) |
| XYZ | xyz(33.2524, 24.5632, 86.9763) |
| Luminance | 0.2456 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.19
Periwinkle (survey)
#8E82FE
ΔE00 4.37
Mediumslateblue
#7B68EE
ΔE00 4.58
Lavender Blue
#8B88F8
ΔE00 6.12
Cornflower
#6A79F7
ΔE00 6.82
Light Urple
#B36FF6
ΔE00 7.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D74F2 #D9F274
analogous
#749AF2 #8D74F2 #CC74F2
triadic
#8D74F2 #F28D74 #74F28D
tetradic
#8D74F2 #F2749A #D9F274 #74F2CC
square
#8D74F2 #F2749A #D9F274 #74F2CC
split-complementary
#8D74F2 #F2CC74 #9AF274
monochromatic
#3B14D7 #5F3CED #8D74F2 #BBACF7 #E8E3FC
Accessibility & contrast
On white
3.55
#8D74F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.91
#8D74F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D74F2
5.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D74F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D74F2 | 1.00 | 3.55 | 5.91 | 5.91 |
| #FFFFFF | 3.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A8AF6
Deuteranopia (green-blind)
#3C85EF
Tritanopia (blue-blind)
#708FA8
Achromatopsia (no color)
#888888
Design tokens & code
CSS
--color: #8d74f2; /* rgb */ color: rgb(141, 116, 242); /* oklch */ color: oklch(64.2% 0.182 289.4);
Tailwind
colors: {
custom: {
50: '#b49cf7',
500: '#8d74f2',
950: '#000000',
},
}SCSS
$custom: #8d74f2; $custom-light: #b49cf7; $custom-dark: #000000;
JSON
{
"hex": "#8d74f2",
"rgb": {
"r": 141,
"g": 116,
"b": 242
},
"hsl": {
"h": 251.905,
"s": 82.895,
"l": 70.196
},
"oklch": {
"l": 0.6423,
"c": 0.18168,
"h": 289.4
},
"luminance": 0.24564
}Semantic roles & 50–950 ramp
primary
#8D74F2
secondary
#EBF2CF
accent
#DF06B4
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110E17
muted
#807E85