#7F2CC0#7F2CC0
#7F2CC0 is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.3% C 0.215 H 305.0°. Best body text is #FFFFFF at 6.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2CC0 |
|---|---|
| RGB | rgb(127, 44, 192) |
| HSL | hsl(274, 63%, 46%) |
| HSV | hsv(274, 77%, 75%) |
| CMYK | cmyk(33.9%, 77.1%, 0%, 24.7%) |
| CIE-LAB | lab(38.06, 60.20, -61.92) |
| CIE-LCH | lch(38.06, 86.36, 314.19°) |
| OKLab | oklab(49.33% 0.1234 -0.1764) |
| OKLCH | oklch(49.33% 0.215 305) |
| XYZ | xyz(19.1653, 10.1193, 50.8025) |
| Luminance | 0.1012 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.11
Blueviolet
#8A2BE2
ΔE00 4.88
Darkorchid
#9932CC
ΔE00 5.23
Purple (survey)
#7E1E9C
ΔE00 6.14
Burple
#6832E3
ΔE00 6.19
Purple Blue
#5D21D0
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2CC0 #6DC02C
analogous
#352CC0 #7F2CC0 #C02CB7
triadic
#7F2CC0 #C07F2C #2CC07F
tetradic
#7F2CC0 #C0352C #6DC02C #2CB7C0
square
#7F2CC0 #C0352C #6DC02C #2CB7C0
split-complementary
#7F2CC0 #B7C02C #2CC035
monochromatic
#3D155C #5E218E #7F2CC0 #9D52D7 #B984E3
Accessibility & contrast
On white
6.94
#7F2CC0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#7F2CC0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2CC0
6.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2CC0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2CC0 | 1.00 | 6.94 | 3.02 | 6.94 |
| #FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057C4
Deuteranopia (green-blind)
#005ABD
Tritanopia (blue-blind)
#735275
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7f2cc0; /* rgb */ color: rgb(127, 44, 192); /* oklch */ color: oklch(49.3% 0.215 305.0);
Tailwind
colors: {
custom: {
50: '#aa6ed4',
500: '#7f2cc0',
950: '#000000',
},
}SCSS
$custom: #7f2cc0; $custom-light: #aa6ed4; $custom-dark: #000000;
JSON
{
"hex": "#7f2cc0",
"rgb": {
"r": 127,
"g": 44,
"b": 192
},
"hsl": {
"h": 273.649,
"s": 62.712,
"l": 46.275
},
"oklch": {
"l": 0.49326,
"c": 0.21527,
"h": 305
},
"luminance": 0.10119
}Semantic roles & 50–950 ramp
primary
#7F2CC0
secondary
#9FCC7C
accent
#E6428A
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83