#824FB2#824FB2
#824FB2 is a mid, vivid violet. Relative luminance 0.136; OKLCH L 53.1% C 0.155 H 305.5°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #824FB2 |
|---|---|
| RGB | rgb(130, 79, 178) |
| HSL | hsl(271, 39%, 50%) |
| HSV | hsv(271, 56%, 70%) |
| CMYK | cmyk(27%, 55.6%, 0%, 30.2%) |
| CIE-LAB | lab(43.58, 40.75, -44.76) |
| CIE-LCH | lch(43.58, 60.53, 312.31°) |
| OKLab | oklab(53.08% 0.0901 -0.1261) |
| OKLCH | oklch(53.08% 0.155 305.5) |
| XYZ | xyz(20.0361, 13.5523, 43.6712) |
| Luminance | 0.1355 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.44
Deep Lavender
#8D5EB7
ΔE00 4.93
Purply
#983FB2
ΔE00 5.41
Darkorchid
#9932CC
ΔE00 7.00
Amethyst
#9B5FC0
ΔE00 7.15
Medium Purple
#9E43A2
ΔE00 7.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#824FB2 #7FB24F
analogous
#504FB2 #824FB2 #B24FB0
triadic
#824FB2 #B2824F #4FB282
tetradic
#824FB2 #B2504F #7FB24F #4FB0B2
square
#824FB2 #B2504F #7FB24F #4FB0B2
split-complementary
#824FB2 #B0B24F #4FB250
monochromatic
#44295E #633C88 #824FB2 #A07AC5 #BEA4D7
Accessibility & contrast
On white
5.66
#824FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#824FB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #824FB2
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##824FB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##824FB2 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2C65B5
Deuteranopia (green-blind)
#3E67B0
Tritanopia (blue-blind)
#7A6279
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #824fb2; /* rgb */ color: rgb(130, 79, 178); /* oklch */ color: oklch(53.1% 0.155 305.5);
Tailwind
colors: {
custom: {
50: '#a982c9',
500: '#824fb2',
950: '#000000',
},
}SCSS
$custom: #824fb2; $custom-light: #a982c9; $custom-dark: #000000;
JSON
{
"hex": "#824fb2",
"rgb": {
"r": 130,
"g": 79,
"b": 178
},
"hsl": {
"h": 270.909,
"s": 39.13,
"l": 50.392
},
"oklch": {
"l": 0.53082,
"c": 0.15493,
"h": 305.5
},
"luminance": 0.13552
}Semantic roles & 50–950 ramp
primary
#824FB2
secondary
#AEC498
accent
#CF5992
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82