#918CD2#918CD2
#918CD2 is a light, moderate blue. Relative luminance 0.294; OKLCH L 67.2% C 0.103 H 286.6°. Best body text is #000000 at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #918CD2 |
|---|---|
| RGB | rgb(145, 140, 210) |
| HSL | hsl(244, 44%, 69%) |
| HSV | hsv(244, 33%, 82%) |
| CMYK | cmyk(31%, 33.3%, 0%, 17.6%) |
| CIE-LAB | lab(61.16, 17.72, -35.30) |
| CIE-LCH | lch(61.16, 39.50, 296.66°) |
| OKLab | oklab(67.19% 0.0292 -0.0983) |
| OKLCH | oklch(67.19% 0.103 286.6) |
| XYZ | xyz(32.6849, 29.4283, 64.9184) |
| Luminance | 0.2943 (WCAG relative) |
| Temperature | cool |
| Family | blue |
Closest named colors
Perrywinkle
#8F8CE7
ΔE00 3.94
Lavender Blue
#8B88F8
ΔE00 6.88
Periwinkle Blue
#8F99FB
ΔE00 7.76
Periwinkle (survey)
#8E82FE
ΔE00 8.08
Lavender
#B39DDB
ΔE00 8.15
Pale Purple
#B790D4
ΔE00 9.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#918CD2 #CDD28C
analogous
#8CAAD2 #918CD2 #B48CD2
triadic
#918CD2 #D2918C #8CD291
tetradic
#918CD2 #D28CAA #CDD28C #8CD2B4
square
#918CD2 #D28CAA #CDD28C #8CD2B4
split-complementary
#918CD2 #D2B48C #AAD28C
monochromatic
#4740A4 #6760C1 #918CD2 #BBB8E3 #E5E4F4
Accessibility & contrast
On white
3.05
#918CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.89
#918CD2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #918CD2
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##918CD2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##918CD2 | 1.00 | 3.05 | 6.89 | 6.89 |
| #FFFFFF | 3.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7895D5
Deuteranopia (green-blind)
#7692D0
Tritanopia (blue-blind)
#8199A5
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #918cd2; /* rgb */ color: rgb(145, 140, 210); /* oklch */ color: oklch(67.2% 0.103 286.6);
Tailwind
colors: {
custom: {
50: '#b3ade0',
500: '#918cd2',
950: '#000000',
},
}SCSS
$custom: #918cd2; $custom-light: #b3ade0; $custom-dark: #000000;
JSON
{
"hex": "#918cd2",
"rgb": {
"r": 145,
"g": 140,
"b": 210
},
"hsl": {
"h": 244.286,
"s": 43.75,
"l": 68.627
},
"oklch": {
"l": 0.67194,
"c": 0.10255,
"h": 286.6
},
"luminance": 0.29429
}Semantic roles & 50–950 ramp
primary
#918CD2
secondary
#E6E7D2
accent
#B72FAD
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#111015
muted
#807F83