#9799EA#9799EA
#9799EA is a light, moderate blue. Relative luminance 0.353; OKLCH L 71.4% C 0.117 H 281.9°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).
Color values
| HEX | #9799EA |
|---|---|
| RGB | rgb(151, 153, 234) |
| HSL | hsl(239, 66%, 75%) |
| HSV | hsv(239, 35%, 92%) |
| CMYK | cmyk(35.5%, 34.6%, 0%, 8.2%) |
| CIE-LAB | lab(65.98, 18.18, -41.04) |
| CIE-LCH | lch(65.98, 44.89, 293.89°) |
| OKLab | oklab(71.36% 0.0242 -0.1148) |
| OKLCH | oklch(71.36% 0.117 281.9) |
| XYZ | xyz(39.0009, 35.3010, 82.5848) |
| Luminance | 0.3530 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.49
Perrywinkle
#8F8CE7
ΔE00 3.80
Lavender Blue
#8B88F8
ΔE00 5.85
Periwinkle (survey)
#8E82FE
ΔE00 7.67
Lavender
#B39DDB
ΔE00 8.60
Soft Blue
#6488EA
ΔE00 10.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9799EA #EAE897
analogous
#97C2EA #9799EA #BE97EA
triadic
#9799EA #EA9799 #99EA97
tetradic
#9799EA #EA97C2 #EAE897 #97EABE
square
#9799EA #EA97C2 #EAE897 #97EABE
split-complementary
#9799EA #EABE97 #C2EA97
monochromatic
#3135D5 #6467E0 #9799EA #CACBF4 #E6E6FA
Accessibility & contrast
On white
2.61
#9799EA on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.06
#9799EA on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9799EA
8.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9799EA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9799EA | 1.00 | 2.61 | 8.06 | 8.06 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FA3ED
Deuteranopia (green-blind)
#7C9EE8
Tritanopia (blue-blind)
#80A8B7
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #9799ea; /* rgb */ color: rgb(151, 153, 234); /* oklch */ color: oklch(71.4% 0.117 281.9);
Tailwind
colors: {
custom: {
50: '#b8b7f1',
500: '#9799ea',
950: '#000000',
},
}SCSS
$custom: #9799ea; $custom-light: #b8b7f1; $custom-dark: #000000;
JSON
{
"hex": "#9799ea",
"rgb": {
"r": 151,
"g": 153,
"b": 234
},
"hsl": {
"h": 238.554,
"s": 66.4,
"l": 75.49
},
"oklch": {
"l": 0.71363,
"c": 0.11731,
"h": 281.9
},
"luminance": 0.35302
}Semantic roles & 50–950 ramp
primary
#9799EA
secondary
#F1F1DA
accent
#CA17CE
background
#FBFBFE
surface
#F6F6FD
border
#D0D0D5
text
#121116
muted
#818084