#7F2FC2#7F2FC2
#7F2FC2 is a mid, highly saturated violet. Relative luminance 0.104; OKLCH L 49.8% C 0.214 H 304.2°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2FC2 |
|---|---|
| RGB | rgb(127, 47, 194) |
| HSL | hsl(273, 61%, 47%) |
| HSV | hsv(273, 76%, 76%) |
| CMYK | cmyk(34.5%, 75.8%, 0%, 23.9%) |
| CIE-LAB | lab(38.62, 59.48, -62.17) |
| CIE-LCH | lch(38.62, 86.04, 313.73°) |
| OKLab | oklab(49.77% 0.1204 -0.1771) |
| OKLCH | oklch(49.77% 0.214 304.2) |
| XYZ | xyz(19.5043, 10.4402, 52.0161) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.22
Blueviolet
#8A2BE2
ΔE00 4.49
Darkorchid
#9932CC
ΔE00 4.97
Burple
#6832E3
ΔE00 5.87
Bluey Purple
#6241C7
ΔE00 6.04
Violet (survey)
#9A0EEA
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2FC2 #72C22F
analogous
#352FC2 #7F2FC2 #C22FBC
triadic
#7F2FC2 #C27F2F #2FC27F
tetradic
#7F2FC2 #C2352F #72C22F #2FBCC2
square
#7F2FC2 #C2352F #72C22F #2FBCC2
split-complementary
#7F2FC2 #BCC22F #2FC235
monochromatic
#3E175F #5F2391 #7F2FC2 #9D58D6 #BA89E2
Accessibility & contrast
On white
6.80
#7F2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#7F2FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2FC2
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2FC2 | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0059C6
Deuteranopia (green-blind)
#005BBF
Tritanopia (blue-blind)
#725477
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7f2fc2; /* rgb */ color: rgb(127, 47, 194); /* oklch */ color: oklch(49.8% 0.214 304.2);
Tailwind
colors: {
custom: {
50: '#aa70d5',
500: '#7f2fc2',
950: '#000000',
},
}SCSS
$custom: #7f2fc2; $custom-light: #aa70d5; $custom-dark: #000000;
JSON
{
"hex": "#7f2fc2",
"rgb": {
"r": 127,
"g": 47,
"b": 194
},
"hsl": {
"h": 272.653,
"s": 60.996,
"l": 47.255
},
"oklch": {
"l": 0.49772,
"c": 0.21417,
"h": 304.2
},
"luminance": 0.1044
}Semantic roles & 50–950 ramp
primary
#7F2FC2
secondary
#A3CC81
accent
#E4448D
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110814
muted
#807B83