#823AB2#823AB2
#823AB2 is a mid, vivid violet. Relative luminance 0.110; OKLCH L 50.2% C 0.186 H 308.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).
Color values
| HEX | #823AB2 |
|---|---|
| RGB | rgb(130, 58, 178) |
| HSL | hsl(276, 51%, 46%) |
| HSV | hsv(276, 67%, 70%) |
| CMYK | cmyk(27%, 67.4%, 0%, 30.2%) |
| CIE-LAB | lab(39.56, 51.61, -51.22) |
| CIE-LCH | lch(39.56, 72.71, 315.22°) |
| OKLab | oklab(50.16% 0.1161 -0.1449) |
| OKLCH | oklch(50.16% 0.186 308.7) |
| XYZ | xyz(18.7532, 10.9866, 43.2436) |
| Luminance | 0.1099 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.83
Darkorchid
#9932CC
ΔE00 5.00
Purple (survey)
#7E1E9C
ΔE00 5.97
Royal Purple
#7851A9
ΔE00 6.11
Rebeccapurple
#663399
ΔE00 6.22
Darkviolet
#9400D3
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#823AB2 #6AB23A
analogous
#463AB2 #823AB2 #B23AA6
triadic
#823AB2 #B2823A #3AB282
tetradic
#823AB2 #B2463A #6AB23A #3AA6B2
square
#823AB2 #B2463A #6AB23A #3AA6B2
split-complementary
#823AB2 #A6B23A #3AB246
monochromatic
#3F1C56 #602B84 #823AB2 #9F5FCB #BB8DDA
Accessibility & contrast
On white
6.57
#823AB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.20
#823AB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #823AB2
6.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##823AB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##823AB2 | 1.00 | 6.57 | 3.20 | 6.57 |
| #FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#235EAF
Tritanopia (blue-blind)
#7B5471
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #823ab2; /* rgb */ color: rgb(130, 58, 178); /* oklch */ color: oklch(50.2% 0.186 308.7);
Tailwind
colors: {
custom: {
50: '#aa75ca',
500: '#823ab2',
950: '#000000',
},
}SCSS
$custom: #823ab2; $custom-light: #aa75ca; $custom-dark: #000000;
JSON
{
"hex": "#823ab2",
"rgb": {
"r": 130,
"g": 58,
"b": 178
},
"hsl": {
"h": 276,
"s": 50.847,
"l": 46.275
},
"oklch": {
"l": 0.50155,
"c": 0.18567,
"h": 308.7
},
"luminance": 0.10986
}Semantic roles & 50–950 ramp
primary
#823AB2
secondary
#9DC483
accent
#DA4D86
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82