#A274FC#A274FC
#A274FC is a light, vivid violet. Relative luminance 0.272; OKLCH L 66.7% C 0.195 H 296.3°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A274FC |
|---|---|
| RGB | rgb(162, 116, 252) |
| HSL | hsl(260, 96%, 72%) |
| HSV | hsv(260, 54%, 99%) |
| CMYK | cmyk(35.7%, 54%, 0%, 1.2%) |
| CIE-LAB | lab(59.16, 46.67, -61.72) |
| CIE-LCH | lch(59.16, 77.38, 307.09°) |
| OKLab | oklab(66.74% 0.0865 -0.1749) |
| OKLCH | oklch(66.74% 0.195 296.3) |
| XYZ | xyz(38.7119, 27.1998, 95.2871) |
| Luminance | 0.2720 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.70
Mediumpurple
#9370DB
ΔE00 5.26
Easter Purple
#C071FE
ΔE00 5.44
Periwinkle (survey)
#8E82FE
ΔE00 5.81
Light Purple
#BF77F6
ΔE00 5.83
Lighter Purple
#A55AF4
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A274FC #CEFC74
analogous
#748AFC #A274FC #E674FC
triadic
#A274FC #FCA274 #74FCA2
tetradic
#A274FC #FC748A #CEFC74 #74FCE6
square
#A274FC #FC748A #CEFC74 #74FCE6
split-complementary
#A274FC #FCE674 #8AFC74
monochromatic
#5505F0 #7A38FB #A274FC #CAB0FD #EBE1FE
Accessibility & contrast
On white
3.26
#A274FC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#A274FC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A274FC
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A274FC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A274FC | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#388FFF
Deuteranopia (green-blind)
#468DF9
Tritanopia (blue-blind)
#8D90AD
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #a274fc; /* rgb */ color: rgb(162, 116, 252); /* oklch */ color: oklch(66.7% 0.195 296.3);
Tailwind
colors: {
custom: {
50: '#c29dfe',
500: '#a274fc',
950: '#000000',
},
}SCSS
$custom: #a274fc; $custom-light: #c29dfe; $custom-dark: #000000;
JSON
{
"hex": "#a274fc",
"rgb": {
"r": 162,
"g": 116,
"b": 252
},
"hsl": {
"h": 260.294,
"s": 95.775,
"l": 72.157
},
"oklch": {
"l": 0.66739,
"c": 0.19513,
"h": 296.3
},
"luminance": 0.272
}Semantic roles & 50–950 ramp
primary
#A274FC
secondary
#EBF7D4
accent
#E60098
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E18
muted
#827E86