#997CD8#997CD8
#997CD8 is a light, vivid violet. Relative luminance 0.261; OKLCH L 65.2% C 0.136 H 297.0°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).
Color values
| HEX | #997CD8 |
|---|---|
| RGB | rgb(153, 124, 216) |
| HSL | hsl(259, 54%, 67%) |
| HSV | hsv(259, 43%, 85%) |
| CMYK | cmyk(29.2%, 42.6%, 0%, 15.3%) |
| CIE-LAB | lab(58.17, 30.77, -43.30) |
| CIE-LCH | lch(58.17, 53.11, 305.40°) |
| OKLab | oklab(65.18% 0.0618 -0.1213) |
| OKLCH | oklch(65.18% 0.136 297) |
| XYZ | xyz(32.7362, 26.1451, 68.2743) |
| Luminance | 0.2615 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.84
Deep Lilac
#966EBD
ΔE00 6.19
Perrywinkle
#8F8CE7
ΔE00 6.66
Wisteria
#A87DC2
ΔE00 6.73
Light Urple
#B36FF6
ΔE00 7.13
Periwinkle (survey)
#8E82FE
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CD8 #BBD87C
analogous
#7C8DD8 #997CD8 #C77CD8
triadic
#997CD8 #D8997C #7CD899
tetradic
#997CD8 #D87C8D #BBD87C #7CD8C7
square
#997CD8 #D87C8D #BBD87C #7CD8C7
split-complementary
#997CD8 #D8C77C #8DD87C
monochromatic
#5732A8 #744DCA #997CD8 #BEABE6 #E2DAF4
Accessibility & contrast
On white
3.37
#997CD8 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.23
#997CD8 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CD8
6.23:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CD8 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CD8 | 1.00 | 3.37 | 6.23 | 6.23 |
| #FFFFFF | 3.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.23 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.23 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#618CDB
Deuteranopia (green-blind)
#668BD6
Tritanopia (blue-blind)
#8C8CA0
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #997cd8; /* rgb */ color: rgb(153, 124, 216); /* oklch */ color: oklch(65.2% 0.136 297.0);
Tailwind
colors: {
custom: {
50: '#b9a2e4',
500: '#997cd8',
950: '#000000',
},
}SCSS
$custom: #997cd8; $custom-light: #b9a2e4; $custom-dark: #000000;
JSON
{
"hex": "#997cd8",
"rgb": {
"r": 153,
"g": 124,
"b": 216
},
"hsl": {
"h": 258.913,
"s": 54.118,
"l": 66.667
},
"oklch": {
"l": 0.65178,
"c": 0.13608,
"h": 297
},
"luminance": 0.26145
}Semantic roles & 50–950 ramp
primary
#997CD8
secondary
#DDE7C9
accent
#C22490
background
#FBFAFE
surface
#F6F3FC
border
#D0CDD5
text
#120F15
muted
#817F84