#823CB2#823CB2
#823CB2 is a mid, vivid violet. Relative luminance 0.112; OKLCH L 50.4% C 0.183 H 308.5°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).
Color values
| HEX | #823CB2 |
|---|---|
| RGB | rgb(130, 60, 178) |
| HSL | hsl(276, 50%, 47%) |
| HSV | hsv(276, 66%, 70%) |
| CMYK | cmyk(27%, 66.3%, 0%, 30.2%) |
| CIE-LAB | lab(39.90, 50.65, -50.67) |
| CIE-LCH | lch(39.90, 71.65, 314.99°) |
| OKLab | oklab(50.4% 0.1138 -0.1433) |
| OKLCH | oklch(50.4% 0.183 308.5) |
| XYZ | xyz(18.8560, 11.1922, 43.2778) |
| Luminance | 0.1119 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purply
#983FB2
ΔE00 4.68
Darkorchid
#9932CC
ΔE00 5.01
Royal Purple
#7851A9
ΔE00 5.73
Purple (survey)
#7E1E9C
ΔE00 6.32
Rebeccapurple
#663399
ΔE00 6.37
Darkviolet
#9400D3
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#823CB2 #6CB23C
analogous
#473CB2 #823CB2 #B23CA7
triadic
#823CB2 #B2823C #3CB282
tetradic
#823CB2 #B2473C #6CB23C #3CA7B2
square
#823CB2 #B2473C #6CB23C #3CA7B2
split-complementary
#823CB2 #A7B23C #3CB247
monochromatic
#3F1D56 #612D84 #823CB2 #9F61CA #BB8FD9
Accessibility & contrast
On white
6.48
#823CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.24
#823CB2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #823CB2
6.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##823CB2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##823CB2 | 1.00 | 6.48 | 3.24 | 6.48 |
| #FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005BB6
Deuteranopia (green-blind)
#265FAF
Tritanopia (blue-blind)
#7B5572
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #823cb2; /* rgb */ color: rgb(130, 60, 178); /* oklch */ color: oklch(50.4% 0.183 308.5);
Tailwind
colors: {
custom: {
50: '#aa77ca',
500: '#823cb2',
950: '#000000',
},
}SCSS
$custom: #823cb2; $custom-light: #aa77ca; $custom-dark: #000000;
JSON
{
"hex": "#823cb2",
"rgb": {
"r": 130,
"g": 60,
"b": 178
},
"hsl": {
"h": 275.593,
"s": 49.58,
"l": 46.667
},
"oklch": {
"l": 0.50403,
"c": 0.18298,
"h": 308.5
},
"luminance": 0.11192
}Semantic roles & 50–950 ramp
primary
#823CB2
secondary
#9FC486
accent
#D94F87
background
#FAF7FC
surface
#F4EDF8
border
#CEC8D1
text
#100913
muted
#7F7B82