#824FC2#824FC2
#824FC2 is a mid, vivid violet. Relative luminance 0.142; OKLCH L 54.1% C 0.174 H 301.2°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).
Color values
| HEX | #824FC2 |
|---|---|
| RGB | rgb(130, 79, 194) |
| HSL | hsl(267, 49%, 54%) |
| HSV | hsv(267, 59%, 76%) |
| CMYK | cmyk(33%, 59.3%, 0%, 23.9%) |
| CIE-LAB | lab(44.56, 44.71, -52.54) |
| CIE-LCH | lch(44.56, 68.99, 310.40°) |
| OKLab | oklab(54.12% 0.0903 -0.1489) |
| OKLCH | oklch(54.12% 0.174 301.2) |
| XYZ | xyz(21.7372, 14.2327, 52.6305) |
| Luminance | 0.1423 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 4.42
Purpley
#8756E4
ΔE00 5.62
Deep Lavender
#8D5EB7
ΔE00 5.64
Light Indigo
#6D5ACF
ΔE00 5.92
Darkorchid
#9932CC
ΔE00 6.26
Slate Blue
#6A5ACD
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#824FC2 #8FC24F
analogous
#4F55C2 #824FC2 #BB4FC2
triadic
#824FC2 #C2824F #4FC282
tetradic
#824FC2 #C24F55 #8FC24F #4FC2BB
square
#824FC2 #C24F55 #8FC24F #4FC2BB
split-complementary
#824FC2 #C2BB4F #55C24F
monochromatic
#472770 #64379D #824FC2 #A27CD2 #C3AAE2
Accessibility & contrast
On white
5.46
#824FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#824FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #824FC2
5.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##824FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##824FC2 | 1.00 | 5.46 | 3.85 | 5.46 |
| #FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1169C6
Deuteranopia (green-blind)
#2D69BF
Tritanopia (blue-blind)
#756781
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #824fc2; /* rgb */ color: rgb(130, 79, 194); /* oklch */ color: oklch(54.1% 0.174 301.2);
Tailwind
colors: {
custom: {
50: '#aa82d5',
500: '#824fc2',
950: '#000000',
},
}SCSS
$custom: #824fc2; $custom-light: #aa82d5; $custom-dark: #000000;
JSON
{
"hex": "#824fc2",
"rgb": {
"r": 130,
"g": 79,
"b": 194
},
"hsl": {
"h": 266.609,
"s": 48.523,
"l": 53.529
},
"oklch": {
"l": 0.54116,
"c": 0.17408,
"h": 301.2
},
"luminance": 0.14233
}Semantic roles & 50–950 ramp
primary
#824FC2
secondary
#B9CF9E
accent
#D8509C
background
#FAF8FD
surface
#F4EFFA
border
#CECAD3
text
#100B14
muted
#7F7C83