#8245E2#8245E2
#8245E2 is a mid, highly saturated violet. Relative luminance 0.145; OKLCH L 55.1% C 0.224 H 296.0°. Best body text is #FFFFFF at 5.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8245E2 |
|---|---|
| RGB | rgb(130, 69, 226) |
| HSL | hsl(263, 73%, 58%) |
| HSV | hsv(263, 69%, 89%) |
| CMYK | cmyk(42.5%, 69.5%, 0%, 11.4%) |
| CIE-LAB | lab(44.93, 57.97, -70.32) |
| CIE-LCH | lch(44.93, 91.14, 309.50°) |
| OKLab | oklab(55.09% 0.0979 -0.2011) |
| OKLCH | oklch(55.09% 0.224 296) |
| XYZ | xyz(25.0579, 14.4925, 73.4139) |
| Luminance | 0.1449 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Bluish Purple
#703BE7
ΔE00 3.69
Blueviolet
#8A2BE2
ΔE00 4.21
Purpley
#8756E4
ΔE00 4.23
Purpleish Blue
#6140EF
ΔE00 5.20
Burple
#6832E3
ΔE00 5.80
Darkorchid
#9932CC
ΔE00 6.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8245E2 #A5E245
analogous
#4556E2 #8245E2 #D045E2
triadic
#8245E2 #E28245 #45E282
tetradic
#8245E2 #E24556 #A5E245 #45E2D0
square
#8245E2 #E24556 #A5E245 #45E2D0
split-complementary
#8245E2 #E2D045 #56E245
monochromatic
#481795 #6220CA #8245E2 #A67AEA #C9AFF3
Accessibility & contrast
On white
5.39
#8245E2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.90
#8245E2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8245E2
5.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8245E2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8245E2 | 1.00 | 5.39 | 3.90 | 5.39 |
| #FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.90 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#006BE7
Deuteranopia (green-blind)
#0068DF
Tritanopia (blue-blind)
#686C8F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8245e2; /* rgb */ color: rgb(130, 69, 226); /* oklch */ color: oklch(55.1% 0.224 296.0);
Tailwind
colors: {
custom: {
50: '#ae7dec',
500: '#8245e2',
950: '#000000',
},
}SCSS
$custom: #8245e2; $custom-light: #ae7dec; $custom-dark: #000000;
JSON
{
"hex": "#8245e2",
"rgb": {
"r": 130,
"g": 69,
"b": 226
},
"hsl": {
"h": 263.312,
"s": 73.023,
"l": 57.843
},
"oklch": {
"l": 0.55091,
"c": 0.22368,
"h": 296
},
"luminance": 0.14493
}Semantic roles & 50–950 ramp
primary
#8245E2
secondary
#C8E1A2
accent
#F038A8
background
#FBF7FE
surface
#F6EEFD
border
#D0C9D5
text
#110A16
muted
#807C84