#A248BB#A248BB
#A248BB is a mid, vivid purple. Relative luminance 0.159; OKLCH L 56.5% C 0.187 H 318.3°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A248BB |
|---|---|
| RGB | rgb(162, 72, 187) |
| HSL | hsl(287, 46%, 51%) |
| HSV | hsv(287, 61%, 73%) |
| CMYK | cmyk(13.4%, 61.5%, 0%, 26.7%) |
| CIE-LAB | lab(46.85, 54.44, -44.58) |
| CIE-LCH | lch(46.85, 70.37, 320.69°) |
| OKLab | oklab(56.51% 0.1399 -0.1246) |
| OKLCH | oklch(56.51% 0.187 318.3) |
| XYZ | xyz(26.1861, 15.9050, 48.6947) |
| Luminance | 0.1590 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.25
Medium Purple
#9E43A2
ΔE00 4.60
Ugly Purple
#A442A0
ΔE00 5.30
Amethyst
#9B5FC0
ΔE00 5.63
Darkorchid
#9932CC
ΔE00 5.68
Barney
#AC1DB8
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A248BB #61BB48
analogous
#6848BB #A248BB #BB489A
triadic
#A248BB #BBA248 #48BBA2
tetradic
#A248BB #BB6848 #61BB48 #489ABB
square
#A248BB #BB6848 #61BB48 #489ABB
split-complementary
#A248BB #9ABB48 #48BB68
monochromatic
#562564 #7D3690 #A248BB #B975CC #CFA1DC
Accessibility & contrast
On white
5.02
#A248BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.18
#A248BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A248BB
5.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A248BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A248BB | 1.00 | 5.02 | 4.18 | 5.02 |
| #FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.18 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2869BF
Deuteranopia (green-blind)
#4E72B8
Tritanopia (blue-blind)
#A25B7B
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a248bb; /* rgb */ color: rgb(162, 72, 187); /* oklch */ color: oklch(56.5% 0.187 318.3);
Tailwind
colors: {
custom: {
50: '#c080d0',
500: '#a248bb',
950: '#000000',
},
}SCSS
$custom: #a248bb; $custom-light: #c080d0; $custom-dark: #000000;
JSON
{
"hex": "#a248bb",
"rgb": {
"r": 162,
"g": 72,
"b": 187
},
"hsl": {
"h": 286.957,
"s": 45.817,
"l": 50.784
},
"oklch": {
"l": 0.56513,
"c": 0.18731,
"h": 318.3
},
"luminance": 0.15904
}Semantic roles & 50–950 ramp
primary
#A248BB
secondary
#A1C996
accent
#D5526F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130B14
muted
#827C82