#9F8DFD#9F8DFD
#9F8DFD is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.7% C 0.160 H 289.0°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).
Color values
| HEX | #9F8DFD |
|---|---|
| RGB | rgb(159, 141, 253) |
| HSL | hsl(250, 97%, 77%) |
| HSV | hsv(250, 44%, 99%) |
| CMYK | cmyk(37.2%, 44.3%, 0%, 0.8%) |
| CIE-LAB | lab(64.57, 32.17, -53.65) |
| CIE-LCH | lch(64.57, 62.55, 300.95°) |
| OKLab | oklab(70.74% 0.0522 -0.1513) |
| OKLCH | oklch(70.74% 0.16 289) |
| XYZ | xyz(41.5478, 33.5113, 97.1887) |
| Luminance | 0.3351 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 3.83
Periwinkle (survey)
#8E82FE
ΔE00 4.02
Perrywinkle
#8F8CE7
ΔE00 4.14
Periwinkle Blue
#8F99FB
ΔE00 5.76
Liliac
#C48EFD
ΔE00 7.57
Pastel Purple
#CAA0FF
ΔE00 9.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F8DFD #EBFD8D
analogous
#8DB3FD #9F8DFD #D78DFD
triadic
#9F8DFD #FD9F8D #8DFD9F
tetradic
#9F8DFD #FD8DB3 #EBFD8D #8DFDD7
square
#9F8DFD #FD8DB3 #EBFD8D #8DFDD7
split-complementary
#9F8DFD #FDD78D #B3FD8D
monochromatic
#3A15FB #6C51FC #9F8DFD #D2C9FE #E6E1FE
Accessibility & contrast
On white
2.73
#9F8DFD on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.70
#9F8DFD on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F8DFD
7.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F8DFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F8DFD | 1.00 | 2.73 | 7.70 | 7.70 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#669FFF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#86A3B9
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9f8dfd; /* rgb */ color: rgb(159, 141, 253); /* oklch */ color: oklch(70.7% 0.160 289.0);
Tailwind
colors: {
custom: {
50: '#bfaefe',
500: '#9f8dfd',
950: '#000000',
},
}SCSS
$custom: #9f8dfd; $custom-light: #bfaefe; $custom-dark: #000000;
JSON
{
"hex": "#9f8dfd",
"rgb": {
"r": 159,
"g": 141,
"b": 253
},
"hsl": {
"h": 249.643,
"s": 96.552,
"l": 77.255
},
"oklch": {
"l": 0.7074,
"c": 0.16003,
"h": 289
},
"luminance": 0.33513
}Semantic roles & 50–950 ramp
primary
#9F8DFD
secondary
#F1F7D4
accent
#E600C1
background
#FCFAFF
surface
#F8F4FF
border
#D1CED7
text
#121018
muted
#817F86