#823CC2#823CC2
#823CC2 is a mid, vivid violet. Relative luminance 0.119; OKLCH L 51.5% C 0.200 H 304.1°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #823CC2 |
|---|---|
| RGB | rgb(130, 60, 194) |
| HSL | hsl(271, 53%, 50%) |
| HSV | hsv(271, 69%, 76%) |
| CMYK | cmyk(33%, 69.1%, 0%, 23.9%) |
| CIE-LAB | lab(41.01, 54.39, -58.27) |
| CIE-LCH | lch(41.01, 79.71, 313.03°) |
| OKLab | oklab(51.55% 0.112 -0.1656) |
| OKLCH | oklch(51.55% 0.2 304.1) |
| XYZ | xyz(20.5572, 11.8726, 52.2371) |
| Luminance | 0.1187 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.05
Blueviolet
#8A2BE2
ΔE00 4.56
Darkviolet
#9400D3
ΔE00 5.59
Purply
#983FB2
ΔE00 5.82
Bluey Purple
#6241C7
ΔE00 5.85
Bluish Purple
#703BE7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#823CC2 #7CC23C
analogous
#3F3CC2 #823CC2 #C23CBF
triadic
#823CC2 #C2823C #3CC282
tetradic
#823CC2 #C23F3C #7CC23C #3CBFC2
square
#823CC2 #C23F3C #7CC23C #3CBFC2
split-complementary
#823CC2 #BFC23C #3CC23F
monochromatic
#431F65 #632E93 #823CC2 #A06AD1 #BE99DF
Accessibility & contrast
On white
6.22
#823CC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.37
#823CC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #823CC2
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##823CC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##823CC2 | 1.00 | 6.22 | 3.37 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#765B7A
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #823cc2; /* rgb */ color: rgb(130, 60, 194); /* oklch */ color: oklch(51.5% 0.200 304.1);
Tailwind
colors: {
custom: {
50: '#ab77d5',
500: '#823cc2',
950: '#000000',
},
}SCSS
$custom: #823cc2; $custom-light: #ab77d5; $custom-dark: #000000;
JSON
{
"hex": "#823cc2",
"rgb": {
"r": 130,
"g": 60,
"b": 194
},
"hsl": {
"h": 271.343,
"s": 52.756,
"l": 49.804
},
"oklch": {
"l": 0.5155,
"c": 0.19995,
"h": 304.1
},
"luminance": 0.11873
}Semantic roles & 50–950 ramp
primary
#823CC2
secondary
#ACCB8F
accent
#DC4C91
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83