#917FCC#917FCC
#917FCC is a light, moderate violet. Relative luminance 0.256; OKLCH L 64.4% C 0.114 H 293.7°. Best body text is #000000 at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #917FCC |
|---|---|
| RGB | rgb(145, 127, 204) |
| HSL | hsl(254, 43%, 65%) |
| HSV | hsv(254, 38%, 80%) |
| CMYK | cmyk(28.9%, 37.7%, 0%, 20%) |
| CIE-LAB | lab(57.61, 23.74, -37.46) |
| CIE-LCH | lch(57.61, 44.35, 302.36°) |
| OKLab | oklab(64.4% 0.0459 -0.1045) |
| OKLCH | oklch(64.4% 0.114 293.7) |
| XYZ | xyz(30.1628, 25.5577, 60.4590) |
| Luminance | 0.2556 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 5.74
Perrywinkle
#8F8CE7
ΔE00 6.29
Deep Lilac
#966EBD
ΔE00 6.43
Wisteria
#A87DC2
ΔE00 6.85
Lavender Blue
#8B88F8
ΔE00 8.19
Periwinkle (survey)
#8E82FE
ΔE00 8.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#917FCC #BACC7F
analogous
#7F93CC #917FCC #B87FCC
triadic
#917FCC #CC917F #7FCC91
tetradic
#917FCC #CC7F93 #BACC7F #7FCCB8
square
#917FCC #CC7F93 #BACC7F #7FCCB8
split-complementary
#917FCC #CCB87F #93CC7F
monochromatic
#503B95 #6B53BB #917FCC #B7ABDD #DCD7EF
Accessibility & contrast
On white
3.44
#917FCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.11
#917FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #917FCC
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##917FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##917FCC | 1.00 | 3.44 | 6.11 | 6.11 |
| #FFFFFF | 3.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A8BCF
Deuteranopia (green-blind)
#6C89CA
Tritanopia (blue-blind)
#848D9C
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #917fcc; /* rgb */ color: rgb(145, 127, 204); /* oklch */ color: oklch(64.4% 0.114 293.7);
Tailwind
colors: {
custom: {
50: '#b3a4dc',
500: '#917fcc',
950: '#000000',
},
}SCSS
$custom: #917fcc; $custom-light: #b3a4dc; $custom-dark: #000000;
JSON
{
"hex": "#917fcc",
"rgb": {
"r": 145,
"g": 127,
"b": 204
},
"hsl": {
"h": 254.026,
"s": 43.017,
"l": 64.902
},
"oklch": {
"l": 0.64395,
"c": 0.11413,
"h": 293.7
},
"luminance": 0.25558
}Semantic roles & 50–950 ramp
primary
#917FCC
secondary
#DAE1C6
accent
#B62F97
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83