#826AF2#826AF2
#826AF2 is a mid, vivid violet. Relative luminance 0.215; OKLCH L 61.6% C 0.196 H 287.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).
Color values
| HEX | #826AF2 |
|---|---|
| RGB | rgb(130, 106, 242) |
| HSL | hsl(251, 84%, 68%) |
| HSV | hsv(251, 56%, 95%) |
| CMYK | cmyk(46.3%, 56.2%, 0%, 5.1%) |
| CIE-LAB | lab(53.45, 42.51, -65.51) |
| CIE-LCH | lch(53.45, 78.09, 302.98°) |
| OKLab | oklab(61.63% 0.0583 -0.1869) |
| OKLCH | oklch(61.63% 0.196 287.3) |
| XYZ | xyz(30.3823, 21.4634, 86.5292) |
| Luminance | 0.2147 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Mediumslateblue
#7B68EE
ΔE00 1.45
Mediumpurple
#9370DB
ΔE00 5.33
Purpley
#8756E4
ΔE00 6.14
Cornflower
#6A79F7
ΔE00 6.77
Periwinkle (survey)
#8E82FE
ΔE00 7.15
Lighter Purple
#A55AF4
ΔE00 7.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#826AF2 #DAF26A
analogous
#6A96F2 #826AF2 #C66AF2
triadic
#826AF2 #F2826A #6AF282
tetradic
#826AF2 #F26A96 #DAF26A #6AF2C6
square
#826AF2 #F26A96 #DAF26A #6AF2C6
split-complementary
#826AF2 #F2C66A #96F26A
monochromatic
#3412CF #5332ED #826AF2 #B1A2F7 #E0DBFC
Accessibility & contrast
On white
3.97
#826AF2 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.29
#826AF2 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #826AF2
5.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##826AF2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##826AF2 | 1.00 | 3.97 | 5.29 | 5.29 |
| #FFFFFF | 3.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0C83F7
Deuteranopia (green-blind)
#0C7CEF
Tritanopia (blue-blind)
#5D88A4
Achromatopsia (no color)
#808080
Design tokens & code
CSS
--color: #826af2; /* rgb */ color: rgb(130, 106, 242); /* oklch */ color: oklch(61.6% 0.196 287.3);
Tailwind
colors: {
custom: {
50: '#ad95f7',
500: '#826af2',
950: '#000000',
},
}SCSS
$custom: #826af2; $custom-light: #ad95f7; $custom-dark: #000000;
JSON
{
"hex": "#826af2",
"rgb": {
"r": 130,
"g": 106,
"b": 242
},
"hsl": {
"h": 250.588,
"s": 83.951,
"l": 68.235
},
"oklch": {
"l": 0.61632,
"c": 0.19582,
"h": 287.3
},
"luminance": 0.21465
}Semantic roles & 50–950 ramp
primary
#826AF2
secondary
#E9F1C7
accent
#E005BA
background
#FBF9FF
surface
#F6F2FF
border
#D0CCD7
text
#110D17
muted
#807E85