#A273F2#A273F2
#A273F2 is a light, vivid violet. Relative luminance 0.264; OKLCH L 66.0% C 0.184 H 298.3°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #A273F2 |
|---|---|
| RGB | rgb(162, 115, 242) |
| HSL | hsl(262, 83%, 70%) |
| HSV | hsv(262, 52%, 95%) |
| CMYK | cmyk(33.1%, 52.5%, 0%, 5.1%) |
| CIE-LAB | lab(58.37, 44.70, -57.45) |
| CIE-LCH | lch(58.37, 72.79, 307.88°) |
| OKLab | oklab(65.97% 0.0873 -0.1624) |
| OKLCH | oklch(65.97% 0.184 298.3) |
| XYZ | xyz(37.0541, 26.3532, 87.1217) |
| Luminance | 0.2635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.23
Mediumpurple
#9370DB
ΔE00 4.11
Easter Purple
#C071FE
ΔE00 5.34
Light Purple
#BF77F6
ΔE00 5.49
Lighter Purple
#A55AF4
ΔE00 5.93
Periwinkle (survey)
#8E82FE
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A273F2 #C3F273
analogous
#7383F2 #A273F2 #E273F2
triadic
#A273F2 #F2A273 #73F2A2
tetradic
#A273F2 #F27383 #C3F273 #73F2E2
square
#A273F2 #F27383 #C3F273 #73F2E2
split-complementary
#A273F2 #F2E273 #83F273
monochromatic
#5C14D7 #7D3BED #A273F2 #C7ABF7 #ECE3FC
Accessibility & contrast
On white
3.35
#A273F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#A273F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A273F2
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A273F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A273F2 | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#418CF6
Deuteranopia (green-blind)
#4F8BEF
Tritanopia (blue-blind)
#918CA8
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #a273f2; /* rgb */ color: rgb(162, 115, 242); /* oklch */ color: oklch(66.0% 0.184 298.3);
Tailwind
colors: {
custom: {
50: '#c19cf7',
500: '#a273f2',
950: '#000000',
},
}SCSS
$custom: #a273f2; $custom-light: #c19cf7; $custom-dark: #000000;
JSON
{
"hex": "#a273f2",
"rgb": {
"r": 162,
"g": 115,
"b": 242
},
"hsl": {
"h": 262.205,
"s": 83.007,
"l": 70
},
"oklch": {
"l": 0.65971,
"c": 0.18436,
"h": 298.3
},
"luminance": 0.26354
}Semantic roles & 50–950 ramp
primary
#A273F2
secondary
#E5F2CF
accent
#DF068F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85