#A246BF#A246BF
#A246BF is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.194 H 317.2°. Best body text is #FFFFFF at 5.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A246BF |
|---|---|
| RGB | rgb(162, 70, 191) |
| HSL | hsl(286, 49%, 51%) |
| HSV | hsv(286, 63%, 75%) |
| CMYK | cmyk(15.2%, 63.4%, 0%, 25.1%) |
| CIE-LAB | lab(46.74, 56.17, -47.08) |
| CIE-LCH | lch(46.74, 73.29, 320.03°) |
| OKLab | oklab(56.51% 0.1423 -0.1318) |
| OKLCH | oklch(56.51% 0.194 317.2) |
| XYZ | xyz(26.4931, 15.8243, 50.9390) |
| Luminance | 0.1582 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.23
Darkorchid
#9932CC
ΔE00 4.98
Medium Purple
#9E43A2
ΔE00 5.19
Barney
#AC1DB8
ΔE00 5.56
Amethyst
#9B5FC0
ΔE00 5.90
Ugly Purple
#A442A0
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246BF #63BF46
analogous
#6546BF #A246BF #BF469F
triadic
#A246BF #BFA246 #46BFA2
tetradic
#A246BF #BF6546 #63BF46 #469FBF
square
#A246BF #BF6546 #63BF46 #469FBF
split-complementary
#A246BF #9FBF46 #46BF65
monochromatic
#572467 #7D3394 #A246BF #B973CF #D0A1DE
Accessibility & contrast
On white
5.04
#A246BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#A246BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A246BF
5.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A246BF | 1.00 | 5.04 | 4.16 | 5.04 |
| #FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E69C3
Deuteranopia (green-blind)
#4972BC
Tritanopia (blue-blind)
#A15B7C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a246bf; /* rgb */ color: rgb(162, 70, 191); /* oklch */ color: oklch(56.5% 0.194 317.2);
Tailwind
colors: {
custom: {
50: '#c17fd3',
500: '#a246bf',
950: '#000000',
},
}SCSS
$custom: #a246bf; $custom-light: #c17fd3; $custom-dark: #000000;
JSON
{
"hex": "#a246bf",
"rgb": {
"r": 162,
"g": 70,
"b": 191
},
"hsl": {
"h": 285.62,
"s": 48.594,
"l": 51.176
},
"oklch": {
"l": 0.5651,
"c": 0.19402,
"h": 317.2
},
"luminance": 0.15823
}Semantic roles & 50–950 ramp
primary
#A246BF
secondary
#A2CB96
accent
#D85070
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83