#7F2CBF#7F2CBF
#7F2CBF is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.214 H 305.2°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2CBF |
|---|---|
| RGB | rgb(127, 44, 191) |
| HSL | hsl(274, 63%, 46%) |
| HSV | hsv(274, 77%, 75%) |
| CMYK | cmyk(33.5%, 77%, 0%, 25.1%) |
| CIE-LAB | lab(37.98, 59.98, -61.46) |
| CIE-LCH | lch(37.98, 85.88, 314.30°) |
| OKLab | oklab(49.25% 0.1237 -0.175) |
| OKLCH | oklch(49.25% 0.214 305.2) |
| XYZ | xyz(19.0549, 10.0751, 50.2210) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.17
Blueviolet
#8A2BE2
ΔE00 5.01
Darkorchid
#9932CC
ΔE00 5.27
Purple (survey)
#7E1E9C
ΔE00 6.00
Burple
#6832E3
ΔE00 6.32
Purple Blue
#5D21D0
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2CBF #6CBF2C
analogous
#362CBF #7F2CBF #BF2CB5
triadic
#7F2CBF #BF7F2C #2CBF7F
tetradic
#7F2CBF #BF362C #6CBF2C #2CB5BF
square
#7F2CBF #BF362C #6CBF2C #2CB5BF
split-complementary
#7F2CBF #B5BF2C #2CBF36
monochromatic
#3D155C #5E218D #7F2CBF #9D51D7 #B983E2
Accessibility & contrast
On white
6.97
#7F2CBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#7F2CBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2CBF
6.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2CBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2CBF | 1.00 | 6.97 | 3.01 | 6.97 |
| #FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C3
Deuteranopia (green-blind)
#005ABC
Tritanopia (blue-blind)
#735275
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7f2cbf; /* rgb */ color: rgb(127, 44, 191); /* oklch */ color: oklch(49.2% 0.214 305.2);
Tailwind
colors: {
custom: {
50: '#aa6ed3',
500: '#7f2cbf',
950: '#000000',
},
}SCSS
$custom: #7f2cbf; $custom-light: #aa6ed3; $custom-dark: #000000;
JSON
{
"hex": "#7f2cbf",
"rgb": {
"r": 127,
"g": 44,
"b": 191
},
"hsl": {
"h": 273.878,
"s": 62.553,
"l": 46.078
},
"oklch": {
"l": 0.49246,
"c": 0.21431,
"h": 305.2
},
"luminance": 0.10075
}Semantic roles & 50–950 ramp
primary
#7F2CBF
secondary
#9ECC7B
accent
#E64289
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83