#997FCC#997FCC
#997FCC is a light, moderate violet. Relative luminance 0.263; OKLCH L 65.1% C 0.115 H 298.7°. Best body text is #000000 at 6.26:1 contrast (WCAG AA passes).
Color values
| HEX | #997FCC |
|---|---|
| RGB | rgb(153, 127, 204) |
| HSL | hsl(260, 43%, 65%) |
| HSV | hsv(260, 38%, 80%) |
| CMYK | cmyk(25%, 37.7%, 0%, 20%) |
| CIE-LAB | lab(58.33, 26.07, -36.29) |
| CIE-LCH | lch(58.33, 44.69, 305.69°) |
| OKLab | oklab(65.11% 0.0553 -0.101) |
| OKLCH | oklch(65.11% 0.115 298.7) |
| XYZ | xyz(31.6228, 26.3105, 60.5275) |
| Luminance | 0.2631 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 4.97
Deep Lilac
#966EBD
ΔE00 5.65
Mediumpurple
#9370DB
ΔE00 5.93
Perrywinkle
#8F8CE7
ΔE00 7.45
Pale Purple
#B790D4
ΔE00 7.56
Soft Purple
#A66FB5
ΔE00 7.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FCC #B2CC7F
analogous
#7F8BCC #997FCC #C07FCC
triadic
#997FCC #CC997F #7FCC99
tetradic
#997FCC #CC7F8B #B2CC7F #7FCCC0
square
#997FCC #CC7F8B #B2CC7F #7FCCC0
split-complementary
#997FCC #CCC07F #8BCC7F
monochromatic
#5A3B95 #7653BB #997FCC #BCABDD #DFD7EF
Accessibility & contrast
On white
3.35
#997FCC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.26
#997FCC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FCC
6.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FCC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FCC | 1.00 | 3.35 | 6.26 | 6.26 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B8CCF
Deuteranopia (green-blind)
#708CCA
Tritanopia (blue-blind)
#8F8C9C
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #997fcc; /* rgb */ color: rgb(153, 127, 204); /* oklch */ color: oklch(65.1% 0.115 298.7);
Tailwind
colors: {
custom: {
50: '#b8a4dc',
500: '#997fcc',
950: '#000000',
},
}SCSS
$custom: #997fcc; $custom-light: #b8a4dc; $custom-dark: #000000;
JSON
{
"hex": "#997fcc",
"rgb": {
"r": 153,
"g": 127,
"b": 204
},
"hsl": {
"h": 260.26,
"s": 43.017,
"l": 64.902
},
"oklch": {
"l": 0.65111,
"c": 0.11512,
"h": 298.7
},
"luminance": 0.26311
}Semantic roles & 50–950 ramp
primary
#997FCC
secondary
#D8E1C6
accent
#B62F89
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83