#A233AA#A233AA
#A233AA is a mid, vivid purple. Relative luminance 0.130; OKLCH L 53.2% C 0.200 H 325.0°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).
Color values
| HEX | #A233AA |
|---|---|
| RGB | rgb(162, 51, 170) |
| HSL | hsl(296, 54%, 43%) |
| HSV | hsv(296, 70%, 67%) |
| CMYK | cmyk(4.7%, 70%, 0%, 33.3%) |
| CIE-LAB | lab(42.69, 60.12, -41.20) |
| CIE-LCH | lch(42.69, 72.88, 325.58°) |
| OKLab | oklab(53.2% 0.1638 -0.1145) |
| OKLCH | oklch(53.2% 0.2 325) |
| XYZ | xyz(23.3393, 12.9528, 39.2932) |
| Luminance | 0.1295 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Barney
#AC1DB8
ΔE00 2.93
Purply
#983FB2
ΔE00 3.06
Medium Purple
#9E43A2
ΔE00 3.15
Ugly Purple
#A442A0
ΔE00 3.75
Warm Purple
#952E8F
ΔE00 5.00
Barney Purple
#A00498
ΔE00 5.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A233AA #3BAA33
analogous
#6633AA #A233AA #AA3376
triadic
#A233AA #AAA233 #33AAA2
tetradic
#A233AA #AA6633 #3BAA33 #3376AA
square
#A233AA #AA6633 #3BAA33 #3376AA
split-complementary
#A233AA #76AA33 #33AA66
monochromatic
#48174C #75257B #A233AA #C250CA #D37FD9
Accessibility & contrast
On white
5.85
#A233AA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#A233AA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A233AA
5.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A233AA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A233AA | 1.00 | 5.85 | 3.59 | 5.85 |
| #FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155CAD
Deuteranopia (green-blind)
#4B69A7
Tritanopia (blue-blind)
#A6466B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #a233aa; /* rgb */ color: rgb(162, 51, 170); /* oklch */ color: oklch(53.2% 0.200 325.0);
Tailwind
colors: {
custom: {
50: '#c175c4',
500: '#a233aa',
950: '#000000',
},
}SCSS
$custom: #a233aa; $custom-light: #c175c4; $custom-dark: #000000;
JSON
{
"hex": "#a233aa",
"rgb": {
"r": 162,
"g": 51,
"b": 170
},
"hsl": {
"h": 295.966,
"s": 53.846,
"l": 43.333
},
"oklch": {
"l": 0.53202,
"c": 0.1999,
"h": 325
},
"luminance": 0.12951
}Semantic roles & 50–950 ramp
primary
#A233AA
secondary
#7CC277
accent
#DD4B54
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82