#997DCD#997DCD
#997DCD is a light, moderate violet. Relative luminance 0.258; OKLCH L 64.8% C 0.120 H 299.2°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #997DCD |
|---|---|
| RGB | rgb(153, 125, 205) |
| HSL | hsl(261, 44%, 65%) |
| HSV | hsv(261, 39%, 80%) |
| CMYK | cmyk(25.4%, 39%, 0%, 19.6%) |
| CIE-LAB | lab(57.89, 27.47, -37.54) |
| CIE-LCH | lch(57.89, 46.52, 306.19°) |
| OKLab | oklab(64.79% 0.0584 -0.1046) |
| OKLCH | oklch(64.79% 0.12 299.2) |
| XYZ | xyz(31.4874, 25.8471, 61.0759) |
| Luminance | 0.2585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 5.04
Deep Lilac
#966EBD
ΔE00 5.18
Mediumpurple
#9370DB
ΔE00 5.27
Perrywinkle
#8F8CE7
ΔE00 7.65
Soft Purple
#A66FB5
ΔE00 7.76
Pale Purple
#B790D4
ΔE00 7.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997DCD #B1CD7D
analogous
#7D89CD #997DCD #C17DCD
triadic
#997DCD #CD997D #7DCD99
tetradic
#997DCD #CD7D89 #B1CD7D #7DCDC1
square
#997DCD #CD7D89 #B1CD7D #7DCDC1
split-complementary
#997DCD #CDC17D #89CD7D
monochromatic
#5A3A96 #7651BC #997DCD #BCA9DE #DED5EF
Accessibility & contrast
On white
3.40
#997DCD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#997DCD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997DCD
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997DCD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997DCD | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#688BD0
Deuteranopia (green-blind)
#6D8ACB
Tritanopia (blue-blind)
#8F8A9B
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #997dcd; /* rgb */ color: rgb(153, 125, 205); /* oklch */ color: oklch(64.8% 0.120 299.2);
Tailwind
colors: {
custom: {
50: '#b8a3dc',
500: '#997dcd',
950: '#000000',
},
}SCSS
$custom: #997dcd; $custom-light: #b8a3dc; $custom-dark: #000000;
JSON
{
"hex": "#997dcd",
"rgb": {
"r": 153,
"g": 125,
"b": 205
},
"hsl": {
"h": 261,
"s": 44.444,
"l": 64.706
},
"oklch": {
"l": 0.64793,
"c": 0.11976,
"h": 299.2
},
"luminance": 0.25847
}Semantic roles & 50–950 ramp
primary
#997DCD
secondary
#D7E1C5
accent
#B82E87
background
#FBFAFD
surface
#F6F3FB
border
#D0CDD4
text
#110F15
muted
#807F83