#823FC2#823FC2
#823FC2 is a mid, vivid violet. Relative luminance 0.122; OKLCH L 51.9% C 0.196 H 303.7°. Best body text is #FFFFFF at 6.11:1 contrast (WCAG AA passes).
Color values
| HEX | #823FC2 |
|---|---|
| RGB | rgb(130, 63, 194) |
| HSL | hsl(271, 52%, 50%) |
| HSV | hsv(271, 68%, 76%) |
| CMYK | cmyk(33%, 67.5%, 0%, 23.9%) |
| CIE-LAB | lab(41.53, 52.96, -57.44) |
| CIE-LCH | lch(41.53, 78.13, 312.68°) |
| OKLab | oklab(51.92% 0.1088 -0.1632) |
| OKLCH | oklch(51.92% 0.196 303.7) |
| XYZ | xyz(20.7188, 12.1959, 52.2910) |
| Luminance | 0.1220 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Darkorchid
#9932CC
ΔE00 4.16
Blueviolet
#8A2BE2
ΔE00 4.80
Purply
#983FB2
ΔE00 5.73
Bluey Purple
#6241C7
ΔE00 5.84
Bluish Purple
#703BE7
ΔE00 6.09
Darkviolet
#9400D3
ΔE00 6.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#823FC2 #7FC23F
analogous
#403FC2 #823FC2 #C23FC1
triadic
#823FC2 #C2823F #3FC282
tetradic
#823FC2 #C2403F #7FC23F #3FC1C2
square
#823FC2 #C2403F #7FC23F #3FC1C2
split-complementary
#823FC2 #C1C23F #3FC240
monochromatic
#442066 #632F95 #823FC2 #A06DD1 #BE9CE0
Accessibility & contrast
On white
6.11
#823FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.44
#823FC2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #823FC2
6.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##823FC2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##823FC2 | 1.00 | 6.11 | 3.44 | 6.11 |
| #FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0060C6
Deuteranopia (green-blind)
#0662BF
Tritanopia (blue-blind)
#765D7B
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #823fc2; /* rgb */ color: rgb(130, 63, 194); /* oklch */ color: oklch(51.9% 0.196 303.7);
Tailwind
colors: {
custom: {
50: '#ab79d5',
500: '#823fc2',
950: '#000000',
},
}SCSS
$custom: #823fc2; $custom-light: #ab79d5; $custom-dark: #000000;
JSON
{
"hex": "#823fc2",
"rgb": {
"r": 130,
"g": 63,
"b": 194
},
"hsl": {
"h": 270.687,
"s": 51.779,
"l": 50.392
},
"oklch": {
"l": 0.51917,
"c": 0.19617,
"h": 303.7
},
"luminance": 0.12196
}Semantic roles & 50–950 ramp
primary
#823FC2
secondary
#AECC91
accent
#DB4D92
background
#FAF7FD
surface
#F5EEFA
border
#CFC9D3
text
#110914
muted
#807B83