#A23BB5#A23BB5
#A23BB5 is a mid, vivid purple. Relative luminance 0.141; OKLCH L 54.7% C 0.199 H 321.0°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #A23BB5 |
|---|---|
| RGB | rgb(162, 59, 181) |
| HSL | hsl(291, 51%, 47%) |
| HSV | hsv(291, 67%, 71%) |
| CMYK | cmyk(10.5%, 67.4%, 0%, 29%) |
| CIE-LAB | lab(44.44, 58.99, -44.91) |
| CIE-LCH | lch(44.44, 74.14, 322.72°) |
| OKLab | oklab(54.66% 0.1551 -0.1254) |
| OKLCH | oklch(54.66% 0.199 321) |
| XYZ | xyz(24.8038, 14.1468, 45.1312) |
| Luminance | 0.1415 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.83
Barney
#AC1DB8
ΔE00 3.35
Medium Purple
#9E43A2
ΔE00 3.69
Ugly Purple
#A442A0
ΔE00 4.50
Darkorchid
#9932CC
ΔE00 4.84
Vibrant Purple
#AD03DE
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23BB5 #4EB53B
analogous
#653BB5 #A23BB5 #B53B8B
triadic
#A23BB5 #B5A23B #3BB5A2
tetradic
#A23BB5 #B5653B #4EB53B #3B8BB5
square
#A23BB5 #B5653B #4EB53B #3B8BB5
split-complementary
#A23BB5 #8BB53B #3BB565
monochromatic
#4F1D59 #792C87 #A23BB5 #BB62CC #CF90DB
Accessibility & contrast
On white
5.48
#A23BB5 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#A23BB5 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23BB5
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23BB5 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23BB5 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1362B9
Deuteranopia (green-blind)
#486DB2
Tritanopia (blue-blind)
#A35073
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #a23bb5; /* rgb */ color: rgb(162, 59, 181); /* oklch */ color: oklch(54.7% 0.199 321.0);
Tailwind
colors: {
custom: {
50: '#c179cc',
500: '#a23bb5',
950: '#000000',
},
}SCSS
$custom: #a23bb5; $custom-light: #c179cc; $custom-dark: #000000;
JSON
{
"hex": "#a23bb5",
"rgb": {
"r": 162,
"g": 59,
"b": 181
},
"hsl": {
"h": 290.656,
"s": 50.833,
"l": 47.059
},
"oklch": {
"l": 0.54664,
"c": 0.19946,
"h": 321
},
"luminance": 0.14146
}Semantic roles & 50–950 ramp
primary
#A23BB5
secondary
#90C686
accent
#DA4D63
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82