#7923C1#7923C1
#7923C1 is a mid, highly saturated violet. Relative luminance 0.091; OKLCH L 47.9% C 0.223 H 303.0°. Best body text is #FFFFFF at 7.44:1 contrast (WCAG AA passes).
Color values
| HEX | #7923C1 |
|---|---|
| RGB | rgb(121, 35, 193) |
| HSL | hsl(273, 69%, 45%) |
| HSV | hsv(273, 82%, 76%) |
| CMYK | cmyk(37.3%, 81.9%, 0%, 24.3%) |
| CIE-LAB | lab(36.21, 62.67, -65.56) |
| CIE-LCH | lch(36.21, 90.70, 313.71°) |
| OKLab | oklab(47.89% 0.1215 -0.1872) |
| OKLCH | oklch(47.89% 0.223 303) |
| XYZ | xyz(18.1095, 9.1172, 51.2475) |
| Luminance | 0.0912 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkviolet
#9400D3
ΔE00 4.54
Purple Blue
#5D21D0
ΔE00 4.82
Blueviolet
#8A2BE2
ΔE00 5.68
Burple
#6832E3
ΔE00 5.93
Purple (survey)
#7E1E9C
ΔE00 6.10
Purply Blue
#661AEE
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7923C1 #6BC123
analogous
#2A23C1 #7923C1 #C123BA
triadic
#7923C1 #C17923 #23C179
tetradic
#7923C1 #C12A23 #6BC123 #23BAC1
square
#7923C1 #C12A23 #6BC123 #23BAC1
split-complementary
#7923C1 #BAC123 #23C12A
monochromatic
#381059 #591A8D #7923C1 #9744DD #B478E6
Accessibility & contrast
On white
7.44
#7923C1 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.82
#7923C1 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #7923C1
7.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7923C1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7923C1 | 1.00 | 7.44 | 2.82 | 7.44 |
| #FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0054C5
Deuteranopia (green-blind)
#0055BE
Tritanopia (blue-blind)
#6A5074
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #7923c1; /* rgb */ color: rgb(121, 35, 193); /* oklch */ color: oklch(47.9% 0.223 303.0);
Tailwind
colors: {
custom: {
50: '#a76ad5',
500: '#7923c1',
950: '#000000',
},
}SCSS
$custom: #7923c1; $custom-light: #a76ad5; $custom-dark: #000000;
JSON
{
"hex": "#7923c1",
"rgb": {
"r": 121,
"g": 35,
"b": 193
},
"hsl": {
"h": 272.658,
"s": 69.298,
"l": 44.706
},
"oklch": {
"l": 0.4789,
"c": 0.22319,
"h": 303
},
"luminance": 0.09117
}Semantic roles & 50–950 ramp
primary
#7923C1
secondary
#9CCE72
accent
#EC3C8C
background
#FAF6FD
surface
#F4ECFA
border
#CEC7D3
text
#100714
muted
#7F7A83