#A273FB#A273FB
#A273FB is a light, vivid violet. Relative luminance 0.269; OKLCH L 66.5% C 0.195 H 296.7°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).
Color values
| HEX | #A273FB |
|---|---|
| RGB | rgb(162, 115, 251) |
| HSL | hsl(261, 94%, 72%) |
| HSV | hsv(261, 54%, 98%) |
| CMYK | cmyk(35.5%, 54.2%, 0%, 1.6%) |
| CIE-LAB | lab(58.89, 46.96, -61.60) |
| CIE-LCH | lch(58.89, 77.46, 307.32°) |
| OKLab | oklab(66.52% 0.0877 -0.1745) |
| OKLCH | oklch(66.52% 0.195 296.7) |
| XYZ | xyz(38.4392, 26.9073, 94.4165) |
| Luminance | 0.2691 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.56
Mediumpurple
#9370DB
ΔE00 5.10
Easter Purple
#C071FE
ΔE00 5.39
Light Purple
#BF77F6
ΔE00 5.81
Periwinkle (survey)
#8E82FE
ΔE00 6.04
Lighter Purple
#A55AF4
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A273FB #CCFB73
analogous
#7388FB #A273FB #E673FB
triadic
#A273FB #FBA273 #73FBA2
tetradic
#A273FB #FB7388 #CCFB73 #73FBE6
square
#A273FB #FB7388 #CCFB73 #73FBE6
split-complementary
#A273FB #FBE673 #88FB73
monochromatic
#5607ED #7A38F9 #A273FB #CAAFFD #EBE1FE
Accessibility & contrast
On white
3.29
#A273FB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.38
#A273FB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A273FB
6.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A273FB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A273FB | 1.00 | 3.29 | 6.38 | 6.38 |
| #FFFFFF | 3.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#378EFF
Deuteranopia (green-blind)
#458CF8
Tritanopia (blue-blind)
#8D8FAC
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a273fb; /* rgb */ color: rgb(162, 115, 251); /* oklch */ color: oklch(66.5% 0.195 296.7);
Tailwind
colors: {
custom: {
50: '#c29dfd',
500: '#a273fb',
950: '#000000',
},
}SCSS
$custom: #a273fb; $custom-light: #c29dfd; $custom-dark: #000000;
JSON
{
"hex": "#a273fb",
"rgb": {
"r": 162,
"g": 115,
"b": 251
},
"hsl": {
"h": 260.735,
"s": 94.444,
"l": 71.765
},
"oklch": {
"l": 0.66521,
"c": 0.19534,
"h": 296.7
},
"luminance": 0.26908
}Semantic roles & 50–950 ramp
primary
#A273FB
secondary
#EAF6D4
accent
#E60096
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86