#7F30BA#7F30BA
#7F30BA is a mid, highly saturated violet. Relative luminance 0.102; OKLCH L 49.2% C 0.205 H 306.2°. Best body text is #FFFFFF at 6.92:1 contrast (WCAG AA passes).
Color values
| HEX | #7F30BA |
|---|---|
| RGB | rgb(127, 48, 186) |
| HSL | hsl(274, 59%, 46%) |
| HSV | hsv(274, 74%, 73%) |
| CMYK | cmyk(31.7%, 74.2%, 0%, 27.1%) |
| CIE-LAB | lab(38.15, 57.26, -58.25) |
| CIE-LCH | lch(38.15, 81.67, 314.51°) |
| OKLab | oklab(49.25% 0.1212 -0.1656) |
| OKLCH | oklch(49.25% 0.205 306.2) |
| XYZ | xyz(18.6703, 10.1713, 47.4245) |
| Luminance | 0.1017 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.77
Darkorchid
#9932CC
ΔE00 5.21
Blueviolet
#8A2BE2
ΔE00 5.55
Purple (survey)
#7E1E9C
ΔE00 5.63
Rebeccapurple
#663399
ΔE00 6.12
Bluey Purple
#6241C7
ΔE00 6.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F30BA #6BBA30
analogous
#3A30BA #7F30BA #BA30B0
triadic
#7F30BA #BA7F30 #30BA7F
tetradic
#7F30BA #BA3A30 #6BBA30 #30B0BA
square
#7F30BA #BA3A30 #6BBA30 #30B0BA
split-complementary
#7F30BA #B0BA30 #30BA3A
monochromatic
#3D1759 #5E2389 #7F30BA #9D54D3 #B985DF
Accessibility & contrast
On white
6.92
#7F30BA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#7F30BA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F30BA
6.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F30BA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F30BA | 1.00 | 6.92 | 3.03 | 6.92 |
| #FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0057BE
Deuteranopia (green-blind)
#005AB7
Tritanopia (blue-blind)
#755273
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #7f30ba; /* rgb */ color: rgb(127, 48, 186); /* oklch */ color: oklch(49.2% 0.205 306.2);
Tailwind
colors: {
custom: {
50: '#a970d0',
500: '#7f30ba',
950: '#000000',
},
}SCSS
$custom: #7f30ba; $custom-light: #a970d0; $custom-dark: #000000;
JSON
{
"hex": "#7f30ba",
"rgb": {
"r": 127,
"g": 48,
"b": 186
},
"hsl": {
"h": 274.348,
"s": 58.974,
"l": 45.882
},
"oklch": {
"l": 0.49246,
"c": 0.20519,
"h": 306.2
},
"luminance": 0.10171
}Semantic roles & 50–950 ramp
primary
#7F30BA
secondary
#9DC97D
accent
#E24689
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100814
muted
#7F7B82