#823BBA#823BBA
#823BBA is a mid, vivid violet. Relative luminance 0.114; OKLCH L 50.8% C 0.193 H 306.3°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).
Color values
| HEX | #823BBA |
|---|---|
| RGB | rgb(130, 59, 186) |
| HSL | hsl(274, 52%, 48%) |
| HSV | hsv(274, 68%, 73%) |
| CMYK | cmyk(30.1%, 68.3%, 0%, 27.1%) |
| CIE-LAB | lab(40.28, 52.98, -54.78) |
| CIE-LCH | lch(40.28, 76.20, 314.04°) |
| OKLab | oklab(50.85% 0.1141 -0.1554) |
| OKLCH | oklch(50.85% 0.193 306.3) |
| XYZ | xyz(19.6309, 11.4191, 47.6148) |
| Luminance | 0.1142 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.37
Purply
#983FB2
ΔE00 5.22
Blueviolet
#8A2BE2
ΔE00 5.59
Darkviolet
#9400D3
ΔE00 5.82
Royal Purple
#7851A9
ΔE00 6.23
Bluey Purple
#6241C7
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#823BBA #73BA3B
analogous
#423BBA #823BBA #BA3BB3
triadic
#823BBA #BA823B #3BBA82
tetradic
#823BBA #BA423B #73BA3B #3BB3BA
square
#823BBA #BA423B #73BA3B #3BB3BA
split-complementary
#823BBA #B3BA3B #3BBA42
monochromatic
#411E5D #622C8C #823BBA #9F64CE #BC93DD
Accessibility & contrast
On white
6.40
#823BBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#823BBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #823BBA
6.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##823BBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##823BBA | 1.00 | 6.40 | 3.28 | 6.40 |
| #FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005DBE
Deuteranopia (green-blind)
#155FB7
Tritanopia (blue-blind)
#785776
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #823bba; /* rgb */ color: rgb(130, 59, 186); /* oklch */ color: oklch(50.8% 0.193 306.3);
Tailwind
colors: {
custom: {
50: '#ab76cf',
500: '#823bba',
950: '#000000',
},
}SCSS
$custom: #823bba; $custom-light: #ab76cf; $custom-dark: #000000;
JSON
{
"hex": "#823bba",
"rgb": {
"r": 130,
"g": 59,
"b": 186
},
"hsl": {
"h": 273.543,
"s": 51.837,
"l": 48.039
},
"oklch": {
"l": 0.50846,
"c": 0.19277,
"h": 306.3
},
"luminance": 0.11419
}Semantic roles & 50–950 ramp
primary
#823BBA
secondary
#A5C889
accent
#DB4D8B
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#110914
muted
#807B82