#A239AF#A239AF
#A239AF is a mid, vivid purple. Relative luminance 0.137; OKLCH L 54.1% C 0.197 H 323.1°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #A239AF |
|---|---|
| RGB | rgb(162, 57, 175) |
| HSL | hsl(293, 51%, 45%) |
| HSV | hsv(293, 67%, 69%) |
| CMYK | cmyk(7.4%, 67.4%, 0%, 31.4%) |
| CIE-LAB | lab(43.81, 58.69, -42.39) |
| CIE-LCH | lch(43.81, 72.39, 324.16°) |
| OKLab | oklab(54.09% 0.1574 -0.1181) |
| OKLCH | oklch(54.09% 0.197 323.1) |
| XYZ | xyz(24.1005, 13.7041, 41.9249) |
| Luminance | 0.1370 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.21
Medium Purple
#9E43A2
ΔE00 2.96
Barney
#AC1DB8
ΔE00 3.21
Ugly Purple
#A442A0
ΔE00 3.72
Darkorchid
#9932CC
ΔE00 5.65
Warm Purple
#952E8F
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A239AF #46AF39
analogous
#6739AF #A239AF #AF3981
triadic
#A239AF #AFA239 #39AFA2
tetradic
#A239AF #AF6739 #46AF39 #3981AF
square
#A239AF #AF6739 #46AF39 #3981AF
split-complementary
#A239AF #81AF39 #39AF67
monochromatic
#4D1B53 #772A81 #A239AF #BE5BCA #D08AD9
Accessibility & contrast
On white
5.61
#A239AF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#A239AF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A239AF
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A239AF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A239AF | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1A60B2
Deuteranopia (green-blind)
#4B6CAC
Tritanopia (blue-blind)
#A54C6F
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #a239af; /* rgb */ color: rgb(162, 57, 175); /* oklch */ color: oklch(54.1% 0.197 323.1);
Tailwind
colors: {
custom: {
50: '#c178c7',
500: '#a239af',
950: '#000000',
},
}SCSS
$custom: #a239af; $custom-light: #c178c7; $custom-dark: #000000;
JSON
{
"hex": "#a239af",
"rgb": {
"r": 162,
"g": 57,
"b": 175
},
"hsl": {
"h": 293.39,
"s": 50.862,
"l": 45.49
},
"oklch": {
"l": 0.54094,
"c": 0.19674,
"h": 323.1
},
"luminance": 0.13703
}Semantic roles & 50–950 ramp
primary
#A239AF
secondary
#88C381
accent
#DA4D5D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130913
muted
#827B82