#825FCB#825FCB
#825FCB is a mid, vivid violet. Relative luminance 0.172; OKLCH L 57.2% C 0.161 H 295.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #825FCB |
|---|---|
| RGB | rgb(130, 95, 203) |
| HSL | hsl(259, 51%, 58%) |
| HSV | hsv(259, 53%, 80%) |
| CMYK | cmyk(36%, 53.2%, 0%, 20.4%) |
| CIE-LAB | lab(48.56, 38.07, -51.32) |
| CIE-LCH | lch(48.56, 63.90, 306.57°) |
| OKLab | oklab(57.24% 0.0704 -0.1453) |
| OKLCH | oklch(57.24% 0.161 295.8) |
| XYZ | xyz(24.0749, 17.2416, 58.5479) |
| Luminance | 0.1724 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 4.29
Light Indigo
#6D5ACF
ΔE00 4.50
Deep Lavender
#8D5EB7
ΔE00 4.91
Slate Blue
#6A5ACD
ΔE00 4.99
Dark Periwinkle
#665FD1
ΔE00 5.78
Amethyst
#9B5FC0
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#825FCB #A8CB5F
analogous
#5F72CB #825FCB #B85FCB
triadic
#825FCB #CB825F #5FCB82
tetradic
#825FCB #CB5F72 #A8CB5F #5FCBB8
square
#825FCB #CB5F72 #A8CB5F #5FCBB8
split-complementary
#825FCB #CBB85F #72CB5F
monochromatic
#482B85 #613AB3 #825FCB #A68DDA #CABBE9
Accessibility & contrast
On white
4.72
#825FCB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#825FCB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #825FCB
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##825FCB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##825FCB | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#3B72C9
Tritanopia (blue-blind)
#71758C
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #825fcb; /* rgb */ color: rgb(130, 95, 203); /* oklch */ color: oklch(57.2% 0.161 295.8);
Tailwind
colors: {
custom: {
50: '#aa8ddb',
500: '#825fcb',
950: '#000000',
},
}SCSS
$custom: #825fcb; $custom-light: #aa8ddb; $custom-dark: #000000;
JSON
{
"hex": "#825fcb",
"rgb": {
"r": 130,
"g": 95,
"b": 203
},
"hsl": {
"h": 259.444,
"s": 50.943,
"l": 58.431
},
"oklch": {
"l": 0.57237,
"c": 0.16143,
"h": 295.8
},
"luminance": 0.17242
}Semantic roles & 50–950 ramp
primary
#825FCB
secondary
#CAD8AD
accent
#DA4DAD
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100C15
muted
#7F7D83