#A233C2#A233C2
#A233C2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.7% C 0.220 H 317.5°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).
Color values
| HEX | #A233C2 |
|---|---|
| RGB | rgb(162, 51, 194) |
| HSL | hsl(287, 58%, 48%) |
| HSV | hsv(287, 74%, 76%) |
| CMYK | cmyk(16.5%, 73.7%, 0%, 23.9%) |
| CIE-LAB | lab(44.15, 64.54, -52.98) |
| CIE-LCH | lch(44.15, 83.50, 320.62°) |
| OKLab | oklab(54.71% 0.1624 -0.149) |
| OKLCH | oklch(54.71% 0.22 317.5) |
| XYZ | xyz(25.8203, 13.9452, 52.3601) |
| Luminance | 0.1394 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.59
Purply
#983FB2
ΔE00 3.00
Barney
#AC1DB8
ΔE00 3.21
Vibrant Purple
#AD03DE
ΔE00 4.36
Medium Purple
#9E43A2
ΔE00 6.11
Darkviolet
#9400D3
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A233C2 #53C233
analogous
#5A33C2 #A233C2 #C2339B
triadic
#A233C2 #C2A233 #33C2A2
tetradic
#A233C2 #C25A33 #53C233 #339BC2
square
#A233C2 #C25A33 #53C233 #339BC2
split-complementary
#A233C2 #9BC233 #33C25A
monochromatic
#511A61 #7A2692 #A233C2 #BA5ED5 #CF8EE1
Accessibility & contrast
On white
5.54
#A233C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#A233C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A233C2
5.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A233C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A233C2 | 1.00 | 5.54 | 3.79 | 5.54 |
| #FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#376CBF
Tritanopia (blue-blind)
#A15178
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a233c2; /* rgb */ color: rgb(162, 51, 194); /* oklch */ color: oklch(54.7% 0.220 317.5);
Tailwind
colors: {
custom: {
50: '#c276d5',
500: '#a233c2',
950: '#000000',
},
}SCSS
$custom: #a233c2; $custom-light: #c276d5; $custom-dark: #000000;
JSON
{
"hex": "#a233c2",
"rgb": {
"r": 162,
"g": 51,
"b": 194
},
"hsl": {
"h": 286.573,
"s": 58.367,
"l": 48.039
},
"oklch": {
"l": 0.54714,
"c": 0.22036,
"h": 317.5
},
"luminance": 0.13944
}Semantic roles & 50–950 ramp
primary
#A233C2
secondary
#95CC85
accent
#E24669
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83