#A25BB2#A25BB2
#A25BB2 is a mid, vivid purple. Relative luminance 0.184; OKLCH L 58.6% C 0.148 H 320.0°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #A25BB2 |
|---|---|
| RGB | rgb(162, 91, 178) |
| HSL | hsl(289, 36%, 53%) |
| HSV | hsv(289, 49%, 70%) |
| CMYK | cmyk(9%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(49.95, 43.09, -34.44) |
| CIE-LCH | lch(49.95, 55.16, 321.37°) |
| OKLab | oklab(58.64% 0.1136 -0.0952) |
| OKLCH | oklch(58.64% 0.148 320) |
| XYZ | xyz(26.6763, 18.3789, 44.2531) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | cool |
| Family | purple |
Closest named colors
Amethyst
#9B5FC0
ΔE00 3.63
Deep Lavender
#8D5EB7
ΔE00 5.16
Soft Purple
#A66FB5
ΔE00 5.91
Mediumorchid
#BA55D3
ΔE00 6.37
Medium Purple
#9E43A2
ΔE00 6.44
Deep Lilac
#966EBD
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A25BB2 #6BB25B
analogous
#775BB2 #A25BB2 #B25B96
triadic
#A25BB2 #B2A25B #5BB2A2
tetradic
#A25BB2 #B2775B #6BB25B #5B96B2
square
#A25BB2 #B2775B #6BB25B #5B96B2
split-complementary
#A25BB2 #96B25B #5BB277
monochromatic
#5A2F64 #80428D #A25BB2 #BA85C6 #D1AED9
Accessibility & contrast
On white
4.49
#A25BB2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#A25BB2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A25BB2
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A25BB2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A25BB2 | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4D72B5
Deuteranopia (green-blind)
#6279B0
Tritanopia (blue-blind)
#A3677E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #a25bb2; /* rgb */ color: rgb(162, 91, 178); /* oklch */ color: oklch(58.6% 0.148 320.0);
Tailwind
colors: {
custom: {
50: '#bf8cc9',
500: '#a25bb2',
950: '#000000',
},
}SCSS
$custom: #a25bb2; $custom-light: #bf8cc9; $custom-dark: #000000;
JSON
{
"hex": "#a25bb2",
"rgb": {
"r": 162,
"g": 91,
"b": 178
},
"hsl": {
"h": 288.966,
"s": 36.1,
"l": 52.745
},
"oklch": {
"l": 0.58638,
"c": 0.14826,
"h": 320
},
"luminance": 0.18378
}Semantic roles & 50–950 ramp
primary
#A25BB2
secondary
#A8C7A2
accent
#CC5C70
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82