#A754F2#A754F2
#A754F2 is a light, highly saturated violet. Relative luminance 0.210; OKLCH L 62.1% C 0.228 H 304.7°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A754F2 |
|---|---|
| RGB | rgb(167, 84, 242) |
| HSL | hsl(272, 86%, 64%) |
| HSV | hsv(272, 65%, 95%) |
| CMYK | cmyk(31%, 65.3%, 0%, 5.1%) |
| CIE-LAB | lab(52.91, 61.78, -66.19) |
| CIE-LCH | lch(52.91, 90.55, 313.03°) |
| OKLab | oklab(62.11% 0.13 -0.1878) |
| OKLCH | oklch(62.11% 0.228 304.7) |
| XYZ | xyz(35.1301, 20.9671, 86.1835) |
| Luminance | 0.2097 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.32
Lightish Purple
#A552E6
ΔE00 1.85
Purpley
#8756E4
ΔE00 5.83
Mediumorchid
#BA55D3
ΔE00 6.58
Electric Purple
#AA23FF
ΔE00 6.61
Neon Purple
#BC13FE
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A754F2 #9FF254
analogous
#5854F2 #A754F2 #F254EE
triadic
#A754F2 #F2A754 #54F2A7
tetradic
#A754F2 #F25854 #9FF254 #54EEF2
square
#A754F2 #F25854 #9FF254 #54EEF2
split-complementary
#A754F2 #EEF254 #54F258
monochromatic
#6A0EBD #8A1BEE #A754F2 #C48DF6 #E2C6FB
Accessibility & contrast
On white
4.04
#A754F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.19
#A754F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A754F2
5.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A754F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A754F2 | 1.00 | 4.04 | 5.19 | 5.19 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#007CF7
Deuteranopia (green-blind)
#227EEF
Tritanopia (blue-blind)
#99779C
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #a754f2; /* rgb */ color: rgb(167, 84, 242); /* oklch */ color: oklch(62.1% 0.228 304.7);
Tailwind
colors: {
custom: {
50: '#c689f7',
500: '#a754f2',
950: '#000000',
},
}SCSS
$custom: #a754f2; $custom-light: #c689f7; $custom-dark: #000000;
JSON
{
"hex": "#a754f2",
"rgb": {
"r": 167,
"g": 84,
"b": 242
},
"hsl": {
"h": 271.519,
"s": 85.87,
"l": 63.922
},
"oklch": {
"l": 0.62109,
"c": 0.22839,
"h": 304.7
},
"luminance": 0.20967
}Semantic roles & 50–950 ramp
primary
#A754F2
secondary
#CFEDB5
accent
#E2036D
background
#FCF8FF
surface
#F9F0FF
border
#D2CBD7
text
#140C17
muted
#827D85