#968BF7#968BF7
#968BF7 is a light, vivid blue. Relative luminance 0.317; OKLCH L 69.3% C 0.155 H 286.3°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #968BF7 |
|---|---|
| RGB | rgb(150, 139, 247) |
| HSL | hsl(246, 87%, 76%) |
| HSV | hsv(246, 44%, 97%) |
| CMYK | cmyk(39.3%, 43.7%, 0%, 3.1%) |
| CIE-LAB | lab(63.06, 29.46, -52.80) |
| CIE-LCH | lch(63.06, 60.46, 299.16°) |
| OKLab | oklab(69.32% 0.0435 -0.149) |
| OKLCH | oklch(69.32% 0.155 286.3) |
| XYZ | xyz(38.5941, 31.6633, 92.0558) |
| Luminance | 0.3166 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Lavender Blue
#8B88F8
ΔE00 2.21
Perrywinkle
#8F8CE7
ΔE00 2.69
Periwinkle (survey)
#8E82FE
ΔE00 3.02
Periwinkle Blue
#8F99FB
ΔE00 5.06
Cornflower
#6A79F7
ΔE00 8.53
Mediumpurple
#9370DB
ΔE00 8.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968BF7 #ECF78B
analogous
#8BB6F7 #968BF7 #CC8BF7
triadic
#968BF7 #F7968B #8BF796
tetradic
#968BF7 #F78BB6 #ECF78B #8BF7CC
square
#968BF7 #F78BB6 #ECF78B #8BF7CC
split-complementary
#968BF7 #F7CC8B #B6F78B
monochromatic
#2E18EF #6252F3 #968BF7 #CAC4FB #E5E2FD
Accessibility & contrast
On white
2.86
#968BF7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.33
#968BF7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #968BF7
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968BF7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968BF7 | 1.00 | 2.86 | 7.33 | 7.33 |
| #FFFFFF | 2.86 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.33 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.33 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#649CFB
Deuteranopia (green-blind)
#6296F4
Tritanopia (blue-blind)
#7BA0B5
Achromatopsia (no color)
#999999
Design tokens & code
CSS
--color: #968bf7; /* rgb */ color: rgb(150, 139, 247); /* oklch */ color: oklch(69.3% 0.155 286.3);
Tailwind
colors: {
custom: {
50: '#b9adfa',
500: '#968bf7',
950: '#000000',
},
}SCSS
$custom: #968bf7; $custom-light: #b9adfa; $custom-dark: #000000;
JSON
{
"hex": "#968bf7",
"rgb": {
"r": 150,
"g": 139,
"b": 247
},
"hsl": {
"h": 246.111,
"s": 87.097,
"l": 75.686
},
"oklch": {
"l": 0.69321,
"c": 0.15523,
"h": 286.3
},
"luminance": 0.31665
}Semantic roles & 50–950 ramp
primary
#968BF7
secondary
#F2F5D6
accent
#E402CD
background
#FBFAFF
surface
#F6F4FF
border
#D0CED7
text
#121017
muted
#817F85