#7F54DD#7F54DD
#7F54DD is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.4% C 0.199 H 293.4°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7F54DD |
|---|---|
| RGB | rgb(127, 84, 221) |
| HSL | hsl(259, 67%, 60%) |
| HSV | hsv(259, 62%, 87%) |
| CMYK | cmyk(42.5%, 62%, 0%, 13.3%) |
| CIE-LAB | lab(47.07, 48.38, -64.02) |
| CIE-LCH | lch(47.07, 80.25, 307.08°) |
| OKLab | oklab(56.44% 0.0792 -0.1827) |
| OKLCH | oklch(56.44% 0.199 293.4) |
| XYZ | xyz(24.9703, 16.0724, 70.1793) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.85
Light Indigo
#6D5ACF
ΔE00 4.06
Slate Blue
#6A5ACD
ΔE00 4.65
Dark Periwinkle
#665FD1
ΔE00 5.83
Bluish Purple
#703BE7
ΔE00 6.23
Iris
#6258C4
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F54DD #B2DD54
analogous
#546EDD #7F54DD #C354DD
triadic
#7F54DD #DD7F54 #54DD7F
tetradic
#7F54DD #DD546E #B2DD54 #54DDC3
square
#7F54DD #DD546E #B2DD54 #54DDC3
split-complementary
#7F54DD #DDC354 #6EDD54
monochromatic
#451E98 #5C28CB #7F54DD #A587E7 #CBBAF1
Accessibility & contrast
On white
4.98
#7F54DD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7F54DD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F54DD
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F54DD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F54DD | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#006DDA
Tritanopia (blue-blind)
#657391
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7f54dd; /* rgb */ color: rgb(127, 84, 221); /* oklch */ color: oklch(56.4% 0.199 293.4);
Tailwind
colors: {
custom: {
50: '#aa86e8',
500: '#7f54dd',
950: '#000000',
},
}SCSS
$custom: #7f54dd; $custom-light: #aa86e8; $custom-dark: #000000;
JSON
{
"hex": "#7f54dd",
"rgb": {
"r": 127,
"g": 84,
"b": 221
},
"hsl": {
"h": 258.832,
"s": 66.829,
"l": 59.804
},
"oklch": {
"l": 0.56441,
"c": 0.19915,
"h": 293.4
},
"luminance": 0.16073
}Semantic roles & 50–950 ramp
primary
#7F54DD
secondary
#D0E1AC
accent
#EA3EB4
background
#FBF8FE
surface
#F6EFFD
border
#D0CAD5
text
#110B16
muted
#807C84