#997FDA#997FDA
#997FDA is a light, vivid violet. Relative luminance 0.270; OKLCH L 65.8% C 0.134 H 295.6°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #997FDA |
|---|---|
| RGB | rgb(153, 127, 218) |
| HSL | hsl(257, 55%, 68%) |
| HSV | hsv(257, 42%, 85%) |
| CMYK | cmyk(29.8%, 41.7%, 0%, 14.5%) |
| CIE-LAB | lab(58.99, 29.54, -43.14) |
| CIE-LCH | lch(58.99, 52.29, 304.40°) |
| OKLab | oklab(65.82% 0.058 -0.1208) |
| OKLCH | oklch(65.82% 0.134 295.6) |
| XYZ | xyz(33.3780, 27.0126, 69.7715) |
| Luminance | 0.2701 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumpurple
#9370DB
ΔE00 4.60
Perrywinkle
#8F8CE7
ΔE00 5.79
Periwinkle (survey)
#8E82FE
ΔE00 6.69
Deep Lilac
#966EBD
ΔE00 7.02
Lavender Blue
#8B88F8
ΔE00 7.04
Wisteria
#A87DC2
ΔE00 7.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997FDA #C0DA7F
analogous
#7F92DA #997FDA #C77FDA
triadic
#997FDA #DA997F #7FDA99
tetradic
#997FDA #DA7F92 #C0DA7F #7FDAC7
square
#997FDA #DA7F92 #C0DA7F #7FDAC7
split-complementary
#997FDA #DAC77F #92DA7F
monochromatic
#5532AD #7350CC #997FDA #BFAEE8 #E5DEF5
Accessibility & contrast
On white
3.28
#997FDA on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.40
#997FDA on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997FDA
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997FDA | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997FDA | 1.00 | 3.28 | 6.40 | 6.40 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.40 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.40 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#648FDD
Deuteranopia (green-blind)
#688DD8
Tritanopia (blue-blind)
#8B8FA2
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #997fda; /* rgb */ color: rgb(153, 127, 218); /* oklch */ color: oklch(65.8% 0.134 295.6);
Tailwind
colors: {
custom: {
50: '#b9a4e6',
500: '#997fda',
950: '#000000',
},
}SCSS
$custom: #997fda; $custom-light: #b9a4e6; $custom-dark: #000000;
JSON
{
"hex": "#997fda",
"rgb": {
"r": 153,
"g": 127,
"b": 218
},
"hsl": {
"h": 257.143,
"s": 55.152,
"l": 67.647
},
"oklch": {
"l": 0.65823,
"c": 0.13402,
"h": 295.6
},
"luminance": 0.27013
}Semantic roles & 50–950 ramp
primary
#997FDA
secondary
#E0E9CC
accent
#C32395
background
#FBFAFE
surface
#F6F4FC
border
#D0CED5
text
#120F16
muted
#817F84