#7F2FC5#7F2FC5
#7F2FC5 is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.0% C 0.217 H 303.5°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7F2FC5 |
|---|---|
| RGB | rgb(127, 47, 197) |
| HSL | hsl(272, 61%, 48%) |
| HSV | hsv(272, 76%, 77%) |
| CMYK | cmyk(35.5%, 76.1%, 0%, 22.7%) |
| CIE-LAB | lab(38.86, 60.17, -63.54) |
| CIE-LCH | lch(38.86, 87.51, 313.44°) |
| OKLab | oklab(50.01% 0.1197 -0.1811) |
| OKLCH | oklch(50.01% 0.217 303.5) |
| XYZ | xyz(19.8446, 10.5763, 53.8085) |
| Luminance | 0.1058 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 4.11
Darkviolet
#9400D3
ΔE00 4.11
Darkorchid
#9932CC
ΔE00 4.91
Burple
#6832E3
ΔE00 5.50
Violet (survey)
#9A0EEA
ΔE00 5.87
Bluey Purple
#6241C7
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F2FC5 #75C52F
analogous
#342FC5 #7F2FC5 #C52FC0
triadic
#7F2FC5 #C57F2F #2FC57F
tetradic
#7F2FC5 #C5342F #75C52F #2FC0C5
square
#7F2FC5 #C5342F #75C52F #2FC0C5
split-complementary
#7F2FC5 #C0C52F #2FC534
monochromatic
#3F1762 #5F2394 #7F2FC5 #9D5AD8 #BA8BE3
Accessibility & contrast
On white
6.74
#7F2FC5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#7F2FC5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F2FC5
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F2FC5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F2FC5 | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AC9
Deuteranopia (green-blind)
#005BC2
Tritanopia (blue-blind)
#715679
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #7f2fc5; /* rgb */ color: rgb(127, 47, 197); /* oklch */ color: oklch(50.0% 0.217 303.5);
Tailwind
colors: {
custom: {
50: '#aa70d8',
500: '#7f2fc5',
950: '#000000',
},
}SCSS
$custom: #7f2fc5; $custom-light: #aa70d8; $custom-dark: #000000;
JSON
{
"hex": "#7f2fc5",
"rgb": {
"r": 127,
"g": 47,
"b": 197
},
"hsl": {
"h": 272,
"s": 61.475,
"l": 47.843
},
"oklch": {
"l": 0.50011,
"c": 0.21713,
"h": 303.5
},
"luminance": 0.10576
}Semantic roles & 50–950 ramp
primary
#7F2FC5
secondary
#A5CD82
accent
#E5438F
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110815
muted
#807B83