#8246EF#8246EF
#8246EF is a mid, highly saturated violet. Relative luminance 0.154; OKLCH L 56.3% C 0.237 H 293.6°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).
Color values
| HEX | #8246EF |
|---|---|
| RGB | rgb(130, 70, 239) |
| HSL | hsl(261, 84%, 61%) |
| HSV | hsv(261, 71%, 94%) |
| CMYK | cmyk(45.6%, 70.7%, 0%, 6.3%) |
| CIE-LAB | lab(46.12, 60.81, -75.73) |
| CIE-LCH | lch(46.12, 97.13, 308.76°) |
| OKLab | oklab(56.25% 0.0946 -0.217) |
| OKLCH | oklch(56.25% 0.237 293.6) |
| XYZ | xyz(26.9718, 15.3573, 83.1878) |
| Luminance | 0.1536 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.84
Bluish Purple
#703BE7
ΔE00 4.17
Purpleish Blue
#6140EF
ΔE00 5.10
Blueviolet
#8A2BE2
ΔE00 5.14
Violet
#8F00FF
ΔE00 6.24
Vivid Purple
#9900FA
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8246EF #B3EF46
analogous
#465EEF #8246EF #D746EF
triadic
#8246EF #EF8246 #46EF82
tetradic
#8246EF #EF465E #B3EF46 #46EFD7
square
#8246EF #EF465E #B3EF46 #46EFD7
split-complementary
#8246EF #EFD746 #5EEF46
monochromatic
#470FAC #5E14E4 #8246EF #A87EF4 #CEB7F9
Accessibility & contrast
On white
5.16
#8246EF on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.07
#8246EF on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8246EF
5.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8246EF | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8246EF | 1.00 | 5.16 | 4.07 | 5.16 |
| #FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.16 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006FF4
Deuteranopia (green-blind)
#006AEC
Tritanopia (blue-blind)
#627296
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #8246ef; /* rgb */ color: rgb(130, 70, 239); /* oklch */ color: oklch(56.3% 0.237 293.6);
Tailwind
colors: {
custom: {
50: '#af7ef5',
500: '#8246ef',
950: '#000000',
},
}SCSS
$custom: #8246ef; $custom-light: #af7ef5; $custom-dark: #000000;
JSON
{
"hex": "#8246ef",
"rgb": {
"r": 130,
"g": 70,
"b": 239
},
"hsl": {
"h": 261.302,
"s": 84.08,
"l": 60.588
},
"oklch": {
"l": 0.56252,
"c": 0.23672,
"h": 293.6
},
"luminance": 0.15358
}Semantic roles & 50–950 ramp
primary
#8246EF
secondary
#D2E9A8
accent
#E10593
background
#FBF7FF
surface
#F6EEFF
border
#D0C9D7
text
#110A17
muted
#807C85