#A23BB2#A23BB2
#A23BB2 is a mid, vivid purple. Relative luminance 0.140; OKLCH L 54.5% C 0.197 H 322.0°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A23BB2 |
|---|---|
| RGB | rgb(162, 59, 178) |
| HSL | hsl(292, 50%, 46%) |
| HSV | hsv(292, 67%, 70%) |
| CMYK | cmyk(9%, 66.9%, 0%, 30.2%) |
| CIE-LAB | lab(44.27, 58.43, -43.42) |
| CIE-LCH | lch(44.27, 72.79, 323.38°) |
| OKLab | oklab(54.48% 0.1551 -0.1211) |
| OKLCH | oklch(54.48% 0.197 322) |
| XYZ | xyz(24.4993, 14.0250, 43.5275) |
| Luminance | 0.1402 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.94
Medium Purple
#9E43A2
ΔE00 3.22
Barney
#AC1DB8
ΔE00 3.38
Ugly Purple
#A442A0
ΔE00 4.01
Darkorchid
#9932CC
ΔE00 5.30
Warm Purple
#952E8F
ΔE00 6.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A23BB2 #4BB23B
analogous
#673BB2 #A23BB2 #B23B87
triadic
#A23BB2 #B2A23B #3BB2A2
tetradic
#A23BB2 #B2673B #4BB23B #3B87B2
square
#A23BB2 #B2673B #4BB23B #3B87B2
split-complementary
#A23BB2 #87B23B #3BB267
monochromatic
#4E1D56 #782C84 #A23BB2 #BC60CA #CF8EDA
Accessibility & contrast
On white
5.52
#A23BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#A23BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A23BB2
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A23BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A23BB2 | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1961B5
Deuteranopia (green-blind)
#4A6DAF
Tritanopia (blue-blind)
#A44F72
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #a23bb2; /* rgb */ color: rgb(162, 59, 178); /* oklch */ color: oklch(54.5% 0.197 322.0);
Tailwind
colors: {
custom: {
50: '#c179c9',
500: '#a23bb2',
950: '#000000',
},
}SCSS
$custom: #a23bb2; $custom-light: #c179c9; $custom-dark: #000000;
JSON
{
"hex": "#a23bb2",
"rgb": {
"r": 162,
"g": 59,
"b": 178
},
"hsl": {
"h": 291.933,
"s": 50.211,
"l": 46.471
},
"oklch": {
"l": 0.54483,
"c": 0.1968,
"h": 322
},
"luminance": 0.14024
}Semantic roles & 50–950 ramp
primary
#A23BB2
secondary
#8DC485
accent
#DA4E61
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82