#8D62F0#8D62F0
#8D62F0 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.2% C 0.204 H 293.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #8D62F0 |
|---|---|
| RGB | rgb(141, 98, 240) |
| HSL | hsl(258, 83%, 66%) |
| HSV | hsv(258, 59%, 94%) |
| CMYK | cmyk(41.3%, 59.2%, 0%, 5.9%) |
| CIE-LAB | lab(52.61, 48.74, -65.71) |
| CIE-LCH | lch(52.61, 81.81, 306.57°) |
| OKLab | oklab(61.21% 0.081 -0.1872) |
| OKLCH | oklch(61.21% 0.204 293.4) |
| XYZ | xyz(31.0761, 20.6885, 84.7771) |
| Luminance | 0.2069 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.63
Purpley
#8756E4
ΔE00 3.98
Lighter Purple
#A55AF4
ΔE00 4.40
Mediumpurple
#9370DB
ΔE00 5.13
Lightish Purple
#A552E6
ΔE00 5.82
Light Indigo
#6D5ACF
ΔE00 7.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8D62F0 #C5F062
analogous
#627EF0 #8D62F0 #D462F0
triadic
#8D62F0 #F08D62 #62F08D
tetradic
#8D62F0 #F0627E #C5F062 #62F0D4
square
#8D62F0 #F0627E #C5F062 #62F0D4
split-complementary
#8D62F0 #F0D462 #7EF062
monochromatic
#4913C5 #642AEB #8D62F0 #B69AF5 #DED2FB
Accessibility & contrast
On white
4.09
#8D62F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#8D62F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8D62F0
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8D62F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8D62F0 | 1.00 | 4.09 | 5.14 | 5.14 |
| #FFFFFF | 4.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007FF5
Deuteranopia (green-blind)
#0E7BED
Tritanopia (blue-blind)
#7282A0
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #8d62f0; /* rgb */ color: rgb(141, 98, 240); /* oklch */ color: oklch(61.2% 0.204 293.4);
Tailwind
colors: {
custom: {
50: '#b490f6',
500: '#8d62f0',
950: '#000000',
},
}SCSS
$custom: #8d62f0; $custom-light: #b490f6; $custom-dark: #000000;
JSON
{
"hex": "#8d62f0",
"rgb": {
"r": 141,
"g": 98,
"b": 240
},
"hsl": {
"h": 258.169,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.61209,
"c": 0.20402,
"h": 293.4
},
"luminance": 0.20689
}Semantic roles & 50–950 ramp
primary
#8D62F0
secondary
#E0EEC0
accent
#DF079D
background
#FBF9FF
surface
#F6F1FF
border
#D0CBD7
text
#120D17
muted
#817E85