#824DC7#824DC7
#824DC7 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.2% C 0.183 H 300.4°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #824DC7 |
|---|---|
| RGB | rgb(130, 77, 199) |
| HSL | hsl(266, 52%, 54%) |
| HSV | hsv(266, 61%, 78%) |
| CMYK | cmyk(34.7%, 61.3%, 0%, 22%) |
| CIE-LAB | lab(44.49, 47.05, -55.56) |
| CIE-LCH | lch(44.49, 72.81, 310.26°) |
| OKLab | oklab(54.16% 0.0925 -0.1577) |
| OKLCH | oklch(54.16% 0.183 300.4) |
| XYZ | xyz(22.1661, 14.1769, 55.5904) |
| Luminance | 0.1418 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 5.15
Royal Purple
#7851A9
ΔE00 5.22
Light Indigo
#6D5ACF
ΔE00 5.80
Darkorchid
#9932CC
ΔE00 5.87
Slate Blue
#6A5ACD
ΔE00 6.19
Deep Lavender
#8D5EB7
ΔE00 6.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#824DC7 #92C74D
analogous
#4D55C7 #824DC7 #BF4DC7
triadic
#824DC7 #C7824D #4DC782
tetradic
#824DC7 #C74D55 #92C74D #4DC7BF
square
#824DC7 #C74D55 #92C74D #4DC7BF
split-complementary
#824DC7 #C7BF4D #55C74D
monochromatic
#482575 #6433A3 #824DC7 #A37CD6 #C3AAE4
Accessibility & contrast
On white
5.48
#824DC7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#824DC7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #824DC7
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##824DC7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##824DC7 | 1.00 | 5.48 | 3.84 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0069CB
Deuteranopia (green-blind)
#2268C4
Tritanopia (blue-blind)
#736783
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #824dc7; /* rgb */ color: rgb(130, 77, 199); /* oklch */ color: oklch(54.2% 0.183 300.4);
Tailwind
colors: {
custom: {
50: '#ab81d9',
500: '#824dc7',
950: '#000000',
},
}SCSS
$custom: #824dc7; $custom-light: #ab81d9; $custom-dark: #000000;
JSON
{
"hex": "#824dc7",
"rgb": {
"r": 130,
"g": 77,
"b": 199
},
"hsl": {
"h": 266.066,
"s": 52.137,
"l": 54.118
},
"oklch": {
"l": 0.54162,
"c": 0.18286,
"h": 300.4
},
"luminance": 0.14177
}Semantic roles & 50–950 ramp
primary
#824DC7
secondary
#BBD29E
accent
#DC4C9D
background
#FAF8FD
surface
#F5EFFA
border
#CFCAD3
text
#100A15
muted
#7F7C83