#7F5FE5#7F5FE5
#7F5FE5 is a mid, vivid violet. Relative luminance 0.184; OKLCH L 58.7% C 0.194 H 290.1°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7F5FE5 |
|---|---|
| RGB | rgb(127, 95, 229) |
| HSL | hsl(254, 72%, 64%) |
| HSV | hsv(254, 59%, 90%) |
| CMYK | cmyk(44.5%, 58.5%, 0%, 10.2%) |
| CIE-LAB | lab(49.92, 44.47, -63.94) |
| CIE-LCH | lch(49.92, 77.88, 304.82°) |
| OKLab | oklab(58.7% 0.0668 -0.1825) |
| OKLCH | oklch(58.7% 0.194 290.1) |
| XYZ | xyz(26.9835, 18.3526, 76.2342) |
| Luminance | 0.1835 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.77
Mediumslateblue
#7B68EE
ΔE00 3.15
Light Indigo
#6D5ACF
ΔE00 4.73
Slate Blue
#6A5ACD
ΔE00 5.28
Dark Periwinkle
#665FD1
ΔE00 5.32
Mediumpurple
#9370DB
ΔE00 6.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F5FE5 #C5E55F
analogous
#5F82E5 #7F5FE5 #C25FE5
triadic
#7F5FE5 #E57F5F #5FE57F
tetradic
#7F5FE5 #E55F82 #C5E55F #5FE5C2
square
#7F5FE5 #E55F82 #C5E55F #5FE5C2
split-complementary
#7F5FE5 #E5C25F #82E55F
monochromatic
#3F1CAD #552ADC #7F5FE5 #A994EE #D3C8F6
Accessibility & contrast
On white
4.50
#7F5FE5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#7F5FE5 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7F5FE5
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F5FE5 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7F5FE5 | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0079E9
Deuteranopia (green-blind)
#0074E2
Tritanopia (blue-blind)
#607D99
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7f5fe5; /* rgb */ color: rgb(127, 95, 229); /* oklch */ color: oklch(58.7% 0.194 290.1);
Tailwind
colors: {
custom: {
50: '#ab8dee',
500: '#7f5fe5',
950: '#000000',
},
}SCSS
$custom: #7f5fe5; $custom-light: #ab8dee; $custom-dark: #000000;
JSON
{
"hex": "#7f5fe5",
"rgb": {
"r": 127,
"g": 95,
"b": 229
},
"hsl": {
"h": 254.328,
"s": 72.043,
"l": 63.529
},
"oklch": {
"l": 0.58696,
"c": 0.19429,
"h": 290.1
},
"luminance": 0.18354
}Semantic roles & 50–950 ramp
primary
#7F5FE5
secondary
#DCE8B8
accent
#D411A6
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84