#977FFE#977FFE
#977FFE is a light, vivid violet. Relative luminance 0.289; OKLCH L 67.7% C 0.182 H 289.3°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).
Color values
| HEX | #977FFE |
|---|---|
| RGB | rgb(151, 127, 254) |
| HSL | hsl(251, 98%, 75%) |
| HSV | hsv(251, 50%, 100%) |
| CMYK | cmyk(40.6%, 50%, 0%, 0.4%) |
| CIE-LAB | lab(60.70, 38.48, -60.40) |
| CIE-LCH | lch(60.70, 71.62, 302.50°) |
| OKLab | oklab(67.69% 0.0601 -0.1713) |
| OKLCH | oklch(67.69% 0.182 289.3) |
| XYZ | xyz(38.2363, 28.9126, 97.3128) |
| Luminance | 0.2891 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Periwinkle (survey)
#8E82FE
ΔE00 2.08
Lavender Blue
#8B88F8
ΔE00 3.98
Perrywinkle
#8F8CE7
ΔE00 5.68
Mediumpurple
#9370DB
ΔE00 6.65
Light Urple
#B36FF6
ΔE00 7.22
Cornflower
#6A79F7
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#977FFE #E6FE7F
analogous
#7FA6FE #977FFE #D77FFE
triadic
#977FFE #FE977F #7FFE97
tetradic
#977FFE #FE7FA6 #E6FE7F #7FFED7
square
#977FFE #FE7FA6 #E6FE7F #7FFED7
split-complementary
#977FFE #FED77F #A6FE7F
monochromatic
#3406FD #6642FE #977FFE #C8BCFE #E6E1FF
Accessibility & contrast
On white
3.10
#977FFE on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.78
#977FFE on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #977FFE
6.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##977FFE | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##977FFE | 1.00 | 3.10 | 6.78 | 6.78 |
| #FFFFFF | 3.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#4B8FFB
Tritanopia (blue-blind)
#7A99B3
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #977ffe; /* rgb */ color: rgb(151, 127, 254); /* oklch */ color: oklch(67.7% 0.182 289.3);
Tailwind
colors: {
custom: {
50: '#baa4ff',
500: '#977ffe',
950: '#000000',
},
}SCSS
$custom: #977ffe; $custom-light: #baa4ff; $custom-dark: #000000;
JSON
{
"hex": "#977ffe",
"rgb": {
"r": 151,
"g": 127,
"b": 254
},
"hsl": {
"h": 251.339,
"s": 98.45,
"l": 74.706
},
"oklch": {
"l": 0.67688,
"c": 0.18153,
"h": 289.3
},
"luminance": 0.28914
}Semantic roles & 50–950 ramp
primary
#977FFE
secondary
#F0F7D4
accent
#E600BA
background
#FBFAFF
surface
#F7F4FF
border
#D0CED7
text
#120F18
muted
#817F86