#7F3CE3#7F3CE3
#7F3CE3 is a mid, highly saturated violet. Relative luminance 0.133; OKLCH L 53.8% C 0.234 H 295.7°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7F3CE3 |
|---|---|
| RGB | rgb(127, 60, 227) |
| HSL | hsl(264, 75%, 56%) |
| HSV | hsv(264, 74%, 89%) |
| CMYK | cmyk(44.1%, 73.6%, 0%, 11%) |
| CIE-LAB | lab(43.20, 61.88, -73.74) |
| CIE-LCH | lch(43.20, 96.26, 310.00°) |
| OKLab | oklab(53.81% 0.1016 -0.2112) |
| OKLCH | oklch(53.81% 0.234 295.7) |
| XYZ | xyz(24.2297, 13.2892, 73.9466) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 2.37
Blueviolet
#8A2BE2
ΔE00 2.78
Burple
#6832E3
ΔE00 4.17
Purpleish Blue
#6140EF
ΔE00 4.49
Violet
#8F00FF
ΔE00 5.01
Purpley Blue
#5F34E7
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F3CE3 #A0E33C
analogous
#3C4DE3 #7F3CE3 #D33CE3
triadic
#7F3CE3 #E37F3C #3CE37F
tetradic
#7F3CE3 #E33C4D #A0E33C #3CE3D3
square
#7F3CE3 #E33C4D #A0E33C #3CE3D3
split-complementary
#7F3CE3 #E3D33C #4DE33C
monochromatic
#461590 #601CC5 #7F3CE3 #A272EB #C5A7F2
Accessibility & contrast
On white
5.74
#7F3CE3 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#7F3CE3 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F3CE3
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F3CE3 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F3CE3 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0067E8
Deuteranopia (green-blind)
#0064E0
Tritanopia (blue-blind)
#63688D
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #7f3ce3; /* rgb */ color: rgb(127, 60, 227); /* oklch */ color: oklch(53.8% 0.234 295.7);
Tailwind
colors: {
custom: {
50: '#ac78ed',
500: '#7f3ce3',
950: '#000000',
},
}SCSS
$custom: #7f3ce3; $custom-light: #ac78ed; $custom-dark: #000000;
JSON
{
"hex": "#7f3ce3",
"rgb": {
"r": 127,
"g": 60,
"b": 227
},
"hsl": {
"h": 264.072,
"s": 74.888,
"l": 56.275
},
"oklch": {
"l": 0.53811,
"c": 0.23434,
"h": 295.7
},
"luminance": 0.1329
}Semantic roles & 50–950 ramp
primary
#7F3CE3
secondary
#C4E09B
accent
#F236A6
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110916
muted
#807B84