#A262EF#A262EF
#A262EF is a light, highly saturated violet. Relative luminance 0.226; OKLCH L 63.2% C 0.205 H 301.7°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #A262EF |
|---|---|
| RGB | rgb(162, 98, 239) |
| HSL | hsl(267, 82%, 66%) |
| HSV | hsv(267, 59%, 94%) |
| CMYK | cmyk(32.2%, 59%, 0%, 6.3%) |
| CIE-LAB | lab(54.71, 53.07, -61.65) |
| CIE-LCH | lch(54.71, 81.35, 310.72°) |
| OKLab | oklab(63.22% 0.108 -0.1747) |
| OKLCH | oklch(63.22% 0.205 301.7) |
| XYZ | xyz(34.8443, 22.6486, 84.1805) |
| Luminance | 0.2265 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Lighter Purple
#A55AF4
ΔE00 1.79
Lightish Purple
#A552E6
ΔE00 3.98
Light Urple
#B36FF6
ΔE00 4.61
Mediumpurple
#9370DB
ΔE00 5.10
Purpley
#8756E4
ΔE00 6.30
Bright Lavender
#C760FF
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262EF #AFEF62
analogous
#6268EF #A262EF #E862EF
triadic
#A262EF #EFA262 #62EFA2
tetradic
#A262EF #EF6268 #AFEF62 #62EFE8
square
#A262EF #EF6268 #AFEF62 #62EFE8
split-complementary
#A262EF #EFE862 #68EF62
monochromatic
#6314C3 #812AE9 #A262EF #C39AF5 #E4D1FA
Accessibility & contrast
On white
3.80
#A262EF on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.53
#A262EF on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262EF
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262EF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262EF | 1.00 | 3.80 | 5.53 | 5.53 |
| #FFFFFF | 3.80 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1382F4
Deuteranopia (green-blind)
#3982EC
Tritanopia (blue-blind)
#937F9F
Achromatopsia (no color)
#838383
Design tokens & code
CSS
--color: #a262ef; /* rgb */ color: rgb(162, 98, 239); /* oklch */ color: oklch(63.2% 0.205 301.7);
Tailwind
colors: {
custom: {
50: '#c291f5',
500: '#a262ef',
950: '#000000',
},
}SCSS
$custom: #a262ef; $custom-light: #c291f5; $custom-dark: #000000;
JSON
{
"hex": "#a262ef",
"rgb": {
"r": 162,
"g": 98,
"b": 239
},
"hsl": {
"h": 267.234,
"s": 81.503,
"l": 66.078
},
"oklch": {
"l": 0.63222,
"c": 0.20533,
"h": 301.7
},
"luminance": 0.22649
}Semantic roles & 50–950 ramp
primary
#A262EF
secondary
#D9EEBF
accent
#DE087D
background
#FCF9FF
surface
#F8F1FE
border
#D1CBD6
text
#130D17
muted
#827E85