#9D8FF7#9D8FF7
#9D8FF7 is a light, vivid blue. Relative luminance 0.335; OKLCH L 70.6% C 0.149 H 288.1°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).
Color values
| HEX | #9D8FF7 |
|---|---|
| RGB | rgb(157, 143, 247) |
| HSL | hsl(248, 87%, 76%) |
| HSV | hsv(248, 42%, 97%) |
| CMYK | cmyk(36.4%, 42.1%, 0%, 3.1%) |
| CIE-LAB | lab(64.59, 28.93, -50.35) |
| CIE-LCH | lch(64.59, 58.07, 299.88°) |
| OKLab | oklab(70.61% 0.0464 -0.1417) |
| OKLCH | oklch(70.61% 0.149 288.1) |
| XYZ | xyz(40.5110, 33.5272, 92.3146) |
| Luminance | 0.3353 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.26
Lavender Blue
#8B88F8
ΔE00 3.75
Periwinkle (survey)
#8E82FE
ΔE00 4.50
Periwinkle Blue
#8F99FB
ΔE00 5.12
Liliac
#C48EFD
ΔE00 7.99
Pastel Purple
#CAA0FF
ΔE00 9.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9D8FF7 #E9F78F
analogous
#8FB5F7 #9D8FF7 #D18FF7
triadic
#9D8FF7 #F79D8F #8FF79D
tetradic
#9D8FF7 #F78FB5 #E9F78F #8FF7D1
square
#9D8FF7 #F78FB5 #E9F78F #8FF7D1
split-complementary
#9D8FF7 #F7D18F #B5F78F
monochromatic
#391DEF #6B56F3 #9D8FF7 #CFC8FB #E6E2FD
Accessibility & contrast
On white
2.73
#9D8FF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.71
#9D8FF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9D8FF7
7.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9D8FF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9D8FF7 | 1.00 | 2.73 | 7.71 | 7.71 |
| #FFFFFF | 2.73 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C9FFB
Deuteranopia (green-blind)
#6B9AF5
Tritanopia (blue-blind)
#85A3B7
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9d8ff7; /* rgb */ color: rgb(157, 143, 247); /* oklch */ color: oklch(70.6% 0.149 288.1);
Tailwind
colors: {
custom: {
50: '#bdb0fa',
500: '#9d8ff7',
950: '#000000',
},
}SCSS
$custom: #9d8ff7; $custom-light: #bdb0fa; $custom-dark: #000000;
JSON
{
"hex": "#9d8ff7",
"rgb": {
"r": 157,
"g": 143,
"b": 247
},
"hsl": {
"h": 248.077,
"s": 86.667,
"l": 76.471
},
"oklch": {
"l": 0.70611,
"c": 0.14912,
"h": 288.1
},
"luminance": 0.33528
}Semantic roles & 50–950 ramp
primary
#9D8FF7
secondary
#F1F5D6
accent
#E302C5
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85