#A748BF#A748BF
#A748BF is a mid, vivid purple. Relative luminance 0.166; OKLCH L 57.4% C 0.193 H 319.0°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A748BF |
|---|---|
| RGB | rgb(167, 72, 191) |
| HSL | hsl(288, 48%, 52%) |
| HSV | hsv(288, 62%, 75%) |
| CMYK | cmyk(12.6%, 62.3%, 0%, 25.1%) |
| CIE-LAB | lab(47.77, 56.46, -45.41) |
| CIE-LCH | lch(47.77, 72.45, 321.19°) |
| OKLab | oklab(57.4% 0.146 -0.1268) |
| OKLCH | oklch(57.4% 0.193 319) |
| XYZ | xyz(27.6565, 16.6130, 51.0299) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 4.20
Medium Purple
#9E43A2
ΔE00 5.26
Amethyst
#9B5FC0
ΔE00 5.54
Ugly Purple
#A442A0
ΔE00 5.73
Mediumorchid
#BA55D3
ΔE00 5.91
Barney
#AC1DB8
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A748BF #60BF48
analogous
#6C48BF #A748BF #BF489C
triadic
#A748BF #BFA748 #48BFA7
tetradic
#A748BF #BF6C48 #60BF48 #489CBF
square
#A748BF #BF6C48 #60BF48 #489CBF
split-complementary
#A748BF #9CBF48 #48BF6C
monochromatic
#5B2468 #823496 #A748BF #BD75CF #D3A3DF
Accessibility & contrast
On white
4.86
#A748BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#A748BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A748BF
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A748BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A748BF | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#276BC3
Deuteranopia (green-blind)
#4F75BC
Tritanopia (blue-blind)
#A75C7D
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #a748bf; /* rgb */ color: rgb(167, 72, 191); /* oklch */ color: oklch(57.4% 0.193 319.0);
Tailwind
colors: {
custom: {
50: '#c481d3',
500: '#a748bf',
950: '#000000',
},
}SCSS
$custom: #a748bf; $custom-light: #c481d3; $custom-dark: #000000;
JSON
{
"hex": "#a748bf",
"rgb": {
"r": 167,
"g": 72,
"b": 191
},
"hsl": {
"h": 287.899,
"s": 48.178,
"l": 51.569
},
"oklch": {
"l": 0.57397,
"c": 0.19338,
"h": 319
},
"luminance": 0.16612
}Semantic roles & 50–950 ramp
primary
#A748BF
secondary
#A2CC97
accent
#D8506B
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83