#7C2FFE#7C2FFE
#7C2FFE is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.6% C 0.273 H 291.1°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7C2FFE |
|---|---|
| RGB | rgb(124, 47, 254) |
| HSL | hsl(262, 99%, 59%) |
| HSV | hsv(262, 81%, 100%) |
| CMYK | cmyk(51.2%, 81.5%, 0%, 0.4%) |
| CIE-LAB | lab(43.47, 73.22, -88.52) |
| CIE-LCH | lch(43.47, 114.88, 309.60°) |
| OKLab | oklab(54.65% 0.0983 -0.2545) |
| OKLCH | oklch(54.65% 0.273 291.1) |
| XYZ | xyz(27.2130, 13.4727, 94.9133) |
| Luminance | 0.1347 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.23
Violet
#8F00FF
ΔE00 3.35
Blueviolet
#8A2BE2
ΔE00 4.05
Purpleish Blue
#6140EF
ΔE00 4.33
Vivid Purple
#9900FA
ΔE00 4.34
Burple
#6832E3
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C2FFE #B1FE2F
analogous
#2F4AFE #7C2FFE #E42FFE
triadic
#7C2FFE #FE7C2F #2FFE7C
tetradic
#7C2FFE #FE2F4A #B1FE2F #2FFEE4
square
#7C2FFE #FE2F4A #B1FE2F #2FFEE4
split-complementary
#7C2FFE #FEE42F #4AFE2F
monochromatic
#4301B2 #5901EF #7C2FFE #A26CFE #C9A9FF
Accessibility & contrast
On white
5.68
#7C2FFE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.69
#7C2FFE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C2FFE
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C2FFE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C2FFE | 1.00 | 5.68 | 3.69 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.69 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AFF
Deuteranopia (green-blind)
#0062FA
Tritanopia (blue-blind)
#4D6E9A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7c2ffe; /* rgb */ color: rgb(124, 47, 254); /* oklch */ color: oklch(54.6% 0.273 291.1);
Tailwind
colors: {
custom: {
50: '#af73ff',
500: '#7c2ffe',
950: '#000000',
},
}SCSS
$custom: #7c2ffe; $custom-light: #af73ff; $custom-dark: #000000;
JSON
{
"hex": "#7c2ffe",
"rgb": {
"r": 124,
"g": 47,
"b": 254
},
"hsl": {
"h": 262.319,
"s": 99.043,
"l": 59.02
},
"oklch": {
"l": 0.54647,
"c": 0.27282,
"h": 291.1
},
"luminance": 0.13474
}Semantic roles & 50–950 ramp
primary
#7C2FFE
secondary
#CFED9C
accent
#FF29AF
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#120918
muted
#817B86