#7C2FBF#7C2FBF
#7C2FBF is a mid, highly saturated violet. Relative luminance 0.101; OKLCH L 49.2% C 0.211 H 303.7°. Best body text is #FFFFFF at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2FBF |
|---|---|
| RGB | rgb(124, 47, 191) |
| HSL | hsl(272, 61%, 47%) |
| HSV | hsv(272, 75%, 75%) |
| CMYK | cmyk(35.1%, 75.4%, 0%, 25.1%) |
| CIE-LAB | lab(37.99, 58.27, -61.47) |
| CIE-LCH | lch(37.99, 84.70, 313.47°) |
| OKLab | oklab(49.17% 0.1169 -0.1752) |
| OKLCH | oklch(49.17% 0.211 303.7) |
| XYZ | xyz(18.7305, 10.0797, 50.2389) |
| Luminance | 0.1008 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.66
Blueviolet
#8A2BE2
ΔE00 5.05
Darkorchid
#9932CC
ΔE00 5.55
Bluey Purple
#6241C7
ΔE00 5.85
Burple
#6832E3
ΔE00 5.94
Purple Blue
#5D21D0
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2FBF #72BF2F
analogous
#342FBF #7C2FBF #BF2FBA
triadic
#7C2FBF #BF7C2F #2FBF7C
tetradic
#7C2FBF #BF342F #72BF2F #2FBABF
square
#7C2FBF #BF342F #72BF2F #2FBABF
split-complementary
#7C2FBF #BABF2F #2FBF34
monochromatic
#3C175D #5C238E #7C2FBF #9A56D5 #B787E1
Accessibility & contrast
On white
6.96
#7C2FBF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#7C2FBF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C2FBF
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2FBF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2FBF | 1.00 | 6.96 | 3.02 | 6.96 |
| #FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0058C3
Deuteranopia (green-blind)
#0059BC
Tritanopia (blue-blind)
#6F5375
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #7c2fbf; /* rgb */ color: rgb(124, 47, 191); /* oklch */ color: oklch(49.2% 0.211 303.7);
Tailwind
colors: {
custom: {
50: '#a870d3',
500: '#7c2fbf',
950: '#000000',
},
}SCSS
$custom: #7c2fbf; $custom-light: #a870d3; $custom-dark: #000000;
JSON
{
"hex": "#7c2fbf",
"rgb": {
"r": 124,
"g": 47,
"b": 191
},
"hsl": {
"h": 272.083,
"s": 60.504,
"l": 46.667
},
"oklch": {
"l": 0.49166,
"c": 0.21058,
"h": 303.7
},
"luminance": 0.1008
}Semantic roles & 50–950 ramp
primary
#7C2FBF
secondary
#A2CB7F
accent
#E4448E
background
#FAF7FD
surface
#F4EDFA
border
#CEC8D3
text
#100814
muted
#7F7B83