#7F2AC0#7F2AC0
#7F2AC0 is a mid, highly saturated violet. Relative luminance 0.100; OKLCH L 49.1% C 0.217 H 305.2°. Best body text is #FFFFFF at 7.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2AC0 |
|---|---|
| RGB | rgb(127, 42, 192) |
| HSL | hsl(274, 64%, 46%) |
| HSV | hsv(274, 78%, 75%) |
| CMYK | cmyk(33.9%, 78.1%, 0%, 24.7%) |
| CIE-LAB | lab(37.80, 60.95, -62.35) |
| CIE-LCH | lch(37.80, 87.19, 314.35°) |
| OKLab | oklab(49.14% 0.1251 -0.1776) |
| OKLCH | oklch(49.14% 0.217 305.2) |
| XYZ | xyz(19.0926, 9.9738, 50.7783) |
| Luminance | 0.0997 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.00
Blueviolet
#8A2BE2
ΔE00 4.97
Darkorchid
#9932CC
ΔE00 5.38
Purple (survey)
#7E1E9C
ΔE00 6.01
Purple Blue
#5D21D0
ΔE00 6.14
Burple
#6832E3
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2AC0 #6BC02A
analogous
#342AC0 #7F2AC0 #C02AB6
triadic
#7F2AC0 #C07F2A #2AC07F
tetradic
#7F2AC0 #C0342A #6BC02A #2AB6C0
square
#7F2AC0 #C0342A #6BC02A #2AB6C0
split-complementary
#7F2AC0 #B6C02A #2AC034
monochromatic
#3D145C #5E1F8E #7F2AC0 #9D4FD8 #B981E3
Accessibility & contrast
On white
7.01
#7F2AC0 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#7F2AC0 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2AC0
7.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2AC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2AC0 | 1.00 | 7.01 | 2.99 | 7.01 |
| #FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#0059BD
Tritanopia (blue-blind)
#735175
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7f2ac0; /* rgb */ color: rgb(127, 42, 192); /* oklch */ color: oklch(49.1% 0.217 305.2);
Tailwind
colors: {
custom: {
50: '#aa6ed4',
500: '#7f2ac0',
950: '#000000',
},
}SCSS
$custom: #7f2ac0; $custom-light: #aa6ed4; $custom-dark: #000000;
JSON
{
"hex": "#7f2ac0",
"rgb": {
"r": 127,
"g": 42,
"b": 192
},
"hsl": {
"h": 274,
"s": 64.103,
"l": 45.882
},
"oklch": {
"l": 0.49144,
"c": 0.21722,
"h": 305.2
},
"luminance": 0.09974
}Semantic roles & 50–950 ramp
primary
#7F2AC0
secondary
#9DCC7A
accent
#E74189
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83