#825FB7#825FB7
#825FB7 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.0% C 0.135 H 300.5°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #825FB7 |
|---|---|
| RGB | rgb(130, 95, 183) |
| HSL | hsl(264, 38%, 55%) |
| HSV | hsv(264, 48%, 72%) |
| CMYK | cmyk(29%, 48.1%, 0%, 28.2%) |
| CIE-LAB | lab(47.43, 32.86, -41.57) |
| CIE-LCH | lch(47.43, 52.99, 308.33°) |
| OKLab | oklab(56.03% 0.0686 -0.1168) |
| OKLCH | oklch(56.03% 0.135 300.5) |
| XYZ | xyz(21.8434, 16.3490, 46.7955) |
| Luminance | 0.1635 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 2.57
Royal Purple
#7851A9
ΔE00 4.88
Amethyst
#9B5FC0
ΔE00 5.37
Deep Lilac
#966EBD
ΔE00 6.40
Light Indigo
#6D5ACF
ΔE00 6.72
Slate Blue
#6A5ACD
ΔE00 6.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#825FB7 #94B75F
analogous
#5F68B7 #825FB7 #AE5FB7
triadic
#825FB7 #B7825F #5FB782
tetradic
#825FB7 #B75F68 #94B75F #5FB7AE
square
#825FB7 #B75F68 #94B75F #5FB7AE
split-complementary
#825FB7 #B7AE5F #68B75F
monochromatic
#48306B #644396 #825FB7 #A389CA #C4B3DD
Accessibility & contrast
On white
4.92
#825FB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.27
#825FB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #825FB7
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##825FB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##825FB7 | 1.00 | 4.92 | 4.27 | 4.92 |
| #FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4470BA
Deuteranopia (green-blind)
#4C70B5
Tritanopia (blue-blind)
#786F82
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #825fb7; /* rgb */ color: rgb(130, 95, 183); /* oklch */ color: oklch(56.0% 0.135 300.5);
Tailwind
colors: {
custom: {
50: '#a98dcd',
500: '#825fb7',
950: '#000000',
},
}SCSS
$custom: #825fb7; $custom-light: #a98dcd; $custom-dark: #000000;
JSON
{
"hex": "#825fb7",
"rgb": {
"r": 130,
"g": 95,
"b": 183
},
"hsl": {
"h": 263.864,
"s": 37.931,
"l": 54.51
},
"oklch": {
"l": 0.56026,
"c": 0.13544,
"h": 300.5
},
"luminance": 0.16349
}Semantic roles & 50–950 ramp
primary
#825FB7
secondary
#BDCCA6
accent
#CE5AA0
background
#FAF8FC
surface
#F4F0F9
border
#CECBD2
text
#100C13
muted
#7F7D82