#A873FC#A873FC
#A873FC is a light, vivid violet. Relative luminance 0.276; OKLCH L 67.2% C 0.197 H 298.8°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A873FC |
|---|---|
| RGB | rgb(168, 115, 252) |
| HSL | hsl(263, 96%, 72%) |
| HSV | hsv(263, 54%, 99%) |
| CMYK | cmyk(33.3%, 54.4%, 0%, 1.2%) |
| CIE-LAB | lab(59.54, 48.61, -61.08) |
| CIE-LCH | lch(59.54, 78.06, 308.52°) |
| OKLab | oklab(67.16% 0.0952 -0.1728) |
| OKLCH | oklch(67.16% 0.197 298.8) |
| XYZ | xyz(39.8456, 27.6142, 95.3074) |
| Luminance | 0.2762 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 2.60
Easter Purple
#C071FE
ΔE00 4.31
Light Purple
#BF77F6
ΔE00 4.78
Mediumpurple
#9370DB
ΔE00 5.69
Lighter Purple
#A55AF4
ΔE00 6.10
Bright Lavender
#C760FF
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A873FC #C7FC73
analogous
#7383FC #A873FC #ED73FC
triadic
#A873FC #FCA873 #73FCA8
tetradic
#A873FC #FC7383 #C7FC73 #73FCED
square
#A873FC #FC7383 #C7FC73 #73FCED
split-complementary
#A873FC #FCED73 #83FC73
monochromatic
#6005EF #8337FB #A873FC #CDAFFD #ECE1FE
Accessibility & contrast
On white
3.22
#A873FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.52
#A873FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A873FC
6.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A873FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A873FC | 1.00 | 3.22 | 6.52 | 6.52 |
| #FFFFFF | 3.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#398FFF
Deuteranopia (green-blind)
#4B8EF9
Tritanopia (blue-blind)
#968EAD
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #a873fc; /* rgb */ color: rgb(168, 115, 252); /* oklch */ color: oklch(67.2% 0.197 298.8);
Tailwind
colors: {
custom: {
50: '#c69dfe',
500: '#a873fc',
950: '#000000',
},
}SCSS
$custom: #a873fc; $custom-light: #c69dfe; $custom-dark: #000000;
JSON
{
"hex": "#a873fc",
"rgb": {
"r": 168,
"g": 115,
"b": 252
},
"hsl": {
"h": 263.212,
"s": 95.804,
"l": 71.961
},
"oklch": {
"l": 0.67157,
"c": 0.1973,
"h": 298.8
},
"luminance": 0.27615
}Semantic roles & 50–950 ramp
primary
#A873FC
secondary
#E9F7D4
accent
#E6008D
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86