#823DC2#823DC2
#823DC2 is a mid, vivid violet. Relative luminance 0.120; OKLCH L 51.7% C 0.199 H 303.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).
Color values
| HEX | #823DC2 |
|---|---|
| RGB | rgb(130, 61, 194) |
| HSL | hsl(271, 52%, 50%) |
| HSV | hsv(271, 69%, 76%) |
| CMYK | cmyk(33%, 68.6%, 0%, 23.9%) |
| CIE-LAB | lab(41.18, 53.92, -58.00) |
| CIE-LCH | lch(41.18, 79.19, 312.91°) |
| OKLab | oklab(51.67% 0.111 -0.1648) |
| OKLCH | oklch(51.67% 0.199 303.9) |
| XYZ | xyz(20.6100, 11.9784, 52.2548) |
| Luminance | 0.1198 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.07
Blueviolet
#8A2BE2
ΔE00 4.63
Darkviolet
#9400D3
ΔE00 5.75
Purply
#983FB2
ΔE00 5.79
Bluey Purple
#6241C7
ΔE00 5.84
Bluish Purple
#703BE7
ΔE00 6.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#823DC2 #7DC23D
analogous
#403DC2 #823DC2 #C23DBF
triadic
#823DC2 #C2823D #3DC282
tetradic
#823DC2 #C2403D #7DC23D #3DBFC2
square
#823DC2 #C2403D #7DC23D #3DBFC2
split-complementary
#823DC2 #BFC23D #3DC240
monochromatic
#442065 #632E93 #823DC2 #A06CD1 #BE9ADF
Accessibility & contrast
On white
6.18
#823DC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.40
#823DC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #823DC2
6.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##823DC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##823DC2 | 1.00 | 6.18 | 3.40 | 6.18 |
| #FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.18 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0061BF
Tritanopia (blue-blind)
#765B7B
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #823dc2; /* rgb */ color: rgb(130, 61, 194); /* oklch */ color: oklch(51.7% 0.199 303.9);
Tailwind
colors: {
custom: {
50: '#ab78d5',
500: '#823dc2',
950: '#000000',
},
}SCSS
$custom: #823dc2; $custom-light: #ab78d5; $custom-dark: #000000;
JSON
{
"hex": "#823dc2",
"rgb": {
"r": 130,
"g": 61,
"b": 194
},
"hsl": {
"h": 271.128,
"s": 52.157,
"l": 50
},
"oklch": {
"l": 0.51671,
"c": 0.1987,
"h": 303.9
},
"luminance": 0.11978
}Semantic roles & 50–950 ramp
primary
#823DC2
secondary
#ACCB90
accent
#DC4C91
background
#FBF7FD
surface
#F6EDFA
border
#D0C8D3
text
#110914
muted
#807B83