#A245BE#A245BE
#A245BE is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.3% C 0.194 H 317.6°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A245BE |
|---|---|
| RGB | rgb(162, 69, 190) |
| HSL | hsl(286, 48%, 51%) |
| HSV | hsv(286, 64%, 75%) |
| CMYK | cmyk(14.7%, 63.7%, 0%, 25.5%) |
| CIE-LAB | lab(46.52, 56.42, -46.86) |
| CIE-LCH | lch(46.52, 73.34, 320.29°) |
| OKLab | oklab(56.33% 0.1435 -0.1312) |
| OKLCH | oklch(56.33% 0.194 317.6) |
| XYZ | xyz(26.3214, 15.6564, 50.3407) |
| Luminance | 0.1565 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.01
Darkorchid
#9932CC
ΔE00 4.90
Medium Purple
#9E43A2
ΔE00 4.99
Barney
#AC1DB8
ΔE00 5.33
Ugly Purple
#A442A0
ΔE00 5.74
Amethyst
#9B5FC0
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A245BE #61BE45
analogous
#6545BE #A245BE #BE459D
triadic
#A245BE #BEA245 #45BEA2
tetradic
#A245BE #BE6545 #61BE45 #459DBE
square
#A245BE #BE6545 #61BE45 #459DBE
split-complementary
#A245BE #9DBE45 #45BE65
monochromatic
#562365 #7D3393 #A245BE #B972CE #CFA0DE
Accessibility & contrast
On white
5.08
#A245BE on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#A245BE on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A245BE
5.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A245BE | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A245BE | 1.00 | 5.08 | 4.13 | 5.08 |
| #FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D68C2
Deuteranopia (green-blind)
#4971BB
Tritanopia (blue-blind)
#A15A7B
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a245be; /* rgb */ color: rgb(162, 69, 190); /* oklch */ color: oklch(56.3% 0.194 317.6);
Tailwind
colors: {
custom: {
50: '#c17fd2',
500: '#a245be',
950: '#000000',
},
}SCSS
$custom: #a245be; $custom-light: #c17fd2; $custom-dark: #000000;
JSON
{
"hex": "#a245be",
"rgb": {
"r": 162,
"g": 69,
"b": 190
},
"hsl": {
"h": 286.116,
"s": 48.207,
"l": 50.784
},
"oklch": {
"l": 0.5633,
"c": 0.19444,
"h": 317.6
},
"luminance": 0.15655
}Semantic roles & 50–950 ramp
primary
#A245BE
secondary
#A1CA95
accent
#D8506F
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83