#A247F0#A247F0
#A247F0 is a mid, highly saturated violet. Relative luminance 0.185; OKLCH L 59.9% C 0.241 H 304.6°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #A247F0 |
|---|---|
| RGB | rgb(162, 71, 240) |
| HSL | hsl(272, 85%, 61%) |
| HSV | hsv(272, 70%, 94%) |
| CMYK | cmyk(32.5%, 70.4%, 0%, 5.9%) |
| CIE-LAB | lab(50.07, 66.19, -69.70) |
| CIE-LCH | lch(50.07, 96.12, 313.52°) |
| OKLab | oklab(59.9% 0.1369 -0.1982) |
| OKLCH | oklch(59.9% 0.241 304.6) |
| XYZ | xyz(32.8781, 18.4793, 84.2560) |
| Luminance | 0.1848 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lightish Purple
#A552E6
ΔE00 2.57
Electric Purple
#AA23FF
ΔE00 4.03
Lighter Purple
#A55AF4
ΔE00 4.19
Neon Purple
#BC13FE
ΔE00 4.94
Purpley
#8756E4
ΔE00 5.04
Bright Violet
#AD0AFD
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A247F0 #95F047
analogous
#4D47F0 #A247F0 #F047E9
triadic
#A247F0 #F0A247 #47F0A2
tetradic
#A247F0 #F04D47 #95F047 #47E9F0
square
#A247F0 #F04D47 #95F047 #47E9F0
split-complementary
#A247F0 #E9F047 #47F04D
monochromatic
#640EAE #8513E7 #A247F0 #BF80F5 #DBB8F9
Accessibility & contrast
On white
4.47
#A247F0 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#A247F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A247F0
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A247F0 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A247F0 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0075F5
Deuteranopia (green-blind)
#0077EC
Tritanopia (blue-blind)
#936F97
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a247f0; /* rgb */ color: rgb(162, 71, 240); /* oklch */ color: oklch(59.9% 0.241 304.6);
Tailwind
colors: {
custom: {
50: '#c381f6',
500: '#a247f0',
950: '#000000',
},
}SCSS
$custom: #a247f0; $custom-light: #c381f6; $custom-dark: #000000;
JSON
{
"hex": "#a247f0",
"rgb": {
"r": 162,
"g": 71,
"b": 240
},
"hsl": {
"h": 272.308,
"s": 84.925,
"l": 60.98
},
"oklch": {
"l": 0.59904,
"c": 0.24089,
"h": 304.6
},
"luminance": 0.18479
}Semantic roles & 50–950 ramp
primary
#A247F0
secondary
#C7E9AA
accent
#E1046A
background
#FCF8FF
surface
#F8EFFF
border
#D1CAD7
text
#130B17
muted
#827C85