#9F9CF6#9F9CF6
#9F9CF6 is a light, vivid blue. Relative luminance 0.378; OKLCH L 73.1% C 0.129 H 284.3°. Best body text is #000000 at 8.56:1 contrast (WCAG AA passes).
Color values
| HEX | #9F9CF6 |
|---|---|
| RGB | rgb(159, 156, 246) |
| HSL | hsl(242, 83%, 79%) |
| HSV | hsv(242, 37%, 96%) |
| CMYK | cmyk(35.4%, 36.6%, 0%, 3.5%) |
| CIE-LAB | lab(67.87, 21.77, -44.61) |
| CIE-LCH | lch(67.87, 49.64, 296.01°) |
| OKLab | oklab(73.14% 0.0318 -0.125) |
| OKLCH | oklch(73.14% 0.129 284.3) |
| XYZ | xyz(42.8165, 37.8003, 92.2112) |
| Luminance | 0.3780 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Periwinkle Blue
#8F99FB
ΔE00 3.63
Perrywinkle
#8F8CE7
ΔE00 4.88
Lavender Blue
#8B88F8
ΔE00 6.23
Periwinkle (survey)
#8E82FE
ΔE00 7.75
Lavender
#B39DDB
ΔE00 8.54
Pastel Purple
#CAA0FF
ΔE00 9.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#9F9CF6 #F3F69C
analogous
#9CC6F6 #9F9CF6 #CC9CF6
triadic
#9F9CF6 #F69F9C #9CF69F
tetradic
#9F9CF6 #F69CC6 #F3F69C #9CF6CC
square
#9F9CF6 #F69CC6 #F3F69C #9CF6CC
split-complementary
#9F9CF6 #F6CC9C #C6F69C
monochromatic
#322CEC #6964F1 #9F9CF6 #D5D4FB #E4E3FC
Accessibility & contrast
On white
2.45
#9F9CF6 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.56
#9F9CF6 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #9F9CF6
8.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##9F9CF6 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##9F9CF6 | 1.00 | 2.45 | 8.56 | 8.56 |
| #FFFFFF | 2.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7FA8FA
Deuteranopia (green-blind)
#7DA3F4
Tritanopia (blue-blind)
#88ADBD
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #9f9cf6; /* rgb */ color: rgb(159, 156, 246); /* oklch */ color: oklch(73.1% 0.129 284.3);
Tailwind
colors: {
custom: {
50: '#beb9f9',
500: '#9f9cf6',
950: '#000000',
},
}SCSS
$custom: #9f9cf6; $custom-light: #beb9f9; $custom-dark: #000000;
JSON
{
"hex": "#9f9cf6",
"rgb": {
"r": 159,
"g": 156,
"b": 246
},
"hsl": {
"h": 242,
"s": 83.333,
"l": 78.824
},
"oklch": {
"l": 0.73141,
"c": 0.12893,
"h": 284.3
},
"luminance": 0.37802
}Semantic roles & 50–950 ramp
primary
#9F9CF6
secondary
#F3F4D7
accent
#E006D8
background
#FBFBFF
surface
#F7F6FF
border
#D0D0D7
text
#121117
muted
#818085