#7A23C5#7A23C5
#7A23C5 is a mid, highly saturated violet. Relative luminance 0.094; OKLCH L 48.4% C 0.227 H 302.4°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).
Color values
| HEX | #7A23C5 |
|---|---|
| RGB | rgb(122, 35, 197) |
| HSL | hsl(272, 70%, 45%) |
| HSV | hsv(272, 82%, 77%) |
| CMYK | cmyk(38.1%, 82.2%, 0%, 22.7%) |
| CIE-LAB | lab(36.69, 63.71, -67.11) |
| CIE-LCH | lch(36.69, 92.54, 313.51°) |
| OKLab | oklab(48.36% 0.1217 -0.1917) |
| OKLCH | oklch(48.36% 0.227 302.4) |
| XYZ | xyz(18.7027, 9.3708, 53.6359) |
| Luminance | 0.0937 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.22
Purple Blue
#5D21D0
ΔE00 4.73
Blueviolet
#8A2BE2
ΔE00 5.16
Burple
#6832E3
ΔE00 5.50
Purply Blue
#661AEE
ΔE00 5.75
Blue Violet
#5D06E9
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A23C5 #6EC523
analogous
#2923C5 #7A23C5 #C523BF
triadic
#7A23C5 #C57A23 #23C57A
tetradic
#7A23C5 #C52923 #6EC523 #23BFC5
square
#7A23C5 #C52923 #6EC523 #23BFC5
split-complementary
#7A23C5 #BFC523 #23C529
monochromatic
#3A115D #5A1A91 #7A23C5 #9847DE #B57BE8
Accessibility & contrast
On white
7.31
#7A23C5 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#7A23C5 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7A23C5
7.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A23C5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A23C5 | 1.00 | 7.31 | 2.87 | 7.31 |
| #FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0055C9
Deuteranopia (green-blind)
#0056C2
Tritanopia (blue-blind)
#6A5176
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #7a23c5; /* rgb */ color: rgb(122, 35, 197); /* oklch */ color: oklch(48.4% 0.227 302.4);
Tailwind
colors: {
custom: {
50: '#a86ad8',
500: '#7a23c5',
950: '#000000',
},
}SCSS
$custom: #7a23c5; $custom-light: #a86ad8; $custom-dark: #000000;
JSON
{
"hex": "#7a23c5",
"rgb": {
"r": 122,
"g": 35,
"b": 197
},
"hsl": {
"h": 272.222,
"s": 69.828,
"l": 45.49
},
"oklch": {
"l": 0.48356,
"c": 0.22711,
"h": 302.4
},
"luminance": 0.09371
}Semantic roles & 50–950 ramp
primary
#7A23C5
secondary
#9FCF74
accent
#ED3B8D
background
#FAF6FD
surface
#F5ECFA
border
#CFC7D3
text
#110715
muted
#807A83