#7F2CC4#7F2CC4
#7F2CC4 is a mid, highly saturated violet. Relative luminance 0.103; OKLCH L 49.6% C 0.219 H 304.0°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2CC4 |
|---|---|
| RGB | rgb(127, 44, 196) |
| HSL | hsl(273, 63%, 47%) |
| HSV | hsv(273, 78%, 77%) |
| CMYK | cmyk(35.2%, 77.6%, 0%, 23.1%) |
| CIE-LAB | lab(38.37, 61.10, -63.74) |
| CIE-LCH | lch(38.37, 88.30, 313.79°) |
| OKLab | oklab(49.65% 0.1225 -0.1817) |
| OKLCH | oklch(49.65% 0.219 304) |
| XYZ | xyz(19.6146, 10.2990, 53.1684) |
| Luminance | 0.1030 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 3.92
Blueviolet
#8A2BE2
ΔE00 4.36
Darkorchid
#9932CC
ΔE00 5.13
Burple
#6832E3
ΔE00 5.68
Violet (survey)
#9A0EEA
ΔE00 5.97
Purple Blue
#5D21D0
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2CC4 #71C42C
analogous
#332CC4 #7F2CC4 #C42CBD
triadic
#7F2CC4 #C47F2C #2CC47F
tetradic
#7F2CC4 #C4332C #71C42C #2CBDC4
square
#7F2CC4 #C4332C #71C42C #2CBDC4
split-complementary
#7F2CC4 #BDC42C #2CC433
monochromatic
#3E1660 #5F2192 #7F2CC4 #9D54D9 #BA86E4
Accessibility & contrast
On white
6.86
#7F2CC4 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#7F2CC4 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2CC4
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2CC4 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2CC4 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C8
Deuteranopia (green-blind)
#005AC1
Tritanopia (blue-blind)
#715478
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7f2cc4; /* rgb */ color: rgb(127, 44, 196); /* oklch */ color: oklch(49.6% 0.219 304.0);
Tailwind
colors: {
custom: {
50: '#aa6fd7',
500: '#7f2cc4',
950: '#000000',
},
}SCSS
$custom: #7f2cc4; $custom-light: #aa6fd7; $custom-dark: #000000;
JSON
{
"hex": "#7f2cc4",
"rgb": {
"r": 127,
"g": 44,
"b": 196
},
"hsl": {
"h": 272.763,
"s": 63.333,
"l": 47.059
},
"oklch": {
"l": 0.49648,
"c": 0.21913,
"h": 304
},
"luminance": 0.10299
}Semantic roles & 50–950 ramp
primary
#7F2CC4
secondary
#A2CD7E
accent
#E6418C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83