#7B2DCF#7B2DCF
#7B2DCF is a mid, highly saturated violet. Relative luminance 0.106; OKLCH L 50.2% C 0.228 H 299.7°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7B2DCF |
|---|---|
| RGB | rgb(123, 45, 207) |
| HSL | hsl(269, 64%, 49%) |
| HSV | hsv(269, 78%, 81%) |
| CMYK | cmyk(40.6%, 78.3%, 0%, 18.8%) |
| CIE-LAB | lab(38.89, 62.62, -69.33) |
| CIE-LCH | lch(38.89, 93.43, 312.09°) |
| OKLab | oklab(50.17% 0.113 -0.1983) |
| OKLCH | oklch(50.17% 0.228 299.7) |
| XYZ | xyz(20.3664, 10.5925, 59.9909) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Blueviolet
#8A2BE2
ΔE00 3.40
Burple
#6832E3
ΔE00 3.97
Darkviolet
#9400D3
ΔE00 4.35
Bluish Purple
#703BE7
ΔE00 4.59
Purply Blue
#661AEE
ΔE00 5.02
Purple Blue
#5D21D0
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B2DCF #81CF2D
analogous
#2D30CF #7B2DCF #CC2DCF
triadic
#7B2DCF #CF7B2D #2DCF7B
tetradic
#7B2DCF #CF2D30 #81CF2D #2DCFCC
square
#7B2DCF #CF2D30 #81CF2D #2DCFCC
split-complementary
#7B2DCF #CFCC2D #30CF2D
monochromatic
#3F176A #5D229D #7B2DCF #9A5DDC #BA90E7
Accessibility & contrast
On white
6.73
#7B2DCF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#7B2DCF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B2DCF
6.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B2DCF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B2DCF | 1.00 | 6.73 | 3.12 | 6.73 |
| #FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BD3
Deuteranopia (green-blind)
#005ACC
Tritanopia (blue-blind)
#67597E
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #7b2dcf; /* rgb */ color: rgb(123, 45, 207); /* oklch */ color: oklch(50.2% 0.228 299.7);
Tailwind
colors: {
custom: {
50: '#a96fdf',
500: '#7b2dcf',
950: '#000000',
},
}SCSS
$custom: #7b2dcf; $custom-light: #a96fdf; $custom-dark: #000000;
JSON
{
"hex": "#7b2dcf",
"rgb": {
"r": 123,
"g": 45,
"b": 207
},
"hsl": {
"h": 268.889,
"s": 64.286,
"l": 49.412
},
"oklch": {
"l": 0.50172,
"c": 0.22824,
"h": 299.7
},
"luminance": 0.10593
}Semantic roles & 50–950 ramp
primary
#7B2DCF
secondary
#ADD187
accent
#E74197
background
#FBF7FD
surface
#F6EDFB
border
#D0C8D4
text
#110815
muted
#807B83