#A248BF#A248BF
#A248BF is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.8% C 0.191 H 317.0°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #A248BF |
|---|---|
| RGB | rgb(162, 72, 191) |
| HSL | hsl(285, 48%, 52%) |
| HSV | hsv(285, 62%, 75%) |
| CMYK | cmyk(15.2%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(47.08, 55.25, -46.55) |
| CIE-LCH | lch(47.08, 72.24, 319.89°) |
| OKLab | oklab(56.75% 0.1399 -0.1303) |
| OKLCH | oklch(56.75% 0.191 317) |
| XYZ | xyz(26.6203, 16.0787, 50.9814) |
| Luminance | 0.1608 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.52
Medium Purple
#9E43A2
ΔE00 5.27
Darkorchid
#9932CC
ΔE00 5.32
Amethyst
#9B5FC0
ΔE00 5.50
Barney
#AC1DB8
ΔE00 5.94
Ugly Purple
#A442A0
ΔE00 5.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A248BF #65BF48
analogous
#6748BF #A248BF #BF48A1
triadic
#A248BF #BFA248 #48BFA2
tetradic
#A248BF #BF6748 #65BF48 #48A1BF
square
#A248BF #BF6748 #65BF48 #48A1BF
split-complementary
#A248BF #A1BF48 #48BF67
monochromatic
#582468 #7E3496 #A248BF #B975CF #D0A3DF
Accessibility & contrast
On white
4.98
#A248BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#A248BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A248BF
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A248BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A248BF | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#236AC3
Deuteranopia (green-blind)
#4B72BC
Tritanopia (blue-blind)
#A15D7D
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #a248bf; /* rgb */ color: rgb(162, 72, 191); /* oklch */ color: oklch(56.8% 0.191 317.0);
Tailwind
colors: {
custom: {
50: '#c180d3',
500: '#a248bf',
950: '#000000',
},
}SCSS
$custom: #a248bf; $custom-light: #c180d3; $custom-dark: #000000;
JSON
{
"hex": "#a248bf",
"rgb": {
"r": 162,
"g": 72,
"b": 191
},
"hsl": {
"h": 285.378,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.56752,
"c": 0.1912,
"h": 317
},
"luminance": 0.16078
}Semantic roles & 50–950 ramp
primary
#A248BF
secondary
#A4CC97
accent
#D85071
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83