#7D2FFE#7D2FFE
#7D2FFE is a mid, highly saturated violet. Relative luminance 0.135; OKLCH L 54.7% C 0.273 H 291.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #7D2FFE |
|---|---|
| RGB | rgb(125, 47, 254) |
| HSL | hsl(263, 99%, 59%) |
| HSV | hsv(263, 81%, 100%) |
| CMYK | cmyk(50.8%, 81.5%, 0%, 0.4%) |
| CIE-LAB | lab(43.58, 73.33, -88.34) |
| CIE-LCH | lch(43.58, 114.81, 309.70°) |
| OKLab | oklab(54.75% 0.0998 -0.2539) |
| OKLCH | oklch(54.75% 0.273 291.5) |
| XYZ | xyz(27.3582, 13.5476, 94.9202) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Violet
#8F00FF
ΔE00 3.28
Bluish Purple
#703BE7
ΔE00 3.30
Blueviolet
#8A2BE2
ΔE00 4.00
Vivid Purple
#9900FA
ΔE00 4.24
Purpleish Blue
#6140EF
ΔE00 4.43
Burple
#6832E3
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7D2FFE #B0FE2F
analogous
#2F49FE #7D2FFE #E52FFE
triadic
#7D2FFE #FE7D2F #2FFE7D
tetradic
#7D2FFE #FE2F49 #B0FE2F #2FFEE5
square
#7D2FFE #FE2F49 #B0FE2F #2FFEE5
split-complementary
#7D2FFE #FEE52F #49FE2F
monochromatic
#4401B2 #5B01EF #7D2FFE #A36CFE #C9A9FF
Accessibility & contrast
On white
5.66
#7D2FFE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#7D2FFE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7D2FFE
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7D2FFE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7D2FFE | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006AFF
Deuteranopia (green-blind)
#0063FA
Tritanopia (blue-blind)
#4F6E9A
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #7d2ffe; /* rgb */ color: rgb(125, 47, 254); /* oklch */ color: oklch(54.7% 0.273 291.5);
Tailwind
colors: {
custom: {
50: '#af73ff',
500: '#7d2ffe',
950: '#000000',
},
}SCSS
$custom: #7d2ffe; $custom-light: #af73ff; $custom-dark: #000000;
JSON
{
"hex": "#7d2ffe",
"rgb": {
"r": 125,
"g": 47,
"b": 254
},
"hsl": {
"h": 262.609,
"s": 99.043,
"l": 59.02
},
"oklch": {
"l": 0.54747,
"c": 0.27283,
"h": 291.5
},
"luminance": 0.13549
}Semantic roles & 50–950 ramp
primary
#7D2FFE
secondary
#CEED9C
accent
#FF29AE
background
#FBF7FF
surface
#F6EDFF
border
#D0C8D7
text
#120918
muted
#817B86