#A262B2#A262B2
#A262B2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 59.7% C 0.136 H 319.4°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #A262B2 |
|---|---|
| RGB | rgb(162, 98, 178) |
| HSL | hsl(288, 34%, 54%) |
| HSV | hsv(288, 45%, 70%) |
| CMYK | cmyk(9%, 44.9%, 0%, 30.2%) |
| CIE-LAB | lab(51.42, 39.31, -32.14) |
| CIE-LCH | lch(51.42, 50.78, 320.73°) |
| OKLab | oklab(59.73% 0.1034 -0.0887) |
| OKLCH | oklch(59.73% 0.136 319.4) |
| XYZ | xyz(27.3028, 19.6320, 44.4620) |
| Luminance | 0.1963 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.95
Soft Purple
#A66FB5
ΔE00 3.96
Dark Lilac
#9C6DA5
ΔE00 4.99
Deep Lilac
#966EBD
ΔE00 5.24
Deep Lavender
#8D5EB7
ΔE00 5.56
Mediumorchid
#BA55D3
ΔE00 6.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A262B2 #72B262
analogous
#7A62B2 #A262B2 #B2629A
triadic
#A262B2 #B2A262 #62B2A2
tetradic
#A262B2 #B27A62 #72B262 #629AB2
square
#A262B2 #B27A62 #72B262 #629AB2
split-complementary
#A262B2 #9AB262 #62B27A
monochromatic
#5D3367 #814790 #A262B2 #BA8BC6 #D3B4DA
Accessibility & contrast
On white
4.26
#A262B2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#A262B2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A262B2
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A262B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A262B2 | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5676B5
Deuteranopia (green-blind)
#677DB0
Tritanopia (blue-blind)
#A36C82
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #a262b2; /* rgb */ color: rgb(162, 98, 178); /* oklch */ color: oklch(59.7% 0.136 319.4);
Tailwind
colors: {
custom: {
50: '#bf90c9',
500: '#a262b2',
950: '#000000',
},
}SCSS
$custom: #a262b2; $custom-light: #bf90c9; $custom-dark: #000000;
JSON
{
"hex": "#a262b2",
"rgb": {
"r": 162,
"g": 98,
"b": 178
},
"hsl": {
"h": 288,
"s": 34.188,
"l": 54.118
},
"oklch": {
"l": 0.59729,
"c": 0.13624,
"h": 319.4
},
"luminance": 0.19631
}Semantic roles & 50–950 ramp
primary
#A262B2
secondary
#AEC9A7
accent
#CA5E73
background
#FBF9FC
surface
#F7F1F8
border
#D0CBD1
text
#120D13
muted
#817E82