#A275F2#A275F2
#A275F2 is a light, vivid violet. Relative luminance 0.268; OKLCH L 66.3% C 0.181 H 297.9°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).
Color values
| HEX | #A275F2 |
|---|---|
| RGB | rgb(162, 117, 242) |
| HSL | hsl(262, 83%, 70%) |
| HSV | hsv(262, 52%, 95%) |
| CMYK | cmyk(33.1%, 51.7%, 0%, 5.1%) |
| CIE-LAB | lab(58.80, 43.59, -56.76) |
| CIE-LCH | lch(58.80, 71.57, 307.53°) |
| OKLab | oklab(66.29% 0.0848 -0.1603) |
| OKLCH | oklch(66.29% 0.181 297.9) |
| XYZ | xyz(37.2847, 26.8143, 87.1985) |
| Luminance | 0.2681 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Light Urple
#B36FF6
ΔE00 3.43
Mediumpurple
#9370DB
ΔE00 4.23
Easter Purple
#C071FE
ΔE00 5.40
Light Purple
#BF77F6
ΔE00 5.43
Periwinkle (survey)
#8E82FE
ΔE00 6.19
Lighter Purple
#A55AF4
ΔE00 6.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A275F2 #C5F275
analogous
#7586F2 #A275F2 #E075F2
triadic
#A275F2 #F2A275 #75F2A2
tetradic
#A275F2 #F27586 #C5F275 #75F2E0
square
#A275F2 #F27586 #C5F275 #75F2E0
split-complementary
#A275F2 #F2E075 #86F275
monochromatic
#5B14D8 #7C3DED #A275F2 #C8ADF7 #ECE3FC
Accessibility & contrast
On white
3.30
#A275F2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.36
#A275F2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A275F2
6.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A275F2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A275F2 | 1.00 | 3.30 | 6.36 | 6.36 |
| #FFFFFF | 3.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.36 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.36 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#458EF6
Deuteranopia (green-blind)
#528CEF
Tritanopia (blue-blind)
#918DA9
Achromatopsia (no color)
#8D8D8D
Design tokens & code
CSS
--color: #a275f2; /* rgb */ color: rgb(162, 117, 242); /* oklch */ color: oklch(66.3% 0.181 297.9);
Tailwind
colors: {
custom: {
50: '#c19ef7',
500: '#a275f2',
950: '#000000',
},
}SCSS
$custom: #a275f2; $custom-light: #c19ef7; $custom-dark: #000000;
JSON
{
"hex": "#a275f2",
"rgb": {
"r": 162,
"g": 117,
"b": 242
},
"hsl": {
"h": 261.6,
"s": 82.781,
"l": 70.392
},
"oklch": {
"l": 0.66291,
"c": 0.1814,
"h": 297.9
},
"luminance": 0.26815
}Semantic roles & 50–950 ramp
primary
#A275F2
secondary
#E6F3D0
accent
#DF0691
background
#FCF9FF
surface
#F8F2FF
border
#D1CCD7
text
#130E17
muted
#827E85