#A248B2#A248B2
#A248B2 is a mid, vivid purple. Relative luminance 0.155; OKLCH L 56.0% C 0.179 H 321.4°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A248B2 |
|---|---|
| RGB | rgb(162, 72, 178) |
| HSL | hsl(291, 42%, 49%) |
| HSV | hsv(291, 60%, 70%) |
| CMYK | cmyk(9%, 59.6%, 0%, 30.2%) |
| CIE-LAB | lab(46.35, 52.67, -40.11) |
| CIE-LCH | lch(46.35, 66.20, 322.71°) |
| OKLab | oklab(55.99% 0.1396 -0.1115) |
| OKLCH | oklch(55.99% 0.179 321.4) |
| XYZ | xyz(25.2526, 15.5317, 43.7786) |
| Luminance | 0.1553 (WCAG relative) |
| Temperature | neutral |
| Family | purple |
Closest named colors
Medium Purple
#9E43A2
ΔE00 3.08
Purply
#983FB2
ΔE00 3.24
Ugly Purple
#A442A0
ΔE00 3.72
Barney
#AC1DB8
ΔE00 5.74
Amethyst
#9B5FC0
ΔE00 6.23
Darkorchid
#9932CC
ΔE00 6.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A248B2 #58B248
analogous
#6D48B2 #A248B2 #B2488D
triadic
#A248B2 #B2A248 #48B2A2
tetradic
#A248B2 #B26D48 #58B248 #488DB2
square
#A248B2 #B26D48 #58B248 #488DB2
split-complementary
#A248B2 #8DB248 #48B26D
monochromatic
#53255B #7A3686 #A248B2 #B971C6 #CF9DD7
Accessibility & contrast
On white
5.11
#A248B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.11
#A248B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A248B2
5.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A248B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A248B2 | 1.00 | 5.11 | 4.11 | 5.11 |
| #FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3267B5
Deuteranopia (green-blind)
#5371AF
Tritanopia (blue-blind)
#A45876
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a248b2; /* rgb */ color: rgb(162, 72, 178); /* oklch */ color: oklch(56.0% 0.179 321.4);
Tailwind
colors: {
custom: {
50: '#c080c9',
500: '#a248b2',
950: '#000000',
},
}SCSS
$custom: #a248b2; $custom-light: #c080c9; $custom-dark: #000000;
JSON
{
"hex": "#a248b2",
"rgb": {
"r": 162,
"g": 72,
"b": 178
},
"hsl": {
"h": 290.943,
"s": 42.4,
"l": 49.02
},
"oklch": {
"l": 0.55993,
"c": 0.17864,
"h": 321.4
},
"luminance": 0.1553
}Semantic roles & 50–950 ramp
primary
#A248B2
secondary
#99C492
accent
#D25668
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130B13
muted
#827C82