#9C8EF2#9C8EF2
#9C8EF2 is a light, vivid blue. Relative luminance 0.328; OKLCH L 70.1% C 0.144 H 288.5°. Best body text is #000000 at 7.57:1 contrast (WCAG AA passes).
Color values
| HEX | #9C8EF2 |
|---|---|
| RGB | rgb(156, 142, 242) |
| HSL | hsl(248, 79%, 75%) |
| HSV | hsv(248, 41%, 95%) |
| CMYK | cmyk(35.5%, 41.3%, 0%, 5.1%) |
| CIE-LAB | lab(64.02, 27.93, -48.51) |
| CIE-LCH | lch(64.02, 55.97, 299.93°) |
| OKLab | oklab(70.08% 0.0457 -0.1364) |
| OKLCH | oklch(70.08% 0.144 288.5) |
| XYZ | xyz(39.4060, 32.8236, 88.2466) |
| Luminance | 0.3282 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 2.83
Lavender Blue
#8B88F8
ΔE00 3.84
Periwinkle (survey)
#8E82FE
ΔE00 4.61
Periwinkle Blue
#8F99FB
ΔE00 5.42
Liliac
#C48EFD
ΔE00 8.05
Mediumpurple
#9370DB
ΔE00 9.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9C8EF2 #E4F28E
analogous
#8EB2F2 #9C8EF2 #CE8EF2
triadic
#9C8EF2 #F29C8E #8EF29C
tetradic
#9C8EF2 #F28EB2 #E4F28E #8EF2CE
square
#9C8EF2 #F28EB2 #E4F28E #8EF2CE
split-complementary
#9C8EF2 #F2CE8E #B2F28E
monochromatic
#3C20E5 #6C57EC #9C8EF2 #CCC5F8 #E7E4FC
Accessibility & contrast
On white
2.78
#9C8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.57
#9C8EF2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9C8EF2
7.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9C8EF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9C8EF2 | 1.00 | 2.78 | 7.57 | 7.57 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D9DF6
Deuteranopia (green-blind)
#6D99F0
Tritanopia (blue-blind)
#86A1B4
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #9c8ef2; /* rgb */ color: rgb(156, 142, 242); /* oklch */ color: oklch(70.1% 0.144 288.5);
Tailwind
colors: {
custom: {
50: '#bcaff7',
500: '#9c8ef2',
950: '#000000',
},
}SCSS
$custom: #9c8ef2; $custom-light: #bcaff7; $custom-dark: #000000;
JSON
{
"hex": "#9c8ef2",
"rgb": {
"r": 156,
"g": 142,
"b": 242
},
"hsl": {
"h": 248.4,
"s": 79.365,
"l": 75.294
},
"oklch": {
"l": 0.70081,
"c": 0.14382,
"h": 288.5
},
"luminance": 0.32825
}Semantic roles & 50–950 ramp
primary
#9C8EF2
secondary
#F0F4D7
accent
#DC0ABE
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#121017
muted
#817F85