#7F2ABF#7F2ABF
#7F2ABF is a mid, highly saturated violet. Relative luminance 0.099; OKLCH L 49.1% C 0.216 H 305.4°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2ABF |
|---|---|
| RGB | rgb(127, 42, 191) |
| HSL | hsl(274, 64%, 46%) |
| HSV | hsv(274, 78%, 75%) |
| CMYK | cmyk(33.5%, 78%, 0%, 25.1%) |
| CIE-LAB | lab(37.72, 60.73, -61.89) |
| CIE-LCH | lch(37.72, 86.71, 314.46°) |
| OKLab | oklab(49.06% 0.1253 -0.1763) |
| OKLCH | oklch(49.06% 0.216 305.4) |
| XYZ | xyz(18.9822, 9.9297, 50.1967) |
| Luminance | 0.0993 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.07
Blueviolet
#8A2BE2
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.42
Purple (survey)
#7E1E9C
ΔE00 5.87
Purple Blue
#5D21D0
ΔE00 6.21
Burple
#6832E3
ΔE00 6.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2ABF #6ABF2A
analogous
#342ABF #7F2ABF #BF2AB4
triadic
#7F2ABF #BF7F2A #2ABF7F
tetradic
#7F2ABF #BF342A #6ABF2A #2AB4BF
square
#7F2ABF #BF342A #6ABF2A #2AB4BF
split-complementary
#7F2ABF #B4BF2A #2ABF34
monochromatic
#3C145B #5E1F8D #7F2ABF #9D4ED8 #B980E3
Accessibility & contrast
On white
7.03
#7F2ABF on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.99
#7F2ABF on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2ABF
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2ABF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2ABF | 1.00 | 7.03 | 2.99 | 7.03 |
| #FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.99 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#735174
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7f2abf; /* rgb */ color: rgb(127, 42, 191); /* oklch */ color: oklch(49.1% 0.216 305.4);
Tailwind
colors: {
custom: {
50: '#aa6ed3',
500: '#7f2abf',
950: '#000000',
},
}SCSS
$custom: #7f2abf; $custom-light: #aa6ed3; $custom-dark: #000000;
JSON
{
"hex": "#7f2abf",
"rgb": {
"r": 127,
"g": 42,
"b": 191
},
"hsl": {
"h": 274.228,
"s": 63.948,
"l": 45.686
},
"oklch": {
"l": 0.49063,
"c": 0.21627,
"h": 305.4
},
"luminance": 0.0993
}Semantic roles & 50–950 ramp
primary
#7F2ABF
secondary
#9DCC79
accent
#E74188
background
#FBF6FD
surface
#F6ECFA
border
#D0C7D3
text
#110814
muted
#807B83