#997FC2#997FC2
#997FC2 is a light, moderate violet. Relative luminance 0.258; OKLCH L 64.6% C 0.102 H 301.5°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #997FC2 |
|---|---|
| RGB | rgb(153, 127, 194) |
| HSL | hsl(263, 35%, 63%) |
| HSV | hsv(263, 35%, 76%) |
| CMYK | cmyk(21.1%, 34.5%, 0%, 23.9%) |
| CIE-LAB | lab(57.89, 23.68, -31.31) |
| CIE-LCH | lch(57.89, 39.26, 307.09°) |
| OKLab | oklab(64.63% 0.053 -0.0866) |
| OKLCH | oklch(64.63% 0.102 301.5) |
| XYZ | xyz(30.4618, 25.8460, 54.4125) |
| Luminance | 0.2585 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 3.89
Deep Lilac
#966EBD
ΔE00 5.44
Soft Purple
#A66FB5
ΔE00 6.94
Pale Purple
#B790D4
ΔE00 7.20
Mediumpurple
#9370DB
ΔE00 7.59
Heather
#A484AC
ΔE00 7.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FC2 #A8C27F
analogous
#7F86C2 #997FC2 #BB7FC2
triadic
#997FC2 #C2997F #7FC299
tetradic
#997FC2 #C27F86 #A8C27F #7FC2BB
square
#997FC2 #C27F86 #A8C27F #7FC2BB
split-complementary
#997FC2 #C2BB7F #86C27F
monochromatic
#5B4087 #7856AE #997FC2 #BAA8D6 #DBD2EA
Accessibility & contrast
On white
3.40
#997FC2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#997FC2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FC2
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FC2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FC2 | 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)
#708BC5
Deuteranopia (green-blind)
#758BC0
Tritanopia (blue-blind)
#928A98
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #997fc2; /* rgb */ color: rgb(153, 127, 194); /* oklch */ color: oklch(64.6% 0.102 301.5);
Tailwind
colors: {
custom: {
50: '#b8a4d4',
500: '#997fc2',
950: '#000000',
},
}SCSS
$custom: #997fc2; $custom-light: #b8a4d4; $custom-dark: #000000;
JSON
{
"hex": "#997fc2",
"rgb": {
"r": 153,
"g": 127,
"b": 194
},
"hsl": {
"h": 263.284,
"s": 35.45,
"l": 62.941
},
"oklch": {
"l": 0.64632,
"c": 0.10158,
"h": 301.5
},
"luminance": 0.25846
}Semantic roles & 50–950 ramp
primary
#997FC2
secondary
#D1DAC2
accent
#AE3780
background
#FBFAFD
surface
#F6F4FA
border
#D0CED3
text
#110F14
muted
#807F83