#997CDC#997CDC
#997CDC is a light, vivid violet. Relative luminance 0.264; OKLCH L 65.4% C 0.141 H 296.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #997CDC |
|---|---|
| RGB | rgb(153, 124, 220) |
| HSL | hsl(258, 58%, 67%) |
| HSV | hsv(258, 44%, 86%) |
| CMYK | cmyk(30.5%, 43.6%, 0%, 13.7%) |
| CIE-LAB | lab(58.37, 31.77, -45.23) |
| CIE-LCH | lch(58.37, 55.27, 305.09°) |
| OKLab | oklab(65.39% 0.0624 -0.1269) |
| OKLCH | oklch(65.39% 0.141 296.2) |
| XYZ | xyz(33.2596, 26.3545, 71.0309) |
| Luminance | 0.2636 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 3.66
Perrywinkle
#8F8CE7
ΔE00 6.36
Periwinkle (survey)
#8E82FE
ΔE00 6.52
Deep Lilac
#966EBD
ΔE00 6.72
Light Urple
#B36FF6
ΔE00 6.79
Lavender Blue
#8B88F8
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CDC #BFDC7C
analogous
#7C8FDC #997CDC #C97CDC
triadic
#997CDC #DC997C #7CDC99
tetradic
#997CDC #DC7C8F #BFDC7C #7CDCC9
square
#997CDC #DC7C8F #BFDC7C #7CDCC9
split-complementary
#997CDC #DCC97C #8FDC7C
monochromatic
#552FAF #734CCF #997CDC #BFACE9 #E4DDF6
Accessibility & contrast
On white
3.35
#997CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#997CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CDC
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CDC | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5F8DE0
Deuteranopia (green-blind)
#648BDA
Tritanopia (blue-blind)
#8B8DA1
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #997cdc; /* rgb */ color: rgb(153, 124, 220); /* oklch */ color: oklch(65.4% 0.141 296.2);
Tailwind
colors: {
custom: {
50: '#b9a2e7',
500: '#997cdc',
950: '#000000',
},
}SCSS
$custom: #997cdc; $custom-light: #b9a2e7; $custom-dark: #000000;
JSON
{
"hex": "#997cdc",
"rgb": {
"r": 153,
"g": 124,
"b": 220
},
"hsl": {
"h": 258.125,
"s": 57.831,
"l": 67.451
},
"oklch": {
"l": 0.65391,
"c": 0.1414,
"h": 296.2
},
"luminance": 0.26355
}Semantic roles & 50–950 ramp
primary
#997CDC
secondary
#E0E9CB
accent
#C52093
background
#FBFAFE
surface
#F6F3FC
border
#D0CDD5
text
#120F16
muted
#817F84