#A274F1#A274F1
#A274F1 is a light, vivid violet. Relative luminance 0.265; OKLCH L 66.1% C 0.182 H 298.3°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).
Color values
| HEX | #A274F1 |
|---|---|
| RGB | rgb(162, 116, 241) |
| HSL | hsl(262, 82%, 70%) |
| HSV | hsv(262, 52%, 95%) |
| CMYK | cmyk(32.8%, 51.9%, 0%, 5.5%) |
| CIE-LAB | lab(58.53, 43.90, -56.64) |
| CIE-LCH | lch(58.53, 71.66, 307.78°) |
| OKLab | oklab(66.07% 0.086 -0.16) |
| OKLCH | oklch(66.07% 0.182 298.3) |
| XYZ | xyz(37.0190, 26.5226, 86.3711) |
| Luminance | 0.2652 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.31
Mediumpurple
#9370DB
ΔE00 4.06
Easter Purple
#C071FE
ΔE00 5.38
Light Purple
#BF77F6
ΔE00 5.43
Lighter Purple
#A55AF4
ΔE00 6.19
Periwinkle (survey)
#8E82FE
ΔE00 6.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A274F1 #C3F174
analogous
#7485F1 #A274F1 #E074F1
triadic
#A274F1 #F1A274 #74F1A2
tetradic
#A274F1 #F17485 #C3F174 #74F1E0
square
#A274F1 #F17485 #C3F174 #74F1E0
split-complementary
#A274F1 #F1E074 #85F174
monochromatic
#5C15D5 #7D3CEB #A274F1 #C7ACF7 #ECE3FC
Accessibility & contrast
On white
3.33
#A274F1 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.30
#A274F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A274F1
6.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A274F1 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A274F1 | 1.00 | 3.33 | 6.30 | 6.30 |
| #FFFFFF | 3.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#448DF5
Deuteranopia (green-blind)
#518CEE
Tritanopia (blue-blind)
#918CA8
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a274f1; /* rgb */ color: rgb(162, 116, 241); /* oklch */ color: oklch(66.1% 0.182 298.3);
Tailwind
colors: {
custom: {
50: '#c19df6',
500: '#a274f1',
950: '#000000',
},
}SCSS
$custom: #a274f1; $custom-light: #c19df6; $custom-dark: #000000;
JSON
{
"hex": "#a274f1",
"rgb": {
"r": 162,
"g": 116,
"b": 241
},
"hsl": {
"h": 262.08,
"s": 81.699,
"l": 70
},
"oklch": {
"l": 0.66071,
"c": 0.18165,
"h": 298.3
},
"luminance": 0.26523
}Semantic roles & 50–950 ramp
primary
#A274F1
secondary
#E5F2CF
accent
#DE078F
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85