#826CDC#826CDC
#826CDC is a mid, vivid violet. Relative luminance 0.206; OKLCH L 60.5% C 0.164 H 289.6°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).
Color values
| HEX | #826CDC |
|---|---|
| RGB | rgb(130, 108, 220) |
| HSL | hsl(252, 62%, 64%) |
| HSV | hsv(252, 51%, 86%) |
| CMYK | cmyk(40.9%, 50.9%, 0%, 13.7%) |
| CIE-LAB | lab(52.55, 35.16, -54.61) |
| CIE-LCH | lch(52.55, 64.95, 302.77°) |
| OKLab | oklab(60.53% 0.0552 -0.1549) |
| OKLCH | oklch(60.53% 0.164 289.6) |
| XYZ | xyz(27.4832, 20.6374, 70.2316) |
| Luminance | 0.2064 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 3.15
Mediumpurple
#9370DB
ΔE00 3.68
Purpley
#8756E4
ΔE00 6.29
Dark Periwinkle
#665FD1
ΔE00 6.60
Light Indigo
#6D5ACF
ΔE00 6.90
Slate Blue
#6A5ACD
ΔE00 7.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#826CDC #C6DC6C
analogous
#6C8EDC #826CDC #BA6CDC
triadic
#826CDC #DC826C #6CDC82
tetradic
#826CDC #DC6C8E #C6DC6C #6CDCBA
square
#826CDC #DC6C8E #C6DC6C #6CDCBA
split-complementary
#826CDC #DCBA6C #8EDC6C
monochromatic
#4028A6 #583BD0 #826CDC #AC9DE8 #D6CFF4
Accessibility & contrast
On white
4.10
#826CDC on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.13
#826CDC on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #826CDC
5.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##826CDC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##826CDC | 1.00 | 4.10 | 5.13 | 5.13 |
| #FFFFFF | 4.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C80E0
Deuteranopia (green-blind)
#3E7BD9
Tritanopia (blue-blind)
#69839A
Achromatopsia (no color)
#7D7D7D
Design tokens & code
CSS
--color: #826cdc; /* rgb */ color: rgb(130, 108, 220); /* oklch */ color: oklch(60.5% 0.164 289.6);
Tailwind
colors: {
custom: {
50: '#ab96e7',
500: '#826cdc',
950: '#000000',
},
}SCSS
$custom: #826cdc; $custom-light: #ab96e7; $custom-dark: #000000;
JSON
{
"hex": "#826cdc",
"rgb": {
"r": 130,
"g": 108,
"b": 220
},
"hsl": {
"h": 251.786,
"s": 61.538,
"l": 64.314
},
"oklch": {
"l": 0.60527,
"c": 0.16447,
"h": 289.6
},
"luminance": 0.20638
}Semantic roles & 50–950 ramp
primary
#826CDC
secondary
#DEE5BE
accent
#C91CA7
background
#FAF9FE
surface
#F4F2FC
border
#CECCD5
text
#100D16
muted
#7F7E84