#997CFD#997CFD
#997CFD is a light, vivid violet. Relative luminance 0.283; OKLCH L 67.3% C 0.184 H 291.0°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).
Color values
| HEX | #997CFD |
|---|---|
| RGB | rgb(153, 124, 253) |
| HSL | hsl(253, 97%, 74%) |
| HSV | hsv(253, 51%, 99%) |
| CMYK | cmyk(39.5%, 51%, 0%, 0.8%) |
| CIE-LAB | lab(60.14, 40.38, -60.74) |
| CIE-LCH | lch(60.14, 72.94, 303.61°) |
| OKLab | oklab(67.29% 0.066 -0.1723) |
| OKLCH | oklch(67.29% 0.184 291) |
| XYZ | xyz(38.0693, 28.2784, 96.3619) |
| Luminance | 0.2828 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.97
Lavender Blue
#8B88F8
ΔE00 4.92
Mediumpurple
#9370DB
ΔE00 6.00
Light Urple
#B36FF6
ΔE00 6.32
Perrywinkle
#8F8CE7
ΔE00 6.44
Mediumslateblue
#7B68EE
ΔE00 7.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#997CFD #E0FD7C
analogous
#7CA0FD #997CFD #D97CFD
triadic
#997CFD #FD997C #7CFD99
tetradic
#997CFD #FD7CA0 #E0FD7C #7CFDD9
square
#997CFD #FD7CA0 #E0FD7C #7CFDD9
split-complementary
#997CFD #FDD97C #A0FD7C
monochromatic
#3B04FB #6A40FC #997CFD #C8B8FE #E8E1FF
Accessibility & contrast
On white
3.16
#997CFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.66
#997CFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #997CFD
6.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##997CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##997CFD | 1.00 | 3.16 | 6.66 | 6.66 |
| #FFFFFF | 3.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4593FF
Deuteranopia (green-blind)
#498EFA
Tritanopia (blue-blind)
#7E97B1
Achromatopsia (no color)
#919191
Design tokens & code
CSS
--color: #997cfd; /* rgb */ color: rgb(153, 124, 253); /* oklch */ color: oklch(67.3% 0.184 291.0);
Tailwind
colors: {
custom: {
50: '#bca2ff',
500: '#997cfd',
950: '#000000',
},
}SCSS
$custom: #997cfd; $custom-light: #bca2ff; $custom-dark: #000000;
JSON
{
"hex": "#997cfd",
"rgb": {
"r": 153,
"g": 124,
"b": 253
},
"hsl": {
"h": 253.488,
"s": 96.992,
"l": 73.922
},
"oklch": {
"l": 0.67289,
"c": 0.18447,
"h": 291
},
"luminance": 0.28279
}Semantic roles & 50–950 ramp
primary
#997CFD
secondary
#EFF7D4
accent
#E600B2
background
#FBFAFF
surface
#F7F3FF
border
#D0CDD7
text
#120F18
muted
#817F86