#823BB7#823BB7
#823BB7 is a mid, vivid violet. Relative luminance 0.113; OKLCH L 50.6% C 0.190 H 307.1°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #823BB7 |
|---|---|
| RGB | rgb(130, 59, 183) |
| HSL | hsl(274, 51%, 47%) |
| HSV | hsv(274, 68%, 72%) |
| CMYK | cmyk(29%, 67.8%, 0%, 28.2%) |
| CIE-LAB | lab(40.07, 52.28, -53.35) |
| CIE-LCH | lch(40.07, 74.70, 314.42°) |
| OKLab | oklab(50.63% 0.1145 -0.1512) |
| OKLCH | oklch(50.63% 0.19 307.1) |
| XYZ | xyz(19.3153, 11.2929, 45.9528) |
| Luminance | 0.1129 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.57
Purply
#983FB2
ΔE00 5.02
Darkviolet
#9400D3
ΔE00 6.03
Blueviolet
#8A2BE2
ΔE00 6.03
Royal Purple
#7851A9
ΔE00 6.08
Purple (survey)
#7E1E9C
ΔE00 6.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#823BB7 #70B73B
analogous
#443BB7 #823BB7 #B73BAE
triadic
#823BB7 #B7823B #3BB782
tetradic
#823BB7 #B7443B #70B73B #3BAEB7
square
#823BB7 #B7443B #70B73B #3BAEB7
split-complementary
#823BB7 #AEB73B #3BB744
monochromatic
#401D5A #612C89 #823BB7 #9F63CD #BC91DC
Accessibility & contrast
On white
6.44
#823BB7 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#823BB7 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #823BB7
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##823BB7 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##823BB7 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#005CBB
Deuteranopia (green-blind)
#1C5FB4
Tritanopia (blue-blind)
#795674
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #823bb7; /* rgb */ color: rgb(130, 59, 183); /* oklch */ color: oklch(50.6% 0.190 307.1);
Tailwind
colors: {
custom: {
50: '#ab76cd',
500: '#823bb7',
950: '#000000',
},
}SCSS
$custom: #823bb7; $custom-light: #ab76cd; $custom-dark: #000000;
JSON
{
"hex": "#823bb7",
"rgb": {
"r": 130,
"g": 59,
"b": 183
},
"hsl": {
"h": 274.355,
"s": 51.24,
"l": 47.451
},
"oklch": {
"l": 0.50631,
"c": 0.18961,
"h": 307.1
},
"luminance": 0.11293
}Semantic roles & 50–950 ramp
primary
#823BB7
secondary
#A2C687
accent
#DB4D8A
background
#FAF7FC
surface
#F5EDF9
border
#CFC8D2
text
#100914
muted
#7F7B82