#824FBD#824FBD
#824FBD is a mid, vivid violet. Relative luminance 0.140; OKLCH L 53.8% C 0.168 H 302.5°. Best body text is #FFFFFF at 5.52:1 contrast (WCAG AA passes).
Color values
| HEX | #824FBD |
|---|---|
| RGB | rgb(130, 79, 189) |
| HSL | hsl(268, 45%, 53%) |
| HSV | hsv(268, 58%, 74%) |
| CMYK | cmyk(31.2%, 58.2%, 0%, 25.9%) |
| CIE-LAB | lab(44.25, 43.46, -50.14) |
| CIE-LCH | lch(44.25, 66.35, 310.92°) |
| OKLab | oklab(53.79% 0.0903 -0.1418) |
| OKLCH | oklch(53.79% 0.168 302.5) |
| XYZ | xyz(21.1851, 14.0119, 49.7227) |
| Luminance | 0.1401 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.71
Deep Lavender
#8D5EB7
ΔE00 5.31
Purply
#983FB2
ΔE00 6.08
Darkorchid
#9932CC
ΔE00 6.37
Purpley
#8756E4
ΔE00 6.37
Light Indigo
#6D5ACF
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#824FBD #8ABD4F
analogous
#4F53BD #824FBD #B94FBD
triadic
#824FBD #BD824F #4FBD82
tetradic
#824FBD #BD4F53 #8ABD4F #4FBDB9
square
#824FBD #BD4F53 #8ABD4F #4FBDB9
split-complementary
#824FBD #BDB94F #53BD4F
monochromatic
#46286A #643896 #824FBD #A27CCE #C1A8DE
Accessibility & contrast
On white
5.52
#824FBD on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#824FBD on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #824FBD
5.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##824FBD | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##824FBD | 1.00 | 5.52 | 3.80 | 5.52 |
| #FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.52 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1D68C1
Deuteranopia (green-blind)
#3368BA
Tritanopia (blue-blind)
#77657E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #824fbd; /* rgb */ color: rgb(130, 79, 189); /* oklch */ color: oklch(53.8% 0.168 302.5);
Tailwind
colors: {
custom: {
50: '#aa82d1',
500: '#824fbd',
950: '#000000',
},
}SCSS
$custom: #824fbd; $custom-light: #aa82d1; $custom-dark: #000000;
JSON
{
"hex": "#824fbd",
"rgb": {
"r": 130,
"g": 79,
"b": 189
},
"hsl": {
"h": 267.818,
"s": 45.455,
"l": 52.549
},
"oklch": {
"l": 0.53785,
"c": 0.16811,
"h": 302.5
},
"luminance": 0.14012
}Semantic roles & 50–950 ramp
primary
#824FBD
secondary
#B6CC9C
accent
#D55399
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82