#7B30CF#7B30CF
#7B30CF is a mid, highly saturated violet. Relative luminance 0.108; OKLCH L 50.5% C 0.225 H 299.4°. Best body text is #FFFFFF at 6.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7B30CF |
|---|---|
| RGB | rgb(123, 48, 207) |
| HSL | hsl(268, 62%, 50%) |
| HSV | hsv(268, 77%, 81%) |
| CMYK | cmyk(40.6%, 76.8%, 0%, 18.8%) |
| CIE-LAB | lab(39.29, 61.45, -68.67) |
| CIE-LCH | lch(39.29, 92.15, 311.83°) |
| OKLab | oklab(50.46% 0.1107 -0.1963) |
| OKLCH | oklch(50.46% 0.225 299.4) |
| XYZ | xyz(20.4850, 10.8296, 60.0305) |
| Luminance | 0.1083 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.28
Burple
#6832E3
ΔE00 3.90
Bluish Purple
#703BE7
ΔE00 4.32
Darkviolet
#9400D3
ΔE00 4.58
Bluey Purple
#6241C7
ΔE00 5.02
Purpley Blue
#5F34E7
ΔE00 5.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B30CF #84CF30
analogous
#3034CF #7B30CF #CB30CF
triadic
#7B30CF #CF7B30 #30CF7B
tetradic
#7B30CF #CF3034 #84CF30 #30CFCB
square
#7B30CF #CF3034 #84CF30 #30CFCB
split-complementary
#7B30CF #CFCB30 #34CF30
monochromatic
#40196C #5D249D #7B30CF #9B62DB #BA93E6
Accessibility & contrast
On white
6.63
#7B30CF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.17
#7B30CF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B30CF
6.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B30CF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B30CF | 1.00 | 6.63 | 3.17 | 6.63 |
| #FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CD3
Deuteranopia (green-blind)
#005BCC
Tritanopia (blue-blind)
#675B7F
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #7b30cf; /* rgb */ color: rgb(123, 48, 207); /* oklch */ color: oklch(50.5% 0.225 299.4);
Tailwind
colors: {
custom: {
50: '#a971df',
500: '#7b30cf',
950: '#000000',
},
}SCSS
$custom: #7b30cf; $custom-light: #a971df; $custom-dark: #000000;
JSON
{
"hex": "#7b30cf",
"rgb": {
"r": 123,
"g": 48,
"b": 207
},
"hsl": {
"h": 268.302,
"s": 62.353,
"l": 50
},
"oklch": {
"l": 0.50456,
"c": 0.22541,
"h": 299.4
},
"luminance": 0.1083
}Semantic roles & 50–950 ramp
primary
#7B30CF
secondary
#AFD18A
accent
#E54299
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83