#A238B0#A238B0
#A238B0 is a mid, vivid purple. Relative luminance 0.136; OKLCH L 54.1% C 0.199 H 322.8°. Best body text is #FFFFFF at 5.63:1 contrast (WCAG AA passes).
Color values
| HEX | #A238B0 |
|---|---|
| RGB | rgb(162, 56, 176) |
| HSL | hsl(293, 52%, 45%) |
| HSV | hsv(293, 68%, 69%) |
| CMYK | cmyk(8%, 68.2%, 0%, 31%) |
| CIE-LAB | lab(43.72, 59.27, -43.11) |
| CIE-LCH | lch(43.72, 73.29, 323.97°) |
| OKLab | oklab(54.05% 0.1585 -0.1202) |
| OKLCH | oklch(54.05% 0.199 322.8) |
| XYZ | xyz(24.1502, 13.6457, 42.4277) |
| Luminance | 0.1364 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.15
Barney
#AC1DB8
ΔE00 3.02
Medium Purple
#9E43A2
ΔE00 3.20
Ugly Purple
#A442A0
ΔE00 3.96
Darkorchid
#9932CC
ΔE00 5.44
Warm Purple
#952E8F
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A238B0 #46B038
analogous
#6638B0 #A238B0 #B03882
triadic
#A238B0 #B0A238 #38B0A2
tetradic
#A238B0 #B06638 #46B038 #3882B0
square
#A238B0 #B06638 #46B038 #3882B0
split-complementary
#A238B0 #82B038 #38B066
monochromatic
#4D1A53 #772982 #A238B0 #BE5BCB #D089D9
Accessibility & contrast
On white
5.63
#A238B0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.73
#A238B0 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A238B0
5.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A238B0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A238B0 | 1.00 | 5.63 | 3.73 | 5.63 |
| #FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.73 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#155FB3
Deuteranopia (green-blind)
#4A6BAD
Tritanopia (blue-blind)
#A44C70
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a238b0; /* rgb */ color: rgb(162, 56, 176); /* oklch */ color: oklch(54.1% 0.199 322.8);
Tailwind
colors: {
custom: {
50: '#c177c8',
500: '#a238b0',
950: '#000000',
},
}SCSS
$custom: #a238b0; $custom-light: #c177c8; $custom-dark: #000000;
JSON
{
"hex": "#a238b0",
"rgb": {
"r": 162,
"g": 56,
"b": 176
},
"hsl": {
"h": 293,
"s": 51.724,
"l": 45.49
},
"oklch": {
"l": 0.54051,
"c": 0.19887,
"h": 322.8
},
"luminance": 0.13644
}Semantic roles & 50–950 ramp
primary
#A238B0
secondary
#88C480
accent
#DB4D5D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82