#825FC2#825FC2
#825FC2 is a mid, vivid violet. Relative luminance 0.168; OKLCH L 56.7% C 0.150 H 297.8°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #825FC2 |
|---|---|
| RGB | rgb(130, 95, 194) |
| HSL | hsl(261, 45%, 57%) |
| HSV | hsv(261, 51%, 76%) |
| CMYK | cmyk(33%, 51%, 0%, 23.9%) |
| CIE-LAB | lab(48.04, 35.70, -46.98) |
| CIE-LCH | lch(48.04, 59.00, 307.23°) |
| OKLab | oklab(56.68% 0.0698 -0.1326) |
| OKLCH | oklch(56.68% 0.15 297.8) |
| XYZ | xyz(23.0333, 16.8250, 53.0625) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Deep Lavender
#8D5EB7
ΔE00 3.68
Light Indigo
#6D5ACF
ΔE00 5.25
Purpley
#8756E4
ΔE00 5.62
Slate Blue
#6A5ACD
ΔE00 5.63
Amethyst
#9B5FC0
ΔE00 5.66
Royal Purple
#7851A9
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#825FC2 #9FC25F
analogous
#5F6EC2 #825FC2 #B45FC2
triadic
#825FC2 #C2825F #5FC282
tetradic
#825FC2 #C25F6E #9FC25F #5FC2B4
square
#825FC2 #C25F6E #9FC25F #5FC2B4
split-complementary
#825FC2 #C2B45F #6EC25F
monochromatic
#482E79 #633FA5 #825FC2 #A58BD3 #C7B8E4
Accessibility & contrast
On white
4.81
#825FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#825FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #825FC2
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##825FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##825FC2 | 1.00 | 4.81 | 4.36 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B72C5
Deuteranopia (green-blind)
#4471C0
Tritanopia (blue-blind)
#747287
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #825fc2; /* rgb */ color: rgb(130, 95, 194); /* oklch */ color: oklch(56.7% 0.150 297.8);
Tailwind
colors: {
custom: {
50: '#a98dd5',
500: '#825fc2',
950: '#000000',
},
}SCSS
$custom: #825fc2; $custom-light: #a98dd5; $custom-dark: #000000;
JSON
{
"hex": "#825fc2",
"rgb": {
"r": 130,
"g": 95,
"b": 194
},
"hsl": {
"h": 261.212,
"s": 44.796,
"l": 56.667
},
"oklch": {
"l": 0.56678,
"c": 0.14979,
"h": 297.8
},
"luminance": 0.16825
}Semantic roles & 50–950 ramp
primary
#825FC2
secondary
#C4D3AA
accent
#D453A7
background
#FAF8FD
surface
#F4F0FA
border
#CECBD3
text
#100C14
muted
#7F7D83