#825BB2#825BB2
#825BB2 is a mid, vivid violet. Relative luminance 0.154; OKLCH L 55.0% C 0.136 H 302.9°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #825BB2 |
|---|---|
| RGB | rgb(130, 91, 178) |
| HSL | hsl(267, 36%, 53%) |
| HSV | hsv(267, 49%, 70%) |
| CMYK | cmyk(27%, 48.9%, 0%, 30.2%) |
| CIE-LAB | lab(46.23, 33.93, -40.55) |
| CIE-LCH | lch(46.23, 52.87, 309.92°) |
| OKLab | oklab(55.05% 0.0736 -0.1138) |
| OKLCH | oklch(55.05% 0.136 302.9) |
| XYZ | xyz(20.9811, 15.4424, 43.9862) |
| Luminance | 0.1544 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.55
Royal Purple
#7851A9
ΔE00 3.64
Amethyst
#9B5FC0
ΔE00 5.57
Deep Lilac
#966EBD
ΔE00 7.31
Light Indigo
#6D5ACF
ΔE00 7.33
Slate Blue
#6A5ACD
ΔE00 7.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#825BB2 #8BB25B
analogous
#5B5FB2 #825BB2 #AE5BB2
triadic
#825BB2 #B2825B #5BB282
tetradic
#825BB2 #B25B5F #8BB25B #5BB2AE
square
#825BB2 #B25B5F #8BB25B #5BB2AE
split-complementary
#825BB2 #B2AE5B #5FB25B
monochromatic
#472F64 #64428D #825BB2 #A285C6 #C1AED9
Accessibility & contrast
On white
5.14
#825BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.09
#825BB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #825BB2
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##825BB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##825BB2 | 1.00 | 5.14 | 4.09 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#416DB5
Deuteranopia (green-blind)
#4B6DB0
Tritanopia (blue-blind)
#796B7E
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #825bb2; /* rgb */ color: rgb(130, 91, 178); /* oklch */ color: oklch(55.0% 0.136 302.9);
Tailwind
colors: {
custom: {
50: '#a88ac9',
500: '#825bb2',
950: '#000000',
},
}SCSS
$custom: #825bb2; $custom-light: #a88ac9; $custom-dark: #000000;
JSON
{
"hex": "#825bb2",
"rgb": {
"r": 130,
"g": 91,
"b": 178
},
"hsl": {
"h": 266.897,
"s": 36.1,
"l": 52.745
},
"oklch": {
"l": 0.55046,
"c": 0.13552,
"h": 302.9
},
"luminance": 0.15442
}Semantic roles & 50–950 ramp
primary
#825BB2
secondary
#B6C7A2
accent
#CC5C9A
background
#FAF8FC
surface
#F4F0F8
border
#CECBD1
text
#100C13
muted
#7F7D82