#997DC2#997DC2
#997DC2 is a light, moderate violet. Relative luminance 0.253; OKLCH L 64.3% C 0.105 H 302.2°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).
Color values
| HEX | #997DC2 |
|---|---|
| RGB | rgb(153, 125, 194) |
| HSL | hsl(264, 36%, 63%) |
| HSV | hsv(264, 36%, 76%) |
| CMYK | cmyk(21.1%, 35.6%, 0%, 23.9%) |
| CIE-LAB | lab(57.40, 24.83, -32.08) |
| CIE-LCH | lch(57.40, 40.56, 307.74°) |
| OKLab | oklab(64.26% 0.0559 -0.0888) |
| OKLCH | oklch(64.26% 0.105 302.2) |
| XYZ | xyz(30.2060, 25.3346, 54.3272) |
| Luminance | 0.2534 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.71
Deep Lilac
#966EBD
ΔE00 4.77
Soft Purple
#A66FB5
ΔE00 6.46
Mediumpurple
#9370DB
ΔE00 7.11
Pale Purple
#B790D4
ΔE00 7.52
Dark Lilac
#9C6DA5
ΔE00 7.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997DC2 #A6C27D
analogous
#7D83C2 #997DC2 #BC7DC2
triadic
#997DC2 #C2997D #7DC299
tetradic
#997DC2 #C27D83 #A6C27D #7DC2BC
square
#997DC2 #C27D83 #A6C27D #7DC2BC
split-complementary
#997DC2 #C2BC7D #83C27D
monochromatic
#5C3F86 #7853AE #997DC2 #BAA7D6 #DAD0E9
Accessibility & contrast
On white
3.46
#997DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.07
#997DC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997DC2
6.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997DC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997DC2 | 1.00 | 3.46 | 6.07 | 6.07 |
| #FFFFFF | 3.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.07 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.07 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D89C5
Deuteranopia (green-blind)
#738AC0
Tritanopia (blue-blind)
#928897
Achromatopsia (no color)
#8A8A8A
Design tokens & code
CSS
--color: #997dc2; /* rgb */ color: rgb(153, 125, 194); /* oklch */ color: oklch(64.3% 0.105 302.2);
Tailwind
colors: {
custom: {
50: '#b8a3d4',
500: '#997dc2',
950: '#000000',
},
}SCSS
$custom: #997dc2; $custom-light: #b8a3d4; $custom-dark: #000000;
JSON
{
"hex": "#997dc2",
"rgb": {
"r": 153,
"g": 125,
"b": 194
},
"hsl": {
"h": 264.348,
"s": 36.126,
"l": 62.549
},
"oklch": {
"l": 0.64258,
"c": 0.10497,
"h": 302.2
},
"luminance": 0.25335
}Semantic roles & 50–950 ramp
primary
#997DC2
secondary
#D0DAC1
accent
#AF367E
background
#FBFAFD
surface
#F6F3FA
border
#D0CDD3
text
#110F14
muted
#807F83