#9799F1#9799F1
#9799F1 is a light, vivid blue. Relative luminance 0.357; OKLCH L 71.7% C 0.127 H 281.7°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #9799F1 |
|---|---|
| RGB | rgb(151, 153, 241) |
| HSL | hsl(239, 76%, 77%) |
| HSV | hsv(239, 37%, 95%) |
| CMYK | cmyk(37.3%, 36.5%, 0%, 5.5%) |
| CIE-LAB | lab(66.30, 20.04, -44.39) |
| CIE-LCH | lch(66.30, 48.71, 294.30°) |
| OKLab | oklab(71.71% 0.0258 -0.1245) |
| OKLCH | oklch(71.71% 0.127 281.7) |
| XYZ | xyz(40.0264, 35.7112, 87.9860) |
| Luminance | 0.3571 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 2.56
Perrywinkle
#8F8CE7
ΔE00 3.81
Lavender Blue
#8B88F8
ΔE00 5.28
Periwinkle (survey)
#8E82FE
ΔE00 7.10
Lavender
#B39DDB
ΔE00 9.38
Soft Blue
#6488EA
ΔE00 9.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9799F1 #F1EF97
analogous
#97C6F1 #9799F1 #C297F1
triadic
#9799F1 #F19799 #99F197
tetradic
#9799F1 #F197C6 #F1EF97 #97F1C2
square
#9799F1 #F197C6 #F1EF97 #97F1C2
split-complementary
#9799F1 #F1C297 #C6F197
monochromatic
#2B2FE2 #6164EA #9799F1 #CDCEF8 #E4E5FB
Accessibility & contrast
On white
2.58
#9799F1 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#9799F1 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9799F1
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9799F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9799F1 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7CA4F4
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#7DAABA
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #9799f1; /* rgb */ color: rgb(151, 153, 241); /* oklch */ color: oklch(71.7% 0.127 281.7);
Tailwind
colors: {
custom: {
50: '#b8b7f6',
500: '#9799f1',
950: '#000000',
},
}SCSS
$custom: #9799f1; $custom-light: #b8b7f6; $custom-dark: #000000;
JSON
{
"hex": "#9799f1",
"rgb": {
"r": 151,
"g": 153,
"b": 241
},
"hsl": {
"h": 238.667,
"s": 76.271,
"l": 76.863
},
"oklch": {
"l": 0.7171,
"c": 0.12712,
"h": 281.7
},
"luminance": 0.35713
}Semantic roles & 50–950 ramp
primary
#9799F1
secondary
#F3F3D8
accent
#D40DD8
background
#FBFBFF
surface
#F6F6FE
border
#D0D0D6
text
#121117
muted
#818085