#9C8EFF#9C8EFF
#9C8EFF is a light, vivid blue. Relative luminance 0.336; OKLCH L 70.8% C 0.161 H 287.2°. Best body text is #000000 at 7.73:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8EFF |
|---|---|
| RGB | rgb(156, 142, 255) |
| HSL | hsl(247, 100%, 78%) |
| HSV | hsv(247, 44%, 100%) |
| CMYK | cmyk(38.8%, 44.3%, 0%, 0%) |
| CIE-LAB | lab(64.67, 31.39, -54.60) |
| CIE-LCH | lch(64.67, 62.98, 299.89°) |
| OKLab | oklab(70.79% 0.0477 -0.1541) |
| OKLCH | oklch(70.79% 0.161 287.2) |
| XYZ | xyz(41.4283, 33.6326, 98.8973) |
| Luminance | 0.3363 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 3.31
Periwinkle (survey)
#8E82FE
ΔE00 3.80
Perrywinkle
#8F8CE7
ΔE00 3.93
Periwinkle Blue
#8F99FB
ΔE00 5.02
Liliac
#C48EFD
ΔE00 8.33
Cornflower
#6A79F7
ΔE00 9.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8EFF #F1FF8E
analogous
#8EB8FF #9C8EFF #D58EFF
triadic
#9C8EFF #FF9C8E #8EFF9C
tetradic
#9C8EFF #FF8EB8 #F1FF8E #8EFFD5
square
#9C8EFF #FF8EB8 #F1FF8E #8EFFD5
split-complementary
#9C8EFF #FFD58E #B8FF8E
monochromatic
#3114FF #6651FF #9C8EFF #D2CBFF #E4E0FF
Accessibility & contrast
On white
2.72
#9C8EFF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.73
#9C8EFF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C8EFF
7.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8EFF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8EFF | 1.00 | 2.72 | 7.73 | 7.73 |
| #FFFFFF | 2.72 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#65A0FF
Deuteranopia (green-blind)
#649AFC
Tritanopia (blue-blind)
#81A4BA
Achromatopsia (no color)
#9D9D9D
Design tokens & code
CSS
--color: #9c8eff; /* rgb */ color: rgb(156, 142, 255); /* oklch */ color: oklch(70.8% 0.161 287.2);
Tailwind
colors: {
custom: {
50: '#bdafff',
500: '#9c8eff',
950: '#000000',
},
}SCSS
$custom: #9c8eff; $custom-light: #bdafff; $custom-dark: #000000;
JSON
{
"hex": "#9c8eff",
"rgb": {
"r": 156,
"g": 142,
"b": 255
},
"hsl": {
"h": 247.434,
"s": 100,
"l": 77.843
},
"oklch": {
"l": 0.70787,
"c": 0.16137,
"h": 287.2
},
"luminance": 0.33634
}Semantic roles & 50–950 ramp
primary
#9C8EFF
secondary
#F3F7D4
accent
#E600C9
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121018
muted
#817F86