#968CDF#968CDF
#968CDF is a light, vivid blue. Relative luminance 0.306; OKLCH L 68.2% C 0.121 H 288.3°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #968CDF |
|---|---|
| RGB | rgb(150, 140, 223) |
| HSL | hsl(247, 56%, 71%) |
| HSV | hsv(247, 37%, 87%) |
| CMYK | cmyk(32.7%, 37.2%, 0%, 12.5%) |
| CIE-LAB | lab(62.14, 22.49, -40.99) |
| CIE-LCH | lch(62.14, 46.76, 298.76°) |
| OKLab | oklab(68.24% 0.0379 -0.1146) |
| OKLCH | oklch(68.24% 0.121 288.3) |
| XYZ | xyz(35.2715, 30.5670, 73.8394) |
| Luminance | 0.3057 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 2.44
Lavender Blue
#8B88F8
ΔE00 5.18
Periwinkle (survey)
#8E82FE
ΔE00 6.22
Periwinkle Blue
#8F99FB
ΔE00 6.63
Lavender
#B39DDB
ΔE00 8.24
Mediumpurple
#9370DB
ΔE00 8.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#968CDF #D5DF8C
analogous
#8CABDF #968CDF #BF8CDF
triadic
#968CDF #DF968C #8CDF96
tetradic
#968CDF #DF8CAB #D5DF8C #8CDFBF
square
#968CDF #DF8CAB #D5DF8C #8CDFBF
split-complementary
#968CDF #DFBF8C #ABDF8C
monochromatic
#4534BC #6A5CD2 #968CDF #C2BCEC #E9E7F8
Accessibility & contrast
On white
2.95
#968CDF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.11
#968CDF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #968CDF
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##968CDF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##968CDF | 1.00 | 2.95 | 7.11 | 7.11 |
| #FFFFFF | 2.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7398E2
Deuteranopia (green-blind)
#7294DD
Tritanopia (blue-blind)
#849BAB
Achromatopsia (no color)
#969696
Design tokens & code
CSS
--color: #968cdf; /* rgb */ color: rgb(150, 140, 223); /* oklch */ color: oklch(68.2% 0.121 288.3);
Tailwind
colors: {
custom: {
50: '#b7ade9',
500: '#968cdf',
950: '#000000',
},
}SCSS
$custom: #968cdf; $custom-light: #b7ade9; $custom-dark: #000000;
JSON
{
"hex": "#968cdf",
"rgb": {
"r": 150,
"g": 140,
"b": 223
},
"hsl": {
"h": 247.229,
"s": 56.463,
"l": 71.176
},
"oklch": {
"l": 0.68237,
"c": 0.12074,
"h": 288.3
},
"luminance": 0.30568
}Semantic roles & 50–950 ramp
primary
#968CDF
secondary
#ECEED8
accent
#C421B0
background
#FBFAFE
surface
#F6F4FD
border
#D0CED5
text
#111016
muted
#807F84