#7F30CF#7F30CF
#7F30CF is a mid, highly saturated violet. Relative luminance 0.111; OKLCH L 50.9% C 0.226 H 301.0°. Best body text is #FFFFFF at 6.51:1 contrast (WCAG AA passes).
Color values
| HEX | #7F30CF |
|---|---|
| RGB | rgb(127, 48, 207) |
| HSL | hsl(270, 62%, 50%) |
| HSV | hsv(270, 77%, 81%) |
| CMYK | cmyk(38.6%, 76.8%, 0%, 18.8%) |
| CIE-LAB | lab(39.80, 62.09, -67.81) |
| CIE-LCH | lch(39.80, 91.94, 312.47°) |
| OKLab | oklab(50.92% 0.1164 -0.1937) |
| OKLCH | oklch(50.92% 0.226 301) |
| XYZ | xyz(21.0691, 11.1308, 60.0578) |
| Luminance | 0.1113 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 2.88
Darkviolet
#9400D3
ΔE00 4.15
Burple
#6832E3
ΔE00 4.41
Bluish Purple
#703BE7
ΔE00 4.57
Darkorchid
#9932CC
ΔE00 4.88
Violet (survey)
#9A0EEA
ΔE00 5.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F30CF #80CF30
analogous
#3031CF #7F30CF #CE30CF
triadic
#7F30CF #CF7F30 #30CF7F
tetradic
#7F30CF #CF3031 #80CF30 #30CFCE
square
#7F30CF #CF3031 #80CF30 #30CFCE
split-complementary
#7F30CF #CFCE30 #31CF30
monochromatic
#42196C #61249D #7F30CF #9E62DB #BC93E6
Accessibility & contrast
On white
6.51
#7F30CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.23
#7F30CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F30CF
6.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F30CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F30CF | 1.00 | 6.51 | 3.23 | 6.51 |
| #FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DD3
Deuteranopia (green-blind)
#005DCC
Tritanopia (blue-blind)
#6D5A7F
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #7f30cf; /* rgb */ color: rgb(127, 48, 207); /* oklch */ color: oklch(50.9% 0.226 301.0);
Tailwind
colors: {
custom: {
50: '#ab71df',
500: '#7f30cf',
950: '#000000',
},
}SCSS
$custom: #7f30cf; $custom-light: #ab71df; $custom-dark: #000000;
JSON
{
"hex": "#7f30cf",
"rgb": {
"r": 127,
"g": 48,
"b": 207
},
"hsl": {
"h": 269.811,
"s": 62.353,
"l": 50
},
"oklch": {
"l": 0.50922,
"c": 0.226,
"h": 301
},
"luminance": 0.11131
}Semantic roles & 50–950 ramp
primary
#7F30CF
secondary
#AED18A
accent
#E54294
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83