#825AC7#825AC7
#825AC7 is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.2% C 0.164 H 297.8°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #825AC7 |
|---|---|
| RGB | rgb(130, 90, 199) |
| HSL | hsl(262, 49%, 57%) |
| HSV | hsv(262, 55%, 78%) |
| CMYK | cmyk(34.7%, 54.8%, 0%, 22%) |
| CIE-LAB | lab(47.21, 39.87, -51.18) |
| CIE-LCH | lch(47.21, 64.88, 307.92°) |
| OKLab | oklab(56.16% 0.0765 -0.1449) |
| OKLCH | oklch(56.16% 0.164 297.8) |
| XYZ | xyz(23.1683, 16.1814, 55.9245) |
| Luminance | 0.1618 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.39
Deep Lavender
#8D5EB7
ΔE00 4.50
Light Indigo
#6D5ACF
ΔE00 4.58
Slate Blue
#6A5ACD
ΔE00 5.04
Royal Purple
#7851A9
ΔE00 5.70
Amethyst
#9B5FC0
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#825AC7 #9FC75A
analogous
#5A69C7 #825AC7 #B85AC7
triadic
#825AC7 #C7825A #5AC782
tetradic
#825AC7 #C75A69 #9FC75A #5AC7B8
square
#825AC7 #C75A69 #9FC75A #5AC7B8
split-complementary
#825AC7 #C7B85A #69C75A
monochromatic
#482A7C #633AAA #825AC7 #A588D7 #C7B5E6
Accessibility & contrast
On white
4.96
#825AC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#825AC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #825AC7
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##825AC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##825AC7 | 1.00 | 4.96 | 4.24 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2B70CB
Deuteranopia (green-blind)
#386FC4
Tritanopia (blue-blind)
#737088
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #825ac7; /* rgb */ color: rgb(130, 90, 199); /* oklch */ color: oklch(56.2% 0.164 297.8);
Tailwind
colors: {
custom: {
50: '#aa8ad9',
500: '#825ac7',
950: '#000000',
},
}SCSS
$custom: #825ac7; $custom-light: #aa8ad9; $custom-dark: #000000;
JSON
{
"hex": "#825ac7",
"rgb": {
"r": 130,
"g": 90,
"b": 199
},
"hsl": {
"h": 262.018,
"s": 49.321,
"l": 56.667
},
"oklch": {
"l": 0.5616,
"c": 0.16386,
"h": 297.8
},
"luminance": 0.16182
}Semantic roles & 50–950 ramp
primary
#825AC7
secondary
#C4D5A8
accent
#D94FA6
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C15
muted
#7F7D83