#A339B2#A339B2
#A339B2 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.200 H 322.5°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #A339B2 |
|---|---|
| RGB | rgb(163, 57, 178) |
| HSL | hsl(293, 51%, 46%) |
| HSV | hsv(293, 68%, 70%) |
| CMYK | cmyk(8.4%, 68%, 0%, 30.2%) |
| CIE-LAB | lab(44.13, 59.47, -43.63) |
| CIE-LCH | lch(44.13, 73.76, 323.73°) |
| OKLab | oklab(54.41% 0.1585 -0.1217) |
| OKLCH | oklch(54.41% 0.2 322.5) |
| XYZ | xyz(24.6025, 13.9285, 43.5034) |
| Luminance | 0.1393 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 2.14
Barney
#AC1DB8
ΔE00 3.08
Medium Purple
#9E43A2
ΔE00 3.33
Ugly Purple
#A442A0
ΔE00 4.06
Darkorchid
#9932CC
ΔE00 5.30
Warm Purple
#952E8F
ΔE00 6.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A339B2 #48B239
analogous
#6639B2 #A339B2 #B23984
triadic
#A339B2 #B2A339 #39B2A3
tetradic
#A339B2 #B26639 #48B239 #3984B2
square
#A339B2 #B26639 #48B239 #3984B2
split-complementary
#A339B2 #84B239 #39B266
monochromatic
#4E1B55 #792A84 #A339B2 #BD5DCB #D08BDA
Accessibility & contrast
On white
5.55
#A339B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.79
#A339B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A339B2
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A339B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A339B2 | 1.00 | 5.55 | 3.79 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.79 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1561B6
Deuteranopia (green-blind)
#4A6CAF
Tritanopia (blue-blind)
#A54D71
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #a339b2; /* rgb */ color: rgb(163, 57, 178); /* oklch */ color: oklch(54.4% 0.200 322.5);
Tailwind
colors: {
custom: {
50: '#c278c9',
500: '#a339b2',
950: '#000000',
},
}SCSS
$custom: #a339b2; $custom-light: #c278c9; $custom-dark: #000000;
JSON
{
"hex": "#a339b2",
"rgb": {
"r": 163,
"g": 57,
"b": 178
},
"hsl": {
"h": 292.562,
"s": 51.489,
"l": 46.078
},
"oklch": {
"l": 0.54413,
"c": 0.19982,
"h": 322.5
},
"luminance": 0.13927
}Semantic roles & 50–950 ramp
primary
#A339B2
secondary
#8BC482
accent
#DB4D5E
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82