#A233A2#A233A2
#A233A2 is a mid, vivid purple. Relative luminance 0.127; OKLCH L 52.7% C 0.193 H 327.9°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A233A2 |
|---|---|
| RGB | rgb(162, 51, 162) |
| HSL | hsl(300, 52%, 42%) |
| HSV | hsv(300, 69%, 64%) |
| CMYK | cmyk(0%, 68.5%, 0%, 36.5%) |
| CIE-LAB | lab(42.25, 58.73, -37.14) |
| CIE-LCH | lch(42.25, 69.49, 327.69°) |
| OKLab | oklab(52.74% 0.1638 -0.1027) |
| OKLCH | oklch(52.74% 0.193 327.9) |
| XYZ | xyz(22.6054, 12.6592, 35.4283) |
| Luminance | 0.1266 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 2.78
Ugly Purple
#A442A0
ΔE00 3.06
Warm Purple
#952E8F
ΔE00 3.89
Barney
#AC1DB8
ΔE00 4.01
Purply
#983FB2
ΔE00 4.21
Barney Purple
#A00498
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A233A2 #33A233
analogous
#6B33A2 #A233A2 #A2336B
triadic
#A233A2 #A2A233 #33A2A2
tetradic
#A233A2 #A26B33 #33A233 #336BA2
square
#A233A2 #A26B33 #33A233 #336BA2
split-complementary
#A233A2 #6BA233 #33A26B
monochromatic
#451645 #732473 #A233A2 #C74CC7 #D57AD5
Accessibility & contrast
On white
5.95
#A233A2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.53
#A233A2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A233A2
5.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A233A2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A233A2 | 1.00 | 5.95 | 3.53 | 5.95 |
| #FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#225AA5
Deuteranopia (green-blind)
#4F699F
Tritanopia (blue-blind)
#A74367
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a233a2; /* rgb */ color: rgb(162, 51, 162); /* oklch */ color: oklch(52.7% 0.193 327.9);
Tailwind
colors: {
custom: {
50: '#c175be',
500: '#a233a2',
950: '#000000',
},
}SCSS
$custom: #a233a2; $custom-light: #c175be; $custom-dark: #000000;
JSON
{
"hex": "#a233a2",
"rgb": {
"r": 162,
"g": 51,
"b": 162
},
"hsl": {
"h": 300,
"s": 52.113,
"l": 41.765
},
"oklch": {
"l": 0.52736,
"c": 0.19332,
"h": 327.9
},
"luminance": 0.12658
}Semantic roles & 50–950 ramp
primary
#A233A2
secondary
#73BE73
accent
#DC4C4C
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81