#A245BF#A245BF
#A245BF is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.195 H 317.3°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #A245BF |
|---|---|
| RGB | rgb(162, 69, 191) |
| HSL | hsl(286, 49%, 51%) |
| HSV | hsv(286, 64%, 75%) |
| CMYK | cmyk(15.2%, 63.9%, 0%, 25.1%) |
| CIE-LAB | lab(46.58, 56.62, -47.34) |
| CIE-LCH | lch(46.58, 73.81, 320.10°) |
| OKLab | oklab(56.39% 0.1435 -0.1326) |
| OKLCH | oklch(56.39% 0.195 317.3) |
| XYZ | xyz(26.4310, 15.7003, 50.9183) |
| Luminance | 0.1570 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Purply
#983FB2
ΔE00 3.10
Darkorchid
#9932CC
ΔE00 4.81
Medium Purple
#9E43A2
ΔE00 5.16
Barney
#AC1DB8
ΔE00 5.38
Ugly Purple
#A442A0
ΔE00 5.91
Amethyst
#9B5FC0
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A245BF #62BF45
analogous
#6545BF #A245BF #BF459F
triadic
#A245BF #BFA245 #45BFA2
tetradic
#A245BF #BF6545 #62BF45 #459FBF
square
#A245BF #BF6545 #62BF45 #459FBF
split-complementary
#A245BF #9FBF45 #45BF65
monochromatic
#562366 #7D3394 #A245BF #B973CF #D0A0DE
Accessibility & contrast
On white
5.07
#A245BF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#A245BF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #A245BF
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A245BF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A245BF | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1B69C3
Deuteranopia (green-blind)
#4871BC
Tritanopia (blue-blind)
#A15B7C
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #a245bf; /* rgb */ color: rgb(162, 69, 191); /* oklch */ color: oklch(56.4% 0.195 317.3);
Tailwind
colors: {
custom: {
50: '#c17fd3',
500: '#a245bf',
950: '#000000',
},
}SCSS
$custom: #a245bf; $custom-light: #c17fd3; $custom-dark: #000000;
JSON
{
"hex": "#a245bf",
"rgb": {
"r": 162,
"g": 69,
"b": 191
},
"hsl": {
"h": 285.738,
"s": 48.8,
"l": 50.98
},
"oklch": {
"l": 0.56391,
"c": 0.1954,
"h": 317.3
},
"luminance": 0.15699
}Semantic roles & 50–950 ramp
primary
#A245BF
secondary
#A2CB95
accent
#D84F70
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83