#A273FC#A273FC
#A273FC is a light, vivid violet. Relative luminance 0.270; OKLCH L 66.6% C 0.197 H 296.5°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).
Color values
| HEX | #A273FC |
|---|---|
| RGB | rgb(162, 115, 252) |
| HSL | hsl(261, 96%, 72%) |
| HSV | hsv(261, 54%, 99%) |
| CMYK | cmyk(35.7%, 54.4%, 0%, 1.2%) |
| CIE-LAB | lab(58.95, 47.21, -62.06) |
| CIE-LCH | lch(58.95, 77.98, 307.26°) |
| OKLab | oklab(66.58% 0.0877 -0.1759) |
| OKLCH | oklch(66.58% 0.197 296.5) |
| XYZ | xyz(38.5973, 26.9705, 95.2489) |
| Luminance | 0.2697 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.61
Mediumpurple
#9370DB
ΔE00 5.22
Easter Purple
#C071FE
ΔE00 5.41
Light Purple
#BF77F6
ΔE00 5.86
Periwinkle (survey)
#8E82FE
ΔE00 6.00
Lighter Purple
#A55AF4
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A273FC #CDFC73
analogous
#7389FC #A273FC #E773FC
triadic
#A273FC #FCA273 #73FCA2
tetradic
#A273FC #FC7389 #CDFC73 #73FCE7
square
#A273FC #FC7389 #CDFC73 #73FCE7
split-complementary
#A273FC #FCE773 #89FC73
monochromatic
#5605EF #7A37FB #A273FC #CAAFFD #EBE1FE
Accessibility & contrast
On white
3.28
#A273FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.39
#A273FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A273FC
6.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A273FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A273FC | 1.00 | 3.28 | 6.39 | 6.39 |
| #FFFFFF | 3.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#358FFF
Deuteranopia (green-blind)
#448CF9
Tritanopia (blue-blind)
#8D8FAD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a273fc; /* rgb */ color: rgb(162, 115, 252); /* oklch */ color: oklch(66.6% 0.197 296.5);
Tailwind
colors: {
custom: {
50: '#c29dfe',
500: '#a273fc',
950: '#000000',
},
}SCSS
$custom: #a273fc; $custom-light: #c29dfe; $custom-dark: #000000;
JSON
{
"hex": "#a273fc",
"rgb": {
"r": 162,
"g": 115,
"b": 252
},
"hsl": {
"h": 260.584,
"s": 95.804,
"l": 71.961
},
"oklch": {
"l": 0.66583,
"c": 0.19655,
"h": 296.5
},
"luminance": 0.26971
}Semantic roles & 50–950 ramp
primary
#A273FC
secondary
#EBF7D4
accent
#E60097
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86