#825AB2#825AB2
#825AB2 is a mid, vivid violet. Relative luminance 0.153; OKLCH L 54.9% C 0.137 H 303.2°. Best body text is #FFFFFF at 5.18:1 contrast (WCAG AA passes).
Color values
| HEX | #825AB2 |
|---|---|
| RGB | rgb(130, 90, 178) |
| HSL | hsl(267, 36%, 53%) |
| HSV | hsv(267, 49%, 70%) |
| CMYK | cmyk(27%, 49.4%, 0%, 30.2%) |
| CIE-LAB | lab(46.01, 34.51, -40.91) |
| CIE-LCH | lch(46.01, 53.52, 310.15°) |
| OKLab | oklab(54.87% 0.075 -0.1148) |
| OKLCH | oklch(54.87% 0.137 303.2) |
| XYZ | xyz(20.8962, 15.2725, 43.9579) |
| Luminance | 0.1527 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.66
Royal Purple
#7851A9
ΔE00 3.40
Amethyst
#9B5FC0
ΔE00 5.64
Light Indigo
#6D5ACF
ΔE00 7.31
Slate Blue
#6A5ACD
ΔE00 7.54
Deep Lilac
#966EBD
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#825AB2 #8AB25A
analogous
#5A5EB2 #825AB2 #AE5AB2
triadic
#825AB2 #B2825A #5AB282
tetradic
#825AB2 #B25A5E #8AB25A #5AB2AE
square
#825AB2 #B25A5E #8AB25A #5AB2AE
split-complementary
#825AB2 #B2AE5A #5EB25A
monochromatic
#462E63 #64428D #825AB2 #A284C5 #C1ADD9
Accessibility & contrast
On white
5.18
#825AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.05
#825AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #825AB2
5.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##825AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##825AB2 | 1.00 | 5.18 | 4.05 | 5.18 |
| #FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F6CB5
Deuteranopia (green-blind)
#4A6DB0
Tritanopia (blue-blind)
#796A7E
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #825ab2; /* rgb */ color: rgb(130, 90, 178); /* oklch */ color: oklch(54.9% 0.137 303.2);
Tailwind
colors: {
custom: {
50: '#a889c9',
500: '#825ab2',
950: '#000000',
},
}SCSS
$custom: #825ab2; $custom-light: #a889c9; $custom-dark: #000000;
JSON
{
"hex": "#825ab2",
"rgb": {
"r": 130,
"g": 90,
"b": 178
},
"hsl": {
"h": 267.273,
"s": 36.364,
"l": 52.549
},
"oklch": {
"l": 0.54875,
"c": 0.13716,
"h": 303.2
},
"luminance": 0.15273
}Semantic roles & 50–950 ramp
primary
#825AB2
secondary
#B6C7A1
accent
#CC5B99
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82