#7F2CC1#7F2CC1
#7F2CC1 is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.4% C 0.216 H 304.7°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2CC1 |
|---|---|
| RGB | rgb(127, 44, 193) |
| HSL | hsl(273, 63%, 46%) |
| HSV | hsv(273, 77%, 76%) |
| CMYK | cmyk(34.2%, 77.2%, 0%, 24.3%) |
| CIE-LAB | lab(38.13, 60.43, -62.38) |
| CIE-LCH | lch(38.13, 86.85, 314.09°) |
| OKLab | oklab(49.41% 0.1232 -0.1777) |
| OKLCH | oklch(49.41% 0.216 304.7) |
| XYZ | xyz(19.2765, 10.1637, 51.3880) |
| Luminance | 0.1016 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.06
Blueviolet
#8A2BE2
ΔE00 4.75
Darkorchid
#9932CC
ΔE00 5.20
Burple
#6832E3
ΔE00 6.06
Purple Blue
#5D21D0
ΔE00 6.19
Violet (survey)
#9A0EEA
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2CC1 #6EC12C
analogous
#352CC1 #7F2CC1 #C12CB9
triadic
#7F2CC1 #C17F2C #2CC17F
tetradic
#7F2CC1 #C1352C #6EC12C #2CB9C1
square
#7F2CC1 #C1352C #6EC12C #2CB9C1
split-complementary
#7F2CC1 #B9C12C #2CC135
monochromatic
#3D155D #5E218F #7F2CC1 #9D53D8 #B984E3
Accessibility & contrast
On white
6.92
#7F2CC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#7F2CC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2CC1
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2CC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2CC1 | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C5
Deuteranopia (green-blind)
#005ABE
Tritanopia (blue-blind)
#725376
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7f2cc1; /* rgb */ color: rgb(127, 44, 193); /* oklch */ color: oklch(49.4% 0.216 304.7);
Tailwind
colors: {
custom: {
50: '#aa6fd5',
500: '#7f2cc1',
950: '#000000',
},
}SCSS
$custom: #7f2cc1; $custom-light: #aa6fd5; $custom-dark: #000000;
JSON
{
"hex": "#7f2cc1",
"rgb": {
"r": 127,
"g": 44,
"b": 193
},
"hsl": {
"h": 273.423,
"s": 62.869,
"l": 46.471
},
"oklch": {
"l": 0.49406,
"c": 0.21624,
"h": 304.7
},
"luminance": 0.10164
}Semantic roles & 50–950 ramp
primary
#7F2CC1
secondary
#A0CC7D
accent
#E6428B
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83