#8F7DF5#8F7DF5
#8F7DF5 is a light, vivid blue. Relative luminance 0.271; OKLCH L 66.1% C 0.173 H 287.6°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8F7DF5 |
|---|---|
| RGB | rgb(143, 125, 245) |
| HSL | hsl(249, 86%, 73%) |
| HSV | hsv(249, 49%, 96%) |
| CMYK | cmyk(41.6%, 49%, 0%, 3.9%) |
| CIE-LAB | lab(59.07, 35.30, -58.10) |
| CIE-LCH | lch(59.07, 67.98, 301.28°) |
| OKLab | oklab(66.13% 0.0522 -0.1648) |
| OKLCH | oklch(66.13% 0.173 287.6) |
| XYZ | xyz(35.1381, 27.0982, 89.7476) |
| Luminance | 0.2710 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 1.98
Lavender Blue
#8B88F8
ΔE00 3.63
Perrywinkle
#8F8CE7
ΔE00 5.19
Mediumpurple
#9370DB
ΔE00 5.78
Cornflower
#6A79F7
ΔE00 6.54
Mediumslateblue
#7B68EE
ΔE00 6.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8F7DF5 #E3F57D
analogous
#7DA7F5 #8F7DF5 #CB7DF5
triadic
#8F7DF5 #F58F7D #7DF58F
tetradic
#8F7DF5 #F57DA7 #E3F57D #7DF5CB
square
#8F7DF5 #F57DA7 #E3F57D #7DF5CB
split-complementary
#8F7DF5 #F5CB7D #A7F57D
monochromatic
#3212E6 #5E44F1 #8F7DF5 #C0B6F9 #E7E3FD
Accessibility & contrast
On white
3.27
#8F7DF5 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.42
#8F7DF5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #8F7DF5
6.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8F7DF5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##8F7DF5 | 1.00 | 3.27 | 6.42 | 6.42 |
| #FFFFFF | 3.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4B91F9
Deuteranopia (green-blind)
#4A8BF2
Tritanopia (blue-blind)
#7196AE
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #8f7df5; /* rgb */ color: rgb(143, 125, 245); /* oklch */ color: oklch(66.1% 0.173 287.6);
Tailwind
colors: {
custom: {
50: '#b5a3f9',
500: '#8f7df5',
950: '#000000',
},
}SCSS
$custom: #8f7df5; $custom-light: #b5a3f9; $custom-dark: #000000;
JSON
{
"hex": "#8f7df5",
"rgb": {
"r": 143,
"g": 125,
"b": 245
},
"hsl": {
"h": 249,
"s": 85.714,
"l": 72.549
},
"oklch": {
"l": 0.66134,
"c": 0.17284,
"h": 287.6
},
"luminance": 0.27099
}Semantic roles & 50–950 ramp
primary
#8F7DF5
secondary
#F0F5D6
accent
#E203C1
background
#FBFAFF
surface
#F6F3FF
border
#D0CDD7
text
#120F17
muted
#817F85