#7F2FC1#7F2FC1
#7F2FC1 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.7% C 0.213 H 304.5°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2FC1 |
|---|---|
| RGB | rgb(127, 47, 193) |
| HSL | hsl(273, 61%, 47%) |
| HSV | hsv(273, 76%, 76%) |
| CMYK | cmyk(34.2%, 75.6%, 0%, 24.3%) |
| CIE-LAB | lab(38.54, 59.25, -61.71) |
| CIE-LCH | lch(38.54, 85.55, 313.83°) |
| OKLab | oklab(49.69% 0.1206 -0.1758) |
| OKLCH | oklch(49.69% 0.213 304.5) |
| XYZ | xyz(19.3923, 10.3954, 51.4266) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.26
Blueviolet
#8A2BE2
ΔE00 4.63
Darkorchid
#9932CC
ΔE00 4.99
Burple
#6832E3
ΔE00 6.00
Bluey Purple
#6241C7
ΔE00 6.10
Violet (survey)
#9A0EEA
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2FC1 #71C12F
analogous
#362FC1 #7F2FC1 #C12FBA
triadic
#7F2FC1 #C17F2F #2FC17F
tetradic
#7F2FC1 #C1362F #71C12F #2FBAC1
square
#7F2FC1 #C1362F #71C12F #2FBAC1
split-complementary
#7F2FC1 #BAC12F #2FC136
monochromatic
#3E175F #5F2390 #7F2FC1 #9D57D6 #BA88E2
Accessibility & contrast
On white
6.82
#7F2FC1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#7F2FC1 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2FC1
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2FC1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2FC1 | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C5
Deuteranopia (green-blind)
#005BBE
Tritanopia (blue-blind)
#725476
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7f2fc1; /* rgb */ color: rgb(127, 47, 193); /* oklch */ color: oklch(49.7% 0.213 304.5);
Tailwind
colors: {
custom: {
50: '#aa70d5',
500: '#7f2fc1',
950: '#000000',
},
}SCSS
$custom: #7f2fc1; $custom-light: #aa70d5; $custom-dark: #000000;
JSON
{
"hex": "#7f2fc1",
"rgb": {
"r": 127,
"g": 47,
"b": 193
},
"hsl": {
"h": 272.877,
"s": 60.833,
"l": 47.059
},
"oklch": {
"l": 0.49693,
"c": 0.21318,
"h": 304.5
},
"luminance": 0.10395
}Semantic roles & 50–950 ramp
primary
#7F2FC1
secondary
#A2CC80
accent
#E4448C
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83