#7F2CAE#7F2CAE
#7F2CAE is a mid, vivid violet. Relative luminance 0.094; OKLCH L 47.9% C 0.198 H 310.0°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2CAE |
|---|---|
| RGB | rgb(127, 44, 174) |
| HSL | hsl(278, 60%, 43%) |
| HSV | hsv(278, 75%, 68%) |
| CMYK | cmyk(27%, 74.7%, 0%, 31.8%) |
| CIE-LAB | lab(36.69, 56.22, -53.51) |
| CIE-LCH | lch(36.69, 77.61, 316.41°) |
| OKLab | oklab(47.93% 0.1272 -0.1516) |
| OKLCH | oklch(47.93% 0.198 310) |
| XYZ | xyz(17.2916, 9.3698, 40.9338) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purple (survey)
#7E1E9C
ΔE00 3.63
Rebeccapurple
#663399
ΔE00 5.14
Darkviolet
#9400D3
ΔE00 5.72
Darkorchid
#9932CC
ΔE00 6.35
Purply
#983FB2
ΔE00 6.69
Blueviolet
#8A2BE2
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2CAE #5BAE2C
analogous
#3E2CAE #7F2CAE #AE2C9C
triadic
#7F2CAE #AE7F2C #2CAE7F
tetradic
#7F2CAE #AE3E2C #5BAE2C #2C9CAE
square
#7F2CAE #AE3E2C #5BAE2C #2C9CAE
split-complementary
#7F2CAE #9CAE2C #2CAE3E
monochromatic
#38134C #5B207D #7F2CAE #9F47D0 #B878DD
Accessibility & contrast
On white
7.31
#7F2CAE on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#7F2CAE on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7F2CAE
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2CAE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2CAE | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0053B2
Deuteranopia (green-blind)
#0A58AB
Tritanopia (blue-blind)
#784A6B
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7f2cae; /* rgb */ color: rgb(127, 44, 174); /* oklch */ color: oklch(47.9% 0.198 310.0);
Tailwind
colors: {
custom: {
50: '#a96ec7',
500: '#7f2cae',
950: '#000000',
},
}SCSS
$custom: #7f2cae; $custom-light: #a96ec7; $custom-dark: #000000;
JSON
{
"hex": "#7f2cae",
"rgb": {
"r": 127,
"g": 44,
"b": 174
},
"hsl": {
"h": 278.308,
"s": 59.633,
"l": 42.745
},
"oklch": {
"l": 0.47933,
"c": 0.1979,
"h": 310
},
"luminance": 0.09369
}Semantic roles & 50–950 ramp
primary
#7F2CAE
secondary
#8FC571
accent
#E3457E
background
#FAF6FC
surface
#F4ECF8
border
#CEC7D1
text
#100813
muted
#7F7B82