#A262BB#A262BB
#A262BB is a mid, vivid purple. Relative luminance 0.200; OKLCH L 60.2% C 0.146 H 315.9°. Best body text is #000000 at 5.00:1 contrast (WCAG AA passes).
Color values
| HEX | #A262BB |
|---|---|
| RGB | rgb(162, 98, 187) |
| HSL | hsl(283, 40%, 56%) |
| HSV | hsv(283, 48%, 73%) |
| CMYK | cmyk(13.4%, 47.6%, 0%, 26.7%) |
| CIE-LAB | lab(51.84, 41.20, -36.69) |
| CIE-LCH | lch(51.84, 55.16, 318.31°) |
| OKLab | oklab(60.19% 0.1049 -0.1018) |
| OKLCH | oklch(60.19% 0.146 315.9) |
| XYZ | xyz(28.2363, 20.0054, 49.3781) |
| Luminance | 0.2001 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 2.39
Deep Lilac
#966EBD
ΔE00 4.49
Soft Purple
#A66FB5
ΔE00 4.58
Deep Lavender
#8D5EB7
ΔE00 4.80
Mediumorchid
#BA55D3
ΔE00 5.69
Dark Lilac
#9C6DA5
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262BB #7BBB62
analogous
#7562BB #A262BB #BB62A7
triadic
#A262BB #BBA262 #62BBA2
tetradic
#A262BB #BB7562 #7BBB62 #62A7BB
square
#A262BB #BB7562 #7BBB62 #62A7BB
split-complementary
#A262BB #A7BB62 #62BB75
monochromatic
#5F3171 #83449C #A262BB #BB8DCD #D5B7E0
Accessibility & contrast
On white
4.20
#A262BB on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.00
#A262BB on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262BB
5.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262BB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262BB | 1.00 | 4.20 | 5.00 | 5.00 |
| #FFFFFF | 4.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5178BE
Deuteranopia (green-blind)
#637EB9
Tritanopia (blue-blind)
#A16F86
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #a262bb; /* rgb */ color: rgb(162, 98, 187); /* oklch */ color: oklch(60.2% 0.146 315.9);
Tailwind
colors: {
custom: {
50: '#bf90d0',
500: '#a262bb',
950: '#000000',
},
}SCSS
$custom: #a262bb; $custom-light: #bf90d0; $custom-dark: #000000;
JSON
{
"hex": "#a262bb",
"rgb": {
"r": 162,
"g": 98,
"b": 187
},
"hsl": {
"h": 283.146,
"s": 39.556,
"l": 55.882
},
"oklch": {
"l": 0.60185,
"c": 0.14615,
"h": 315.9
},
"luminance": 0.20005
}Semantic roles & 50–950 ramp
primary
#A262BB
secondary
#B4CFAA
accent
#CF587A
background
#FBF9FC
surface
#F7F1F9
border
#D0CBD2
text
#120D14
muted
#817E82