#7D54F2#7D54F2
#7D54F2 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 57.8% C 0.224 H 289.4°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7D54F2 |
|---|---|
| RGB | rgb(125, 84, 242) |
| HSL | hsl(256, 86%, 64%) |
| HSV | hsv(256, 65%, 95%) |
| CMYK | cmyk(48.3%, 65.3%, 0%, 5.1%) |
| CIE-LAB | lab(48.40, 53.72, -73.72) |
| CIE-LCH | lch(48.40, 91.22, 306.08°) |
| OKLab | oklab(57.84% 0.0745 -0.2113) |
| OKLCH | oklch(57.84% 0.224 289.4) |
| XYZ | xyz(27.6502, 17.1103, 85.8329) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.59
Mediumslateblue
#7B68EE
ΔE00 5.40
Light Indigo
#6D5ACF
ΔE00 5.56
Slate Blue
#6A5ACD
ΔE00 6.08
Purpleish Blue
#6140EF
ΔE00 6.53
Dark Periwinkle
#665FD1
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D54F2 #C9F254
analogous
#547AF2 #7D54F2 #CC54F2
triadic
#7D54F2 #F27D54 #54F27D
tetradic
#7D54F2 #F2547A #C9F254 #54F2CC
square
#7D54F2 #F2547A #C9F254 #54F2CC
split-complementary
#7D54F2 #F2CC54 #7AF254
monochromatic
#3C0EBD #521BEE #7D54F2 #A88DF6 #D3C6FB
Accessibility & contrast
On white
4.75
#7D54F2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#7D54F2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D54F2
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D54F2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D54F2 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0076F7
Deuteranopia (green-blind)
#006FEF
Tritanopia (blue-blind)
#557B9C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7d54f2; /* rgb */ color: rgb(125, 84, 242); /* oklch */ color: oklch(57.8% 0.224 289.4);
Tailwind
colors: {
custom: {
50: '#ac87f7',
500: '#7d54f2',
950: '#000000',
},
}SCSS
$custom: #7d54f2; $custom-light: #ac87f7; $custom-dark: #000000;
JSON
{
"hex": "#7d54f2",
"rgb": {
"r": 125,
"g": 84,
"b": 242
},
"hsl": {
"h": 255.57,
"s": 85.87,
"l": 63.922
},
"oklch": {
"l": 0.57836,
"c": 0.22404,
"h": 289.4
},
"luminance": 0.17111
}Semantic roles & 50–950 ramp
primary
#7D54F2
secondary
#DEEDB5
accent
#E203A8
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85