#7F5CFD#7F5CFD
#7F5CFD is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.0% C 0.227 H 287.5°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5CFD |
|---|---|
| RGB | rgb(127, 92, 253) |
| HSL | hsl(253, 98%, 68%) |
| HSV | hsv(253, 64%, 99%) |
| CMYK | cmyk(49.8%, 63.6%, 0%, 0.8%) |
| CIE-LAB | lab(50.99, 52.84, -75.64) |
| CIE-LCH | lch(50.99, 92.27, 304.94°) |
| OKLab | oklab(60.01% 0.0683 -0.2169) |
| OKLCH | oklch(60.01% 0.227 287.5) |
| XYZ | xyz(30.3040, 19.2567, 95.0296) |
| Luminance | 0.1926 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.60
Purpley
#8756E4
ΔE00 4.17
Lighter Purple
#A55AF4
ΔE00 6.62
Light Indigo
#6D5ACF
ΔE00 7.11
Dark Periwinkle
#665FD1
ΔE00 7.39
Slate Blue
#6A5ACD
ΔE00 7.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5CFD #DAFD5C
analogous
#5C8AFD #7F5CFD #CF5CFD
triadic
#7F5CFD #FD7F5C #5CFD7F
tetradic
#7F5CFD #FD5C8A #DAFD5C #5CFDCF
square
#7F5CFD #FD5C8A #DAFD5C #5CFDCF
split-complementary
#7F5CFD #FDCF5C #8AFD5C
monochromatic
#3203DC #5020FC #7F5CFD #AE98FE #DED5FE
Accessibility & contrast
On white
4.33
#7F5CFD on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.85
#7F5CFD on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5CFD
4.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5CFD | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5CFD | 1.00 | 4.33 | 4.85 | 4.85 |
| #FFFFFF | 4.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.85 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.85 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007DFF
Deuteranopia (green-blind)
#0075FA
Tritanopia (blue-blind)
#5183A4
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7f5cfd; /* rgb */ color: rgb(127, 92, 253); /* oklch */ color: oklch(60.0% 0.227 287.5);
Tailwind
colors: {
custom: {
50: '#ae8cff',
500: '#7f5cfd',
950: '#000000',
},
}SCSS
$custom: #7f5cfd; $custom-light: #ae8cff; $custom-dark: #000000;
JSON
{
"hex": "#7f5cfd",
"rgb": {
"r": 127,
"g": 92,
"b": 253
},
"hsl": {
"h": 253.043,
"s": 97.576,
"l": 67.647
},
"oklch": {
"l": 0.60005,
"c": 0.22736,
"h": 287.5
},
"luminance": 0.19258
}Semantic roles & 50–950 ramp
primary
#7F5CFD
secondary
#E9F3C1
accent
#E600B4
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C18
muted
#807D86