#7C5FF2#7C5FF2
#7C5FF2 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 59.4% C 0.211 H 287.2°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).
Color values
| HEX | #7C5FF2 |
|---|---|
| RGB | rgb(124, 95, 242) |
| HSL | hsl(252, 85%, 66%) |
| HSV | hsv(252, 61%, 95%) |
| CMYK | cmyk(48.8%, 60.7%, 0%, 5.1%) |
| CIE-LAB | lab(50.55, 47.54, -70.24) |
| CIE-LCH | lch(50.55, 84.81, 304.09°) |
| OKLab | oklab(59.37% 0.0624 -0.2011) |
| OKLCH | oklch(59.37% 0.211 287.2) |
| XYZ | xyz(28.4267, 18.8790, 86.1334) |
| Luminance | 0.1888 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 2.55
Purpley
#8756E4
ΔE00 3.80
Light Indigo
#6D5ACF
ΔE00 5.84
Dark Periwinkle
#665FD1
ΔE00 6.01
Slate Blue
#6A5ACD
ΔE00 6.31
Lighter Purple
#A55AF4
ΔE00 7.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C5FF2 #D5F25F
analogous
#5F8BF2 #7C5FF2 #C55FF2
triadic
#7C5FF2 #F27C5F #5FF27C
tetradic
#7C5FF2 #F25F8B #D5F25F #5FF2C5
square
#7C5FF2 #F25F8B #D5F25F #5FF2C5
split-complementary
#7C5FF2 #F2C55F #8BF25F
monochromatic
#3410C6 #4E26ED #7C5FF2 #AA98F7 #D9D0FB
Accessibility & contrast
On white
4.40
#7C5FF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.78
#7C5FF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C5FF2
4.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C5FF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C5FF2 | 1.00 | 4.40 | 4.78 | 4.78 |
| #FFFFFF | 4.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#0074EF
Tritanopia (blue-blind)
#5382A0
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #7c5ff2; /* rgb */ color: rgb(124, 95, 242); /* oklch */ color: oklch(59.4% 0.211 287.2);
Tailwind
colors: {
custom: {
50: '#aa8ef7',
500: '#7c5ff2',
950: '#000000',
},
}SCSS
$custom: #7c5ff2; $custom-light: #aa8ef7; $custom-dark: #000000;
JSON
{
"hex": "#7c5ff2",
"rgb": {
"r": 124,
"g": 95,
"b": 242
},
"hsl": {
"h": 251.837,
"s": 84.971,
"l": 66.078
},
"oklch": {
"l": 0.59371,
"c": 0.21052,
"h": 287.2
},
"luminance": 0.1888
}Semantic roles & 50–950 ramp
primary
#7C5FF2
secondary
#E5EFBE
accent
#E104B6
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110C17
muted
#807D85