#997FCF#997FCF
#997FCF is a light, moderate violet. Relative luminance 0.265; OKLCH L 65.3% C 0.119 H 298.0°. Best body text is #000000 at 6.29:1 contrast (WCAG AA passes).
Color values
| HEX | #997FCF |
|---|---|
| RGB | rgb(153, 127, 207) |
| HSL | hsl(260, 45%, 65%) |
| HSV | hsv(260, 39%, 81%) |
| CMYK | cmyk(26.1%, 38.6%, 0%, 18.8%) |
| CIE-LAB | lab(58.47, 26.81, -37.77) |
| CIE-LCH | lch(58.47, 46.32, 305.36°) |
| OKLab | oklab(65.26% 0.0559 -0.1052) |
| OKLCH | oklch(65.26% 0.119 298) |
| XYZ | xyz(31.9861, 26.4558, 62.4407) |
| Luminance | 0.2646 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Wisteria
#A87DC2
ΔE00 5.39
Mediumpurple
#9370DB
ΔE00 5.54
Deep Lilac
#966EBD
ΔE00 5.87
Perrywinkle
#8F8CE7
ΔE00 7.02
Pale Purple
#B790D4
ΔE00 7.76
Soft Purple
#A66FB5
ΔE00 8.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FCF #B5CF7F
analogous
#7F8DCF #997FCF #C17FCF
triadic
#997FCF #CF997F #7FCF99
tetradic
#997FCF #CF7F8D #B5CF7F #7FCFC1
square
#997FCF #CF7F8D #B5CF7F #7FCFC1
split-complementary
#997FCF #CFC17F #8DCF7F
monochromatic
#593A9A #7652BE #997FCF #BCACE0 #E0D8F0
Accessibility & contrast
On white
3.34
#997FCF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.29
#997FCF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FCF
6.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FCF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FCF | 1.00 | 3.34 | 6.29 | 6.29 |
| #FFFFFF | 3.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A8DD2
Deuteranopia (green-blind)
#6E8CCD
Tritanopia (blue-blind)
#8E8D9D
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #997fcf; /* rgb */ color: rgb(153, 127, 207); /* oklch */ color: oklch(65.3% 0.119 298.0);
Tailwind
colors: {
custom: {
50: '#b8a4de',
500: '#997fcf',
950: '#000000',
},
}SCSS
$custom: #997fcf; $custom-light: #b8a4de; $custom-dark: #000000;
JSON
{
"hex": "#997fcf",
"rgb": {
"r": 153,
"g": 127,
"b": 207
},
"hsl": {
"h": 259.5,
"s": 45.455,
"l": 65.49
},
"oklch": {
"l": 0.6526,
"c": 0.11918,
"h": 298
},
"luminance": 0.26456
}Semantic roles & 50–950 ramp
primary
#997FCF
secondary
#DAE2C8
accent
#B92D8B
background
#FBFAFD
surface
#F6F4FB
border
#D0CED4
text
#110F15
muted
#807F83