#A235C2#A235C2
#A235C2 is a mid, highly saturated purple. Relative luminance 0.141; OKLCH L 54.9% C 0.218 H 317.4°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #A235C2 |
|---|---|
| RGB | rgb(162, 53, 194) |
| HSL | hsl(286, 57%, 48%) |
| HSV | hsv(286, 73%, 76%) |
| CMYK | cmyk(16.5%, 72.7%, 0%, 23.9%) |
| CIE-LAB | lab(44.41, 63.81, -52.57) |
| CIE-LCH | lch(44.41, 82.67, 320.52°) |
| OKLab | oklab(54.9% 0.1605 -0.1478) |
| OKLCH | oklch(54.9% 0.218 317.4) |
| XYZ | xyz(25.9096, 14.1237, 52.3898) |
| Luminance | 0.1412 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Darkorchid
#9932CC
ΔE00 2.69
Purply
#983FB2
ΔE00 2.90
Barney
#AC1DB8
ΔE00 3.38
Vibrant Purple
#AD03DE
ΔE00 4.51
Medium Purple
#9E43A2
ΔE00 6.00
Darkviolet
#9400D3
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A235C2 #55C235
analogous
#5B35C2 #A235C2 #C2359B
triadic
#A235C2 #C2A235 #35C2A2
tetradic
#A235C2 #C25B35 #55C235 #359BC2
square
#A235C2 #C25B35 #55C235 #359BC2
split-complementary
#A235C2 #9BC235 #35C25B
monochromatic
#521B62 #7A2892 #A235C2 #BA60D4 #CF91E1
Accessibility & contrast
On white
5.49
#A235C2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.82
#A235C2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A235C2
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A235C2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A235C2 | 1.00 | 5.49 | 3.82 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.82 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0062C6
Deuteranopia (green-blind)
#396CBF
Tritanopia (blue-blind)
#A15279
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #a235c2; /* rgb */ color: rgb(162, 53, 194); /* oklch */ color: oklch(54.9% 0.218 317.4);
Tailwind
colors: {
custom: {
50: '#c277d5',
500: '#a235c2',
950: '#000000',
},
}SCSS
$custom: #a235c2; $custom-light: #c277d5; $custom-dark: #000000;
JSON
{
"hex": "#a235c2",
"rgb": {
"r": 162,
"g": 53,
"b": 194
},
"hsl": {
"h": 286.383,
"s": 57.085,
"l": 48.431
},
"oklch": {
"l": 0.54895,
"c": 0.21817,
"h": 317.4
},
"luminance": 0.14123
}Semantic roles & 50–950 ramp
primary
#A235C2
secondary
#97CC87
accent
#E0476A
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130914
muted
#827B83