#823EBA#823EBA
#823EBA is a mid, vivid violet. Relative luminance 0.117; OKLCH L 51.2% C 0.189 H 305.9°. Best body text is #FFFFFF at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #823EBA |
|---|---|
| RGB | rgb(130, 62, 186) |
| HSL | hsl(273, 50%, 49%) |
| HSV | hsv(273, 67%, 73%) |
| CMYK | cmyk(30.1%, 66.7%, 0%, 27.1%) |
| CIE-LAB | lab(40.79, 51.55, -53.94) |
| CIE-LCH | lch(40.79, 74.61, 313.70°) |
| OKLab | oklab(51.22% 0.1108 -0.1529) |
| OKLCH | oklch(51.22% 0.189 305.9) |
| XYZ | xyz(19.7895, 11.7364, 47.6677) |
| Luminance | 0.1174 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.43
Purply
#983FB2
ΔE00 5.07
Royal Purple
#7851A9
ΔE00 5.71
Blueviolet
#8A2BE2
ΔE00 5.77
Darkviolet
#9400D3
ΔE00 6.28
Bluey Purple
#6241C7
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#823EBA #76BA3E
analogous
#443EBA #823EBA #BA3EB4
triadic
#823EBA #BA823E #3EBA82
tetradic
#823EBA #BA443E #76BA3E #3EB4BA
square
#823EBA #BA443E #76BA3E #3EB4BA
split-complementary
#823EBA #B4BA3E #3EBA44
monochromatic
#421F5E #622F8C #823EBA #9F68CD #BD96DC
Accessibility & contrast
On white
6.27
#823EBA on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.35
#823EBA on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #823EBA
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##823EBA | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##823EBA | 1.00 | 6.27 | 3.35 | 6.27 |
| #FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005EBE
Deuteranopia (green-blind)
#1C60B7
Tritanopia (blue-blind)
#785977
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #823eba; /* rgb */ color: rgb(130, 62, 186); /* oklch */ color: oklch(51.2% 0.189 305.9);
Tailwind
colors: {
custom: {
50: '#ab78cf',
500: '#823eba',
950: '#000000',
},
}SCSS
$custom: #823eba; $custom-light: #ab78cf; $custom-dark: #000000;
JSON
{
"hex": "#823eba",
"rgb": {
"r": 130,
"g": 62,
"b": 186
},
"hsl": {
"h": 272.903,
"s": 50,
"l": 48.627
},
"oklch": {
"l": 0.51216,
"c": 0.18885,
"h": 305.9
},
"luminance": 0.11736
}Semantic roles & 50–950 ramp
primary
#823EBA
secondary
#A7C88C
accent
#DA4E8D
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100914
muted
#7F7B82