#A239B2#A239B2
#A239B2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.3% C 0.199 H 322.1°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #A239B2 |
|---|---|
| RGB | rgb(162, 57, 178) |
| HSL | hsl(292, 51%, 46%) |
| HSV | hsv(292, 68%, 70%) |
| CMYK | cmyk(9%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(43.98, 59.24, -43.88) |
| CIE-LCH | lch(43.98, 73.72, 323.47°) |
| OKLab | oklab(54.27% 0.1574 -0.1224) |
| OKLCH | oklch(54.27% 0.199 322.1) |
| XYZ | xyz(24.3985, 13.8233, 43.4939) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 1.97
Barney
#AC1DB8
ΔE00 3.09
Medium Purple
#9E43A2
ΔE00 3.39
Ugly Purple
#A442A0
ΔE00 4.18
Darkorchid
#9932CC
ΔE00 5.17
Warm Purple
#952E8F
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239B2 #49B239
analogous
#6539B2 #A239B2 #B23985
triadic
#A239B2 #B2A239 #39B2A2
tetradic
#A239B2 #B26539 #49B239 #3985B2
square
#A239B2 #B26539 #49B239 #3985B2
split-complementary
#A239B2 #85B239 #39B265
monochromatic
#4E1B55 #782A84 #A239B2 #BD5DCB #D08BDA
Accessibility & contrast
On white
5.58
#A239B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#A239B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239B2
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239B2 | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1460B6
Deuteranopia (green-blind)
#496CAF
Tritanopia (blue-blind)
#A44E71
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a239b2; /* rgb */ color: rgb(162, 57, 178); /* oklch */ color: oklch(54.3% 0.199 322.1);
Tailwind
colors: {
custom: {
50: '#c178c9',
500: '#a239b2',
950: '#000000',
},
}SCSS
$custom: #a239b2; $custom-light: #c178c9; $custom-dark: #000000;
JSON
{
"hex": "#a239b2",
"rgb": {
"r": 162,
"g": 57,
"b": 178
},
"hsl": {
"h": 292.066,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.54274,
"c": 0.19936,
"h": 322.1
},
"luminance": 0.13822
}Semantic roles & 50–950 ramp
primary
#A239B2
secondary
#8BC482
accent
#DB4D60
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82