#A233A8#A233A8
#A233A8 is a mid, vivid purple. Relative luminance 0.129; OKLCH L 53.1% C 0.198 H 325.7°. Best body text is #FFFFFF at 5.87:1 contrast (WCAG AA passes).
Color values
| HEX | #A233A8 |
|---|---|
| RGB | rgb(162, 51, 168) |
| HSL | hsl(297, 53%, 43%) |
| HSV | hsv(297, 70%, 66%) |
| CMYK | cmyk(3.6%, 69.6%, 0%, 34.1%) |
| CIE-LAB | lab(42.58, 59.77, -40.19) |
| CIE-LCH | lch(42.58, 72.02, 326.08°) |
| OKLab | oklab(53.08% 0.1638 -0.1116) |
| OKLCH | oklch(53.08% 0.198 325.7) |
| XYZ | xyz(23.1515, 12.8777, 38.3044) |
| Luminance | 0.1288 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.00
Barney
#AC1DB8
ΔE00 3.17
Purply
#983FB2
ΔE00 3.32
Ugly Purple
#A442A0
ΔE00 3.54
Warm Purple
#952E8F
ΔE00 4.71
Barney Purple
#A00498
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A233A8 #39A833
analogous
#6733A8 #A233A8 #A83373
triadic
#A233A8 #A8A233 #33A8A2
tetradic
#A233A8 #A86733 #39A833 #3373A8
square
#A233A8 #A86733 #39A833 #3373A8
split-complementary
#A233A8 #73A833 #33A867
monochromatic
#47164A #752579 #A233A8 #C34FC9 #D37ED8
Accessibility & contrast
On white
5.87
#A233A8 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.58
#A233A8 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A233A8
5.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A233A8 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A233A8 | 1.00 | 5.87 | 3.58 | 5.87 |
| #FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.58 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#195CAB
Deuteranopia (green-blind)
#4C69A5
Tritanopia (blue-blind)
#A6456A
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #a233a8; /* rgb */ color: rgb(162, 51, 168); /* oklch */ color: oklch(53.1% 0.198 325.7);
Tailwind
colors: {
custom: {
50: '#c175c2',
500: '#a233a8',
950: '#000000',
},
}SCSS
$custom: #a233a8; $custom-light: #c175c2; $custom-dark: #000000;
JSON
{
"hex": "#a233a8",
"rgb": {
"r": 162,
"g": 51,
"b": 168
},
"hsl": {
"h": 296.923,
"s": 53.425,
"l": 42.941
},
"oklch": {
"l": 0.53084,
"c": 0.19823,
"h": 325.7
},
"luminance": 0.12876
}Semantic roles & 50–950 ramp
primary
#A233A8
secondary
#7AC176
accent
#DD4B52
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130912
muted
#827B81