#7F2DBE#7F2DBE
#7F2DBE is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.212 H 305.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2DBE |
|---|---|
| RGB | rgb(127, 45, 190) |
| HSL | hsl(274, 62%, 46%) |
| HSV | hsv(274, 76%, 75%) |
| CMYK | cmyk(33.2%, 76.3%, 0%, 25.5%) |
| CIE-LAB | lab(38.03, 59.37, -60.78) |
| CIE-LCH | lch(38.03, 84.97, 314.32°) |
| OKLab | oklab(49.26% 0.123 -0.173) |
| OKLCH | oklch(49.26% 0.212 305.4) |
| XYZ | xyz(18.9830, 10.1066, 49.6559) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.29
Blueviolet
#8A2BE2
ΔE00 5.10
Darkorchid
#9932CC
ΔE00 5.23
Purple (survey)
#7E1E9C
ΔE00 5.93
Burple
#6832E3
ΔE00 6.42
Purple Blue
#5D21D0
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2DBE #6CBE2D
analogous
#362DBE #7F2DBE #BE2DB4
triadic
#7F2DBE #BE7F2D #2DBE7F
tetradic
#7F2DBE #BE362D #6CBE2D #2DB4BE
square
#7F2DBE #BE362D #6CBE2D #2DB4BE
split-complementary
#7F2DBE #B4BE2D #2DBE36
monochromatic
#3D165B #5E218D #7F2DBE #9D52D6 #B984E2
Accessibility & contrast
On white
6.95
#7F2DBE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#7F2DBE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2DBE
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2DBE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2DBE | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C2
Deuteranopia (green-blind)
#005ABB
Tritanopia (blue-blind)
#735274
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7f2dbe; /* rgb */ color: rgb(127, 45, 190); /* oklch */ color: oklch(49.3% 0.212 305.4);
Tailwind
colors: {
custom: {
50: '#aa6fd3',
500: '#7f2dbe',
950: '#000000',
},
}SCSS
$custom: #7f2dbe; $custom-light: #aa6fd3; $custom-dark: #000000;
JSON
{
"hex": "#7f2dbe",
"rgb": {
"r": 127,
"g": 45,
"b": 190
},
"hsl": {
"h": 273.931,
"s": 61.702,
"l": 46.078
},
"oklch": {
"l": 0.49261,
"c": 0.21232,
"h": 305.4
},
"luminance": 0.10107
}Semantic roles & 50–950 ramp
primary
#7F2DBE
secondary
#9ECB7C
accent
#E54389
background
#FAF7FD
surface
#F5EDFA
border
#CFC8D3
text
#110814
muted
#807B83