#A34FC7#A34FC7
#A34FC7 is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.2% C 0.190 H 314.4°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A34FC7 |
|---|---|
| RGB | rgb(163, 79, 199) |
| HSL | hsl(282, 52%, 55%) |
| HSV | hsv(282, 60%, 78%) |
| CMYK | cmyk(18.1%, 60.3%, 0%, 22%) |
| CIE-LAB | lab(48.89, 53.82, -48.28) |
| CIE-LCH | lch(48.89, 72.31, 318.11°) |
| OKLab | oklab(58.24% 0.1326 -0.1354) |
| OKLCH | oklch(58.24% 0.19 314.4) |
| XYZ | xyz(28.2074, 17.5029, 55.9143) |
| Luminance | 0.1750 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 4.07
Lightish Purple
#A552E6
ΔE00 4.95
Mediumorchid
#BA55D3
ΔE00 5.16
Purply
#983FB2
ΔE00 5.48
Deep Lavender
#8D5EB7
ΔE00 5.65
Darkorchid
#9932CC
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A34FC7 #73C74F
analogous
#674FC7 #A34FC7 #C74FAF
triadic
#A34FC7 #C7A34F #4FC7A3
tetradic
#A34FC7 #C7674F #73C74F #4FAFC7
square
#A34FC7 #C7674F #73C74F #4FAFC7
split-complementary
#A34FC7 #AFC74F #4FC767
monochromatic
#5E2676 #8334A4 #A34FC7 #BB7DD6 #D4ACE5
Accessibility & contrast
On white
4.67
#A34FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.50
#A34FC7 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #A34FC7
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A34FC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##A34FC7 | 1.00 | 4.67 | 4.50 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#286FCB
Deuteranopia (green-blind)
#4C76C4
Tritanopia (blue-blind)
#A06484
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #a34fc7; /* rgb */ color: rgb(163, 79, 199); /* oklch */ color: oklch(58.2% 0.190 314.4);
Tailwind
colors: {
custom: {
50: '#c185d8',
500: '#a34fc7',
950: '#000000',
},
}SCSS
$custom: #a34fc7; $custom-light: #c185d8; $custom-dark: #000000;
JSON
{
"hex": "#a34fc7",
"rgb": {
"r": 163,
"g": 79,
"b": 199
},
"hsl": {
"h": 282,
"s": 51.724,
"l": 54.51
},
"oklch": {
"l": 0.58242,
"c": 0.18951,
"h": 314.4
},
"luminance": 0.17502
}Semantic roles & 50–950 ramp
primary
#A34FC7
secondary
#AFD2A0
accent
#DB4D77
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83