#A246BE#A246BE
#A246BE is a mid, vivid purple. Relative luminance 0.158; OKLCH L 56.5% C 0.193 H 317.5°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).
Color values
| HEX | #A246BE |
|---|---|
| RGB | rgb(162, 70, 190) |
| HSL | hsl(286, 48%, 51%) |
| HSV | hsv(286, 63%, 75%) |
| CMYK | cmyk(14.7%, 63.2%, 0%, 25.5%) |
| CIE-LAB | lab(46.69, 55.97, -46.59) |
| CIE-LCH | lch(46.69, 72.82, 320.22°) |
| OKLab | oklab(56.45% 0.1423 -0.1304) |
| OKLCH | oklch(56.45% 0.193 317.5) |
| XYZ | xyz(26.3834, 15.7805, 50.3614) |
| Luminance | 0.1578 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.14
Medium Purple
#9E43A2
ΔE00 5.02
Darkorchid
#9932CC
ΔE00 5.06
Barney
#AC1DB8
ΔE00 5.51
Ugly Purple
#A442A0
ΔE00 5.76
Amethyst
#9B5FC0
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A246BE #62BE46
analogous
#6646BE #A246BE #BE469E
triadic
#A246BE #BEA246 #46BEA2
tetradic
#A246BE #BE6646 #62BE46 #469EBE
square
#A246BE #BE6646 #62BE46 #469EBE
split-complementary
#A246BE #9EBE46 #46BE66
monochromatic
#562466 #7D3493 #A246BE #B973CE #D0A1DE
Accessibility & contrast
On white
5.05
#A246BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.16
#A246BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A246BE
5.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A246BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A246BE | 1.00 | 5.05 | 4.16 | 5.05 |
| #FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.16 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F69C2
Deuteranopia (green-blind)
#4A72BB
Tritanopia (blue-blind)
#A15B7C
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #a246be; /* rgb */ color: rgb(162, 70, 190); /* oklch */ color: oklch(56.5% 0.193 317.5);
Tailwind
colors: {
custom: {
50: '#c17fd2',
500: '#a246be',
950: '#000000',
},
}SCSS
$custom: #a246be; $custom-light: #c17fd2; $custom-dark: #000000;
JSON
{
"hex": "#a246be",
"rgb": {
"r": 162,
"g": 70,
"b": 190
},
"hsl": {
"h": 286,
"s": 48,
"l": 50.98
},
"oklch": {
"l": 0.5645,
"c": 0.19305,
"h": 317.5
},
"luminance": 0.15779
}Semantic roles & 50–950 ramp
primary
#A246BE
secondary
#A2CA95
accent
#D85070
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83