#997CFC#997CFC
#997CFC is a light, vivid violet. Relative luminance 0.282; OKLCH L 67.2% C 0.183 H 291.1°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).
Color values
| HEX | #997CFC |
|---|---|
| RGB | rgb(153, 124, 252) |
| HSL | hsl(254, 96%, 74%) |
| HSV | hsv(254, 51%, 99%) |
| CMYK | cmyk(39.3%, 50.8%, 0%, 1.2%) |
| CIE-LAB | lab(60.08, 40.11, -60.29) |
| CIE-LCH | lch(60.08, 72.41, 303.64°) |
| OKLab | oklab(67.23% 0.0659 -0.1709) |
| OKLCH | oklch(67.23% 0.183 291.1) |
| XYZ | xyz(37.9104, 28.2148, 95.5252) |
| Luminance | 0.2822 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 3.01
Lavender Blue
#8B88F8
ΔE00 4.93
Mediumpurple
#9370DB
ΔE00 5.89
Light Urple
#B36FF6
ΔE00 6.28
Perrywinkle
#8F8CE7
ΔE00 6.38
Mediumslateblue
#7B68EE
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CFC #DFFC7C
analogous
#7C9FFC #997CFC #D97CFC
triadic
#997CFC #FC997C #7CFC99
tetradic
#997CFC #FC7C9F #DFFC7C #7CFCD9
square
#997CFC #FC7C9F #DFFC7C #7CFCD9
split-complementary
#997CFC #FCD97C #9FFC7C
monochromatic
#3D06F8 #6A40FB #997CFC #C8B8FD #E8E1FE
Accessibility & contrast
On white
3.16
#997CFC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.64
#997CFC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CFC
6.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CFC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CFC | 1.00 | 3.16 | 6.64 | 6.64 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4693FF
Deuteranopia (green-blind)
#4A8EF9
Tritanopia (blue-blind)
#7F96B0
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #997cfc; /* rgb */ color: rgb(153, 124, 252); /* oklch */ color: oklch(67.2% 0.183 291.1);
Tailwind
colors: {
custom: {
50: '#bca2fe',
500: '#997cfc',
950: '#000000',
},
}SCSS
$custom: #997cfc; $custom-light: #bca2fe; $custom-dark: #000000;
JSON
{
"hex": "#997cfc",
"rgb": {
"r": 153,
"g": 124,
"b": 252
},
"hsl": {
"h": 253.594,
"s": 95.522,
"l": 73.725
},
"oklch": {
"l": 0.67228,
"c": 0.18319,
"h": 291.1
},
"luminance": 0.28216
}Semantic roles & 50–950 ramp
primary
#997CFC
secondary
#EFF7D4
accent
#E600B2
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86