#8F7DF2#8F7DF2
#8F7DF2 is a light, vivid blue. Relative luminance 0.269; OKLCH L 66.0% C 0.169 H 287.9°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7DF2 |
|---|---|
| RGB | rgb(143, 125, 242) |
| HSL | hsl(249, 82%, 72%) |
| HSV | hsv(249, 48%, 95%) |
| CMYK | cmyk(40.9%, 48.3%, 0%, 5.1%) |
| CIE-LAB | lab(58.90, 34.47, -56.71) |
| CIE-LCH | lch(58.90, 66.36, 301.29°) |
| OKLab | oklab(65.95% 0.052 -0.1607) |
| OKLCH | oklch(65.95% 0.169 287.9) |
| XYZ | xyz(34.6838, 26.9165, 87.3551) |
| Luminance | 0.2692 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.29
Lavender Blue
#8B88F8
ΔE00 3.72
Perrywinkle
#8F8CE7
ΔE00 5.03
Mediumpurple
#9370DB
ΔE00 5.49
Cornflower
#6A79F7
ΔE00 6.64
Mediumslateblue
#7B68EE
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7DF2 #E0F27D
analogous
#7DA6F2 #8F7DF2 #CA7DF2
triadic
#8F7DF2 #F28F7D #7DF28F
tetradic
#8F7DF2 #F27DA6 #E0F27D #7DF2CA
square
#8F7DF2 #F27DA6 #E0F27D #7DF2CA
split-complementary
#8F7DF2 #F2CA7D #A6F27D
monochromatic
#3516DE #5F45EC #8F7DF2 #BFB5F8 #E7E3FC
Accessibility & contrast
On white
3.29
#8F7DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#8F7DF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7DF2
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7DF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7DF2 | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4E90F6
Deuteranopia (green-blind)
#4D8BEF
Tritanopia (blue-blind)
#7395AC
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8f7df2; /* rgb */ color: rgb(143, 125, 242); /* oklch */ color: oklch(66.0% 0.169 287.9);
Tailwind
colors: {
custom: {
50: '#b4a3f7',
500: '#8f7df2',
950: '#000000',
},
}SCSS
$custom: #8f7df2; $custom-light: #b4a3f7; $custom-dark: #000000;
JSON
{
"hex": "#8f7df2",
"rgb": {
"r": 143,
"g": 125,
"b": 242
},
"hsl": {
"h": 249.231,
"s": 81.818,
"l": 71.961
},
"oklch": {
"l": 0.65953,
"c": 0.16887,
"h": 287.9
},
"luminance": 0.26918
}Semantic roles & 50–950 ramp
primary
#8F7DF2
secondary
#F0F4D7
accent
#DE07BD
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#110F17
muted
#807F85