#8450B2#8450B2
#8450B2 is a mid, vivid violet. Relative luminance 0.139; OKLCH L 53.5% C 0.154 H 306.4°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8450B2 |
|---|---|
| RGB | rgb(132, 80, 178) |
| HSL | hsl(272, 39%, 51%) |
| HSV | hsv(272, 55%, 70%) |
| CMYK | cmyk(25.8%, 55.1%, 0%, 30.2%) |
| CIE-LAB | lab(44.03, 40.72, -44.04) |
| CIE-LCH | lch(44.03, 59.98, 312.75°) |
| OKLab | oklab(53.46% 0.0913 -0.1239) |
| OKLCH | oklch(53.46% 0.154 306.4) |
| XYZ | xyz(20.4186, 13.8574, 43.7099) |
| Luminance | 0.1386 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.70
Deep Lavender
#8D5EB7
ΔE00 4.49
Purply
#983FB2
ΔE00 5.25
Amethyst
#9B5FC0
ΔE00 6.67
Darkorchid
#9932CC
ΔE00 7.04
Medium Purple
#9E43A2
ΔE00 7.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8450B2 #7EB250
analogous
#5350B2 #8450B2 #B250AF
triadic
#8450B2 #B28450 #50B284
tetradic
#8450B2 #B25350 #7EB250 #50AFB2
square
#8450B2 #B25350 #7EB250 #50AFB2
split-complementary
#8450B2 #AFB250 #50B253
monochromatic
#45295E #653C89 #8450B2 #A27AC5 #C0A5D7
Accessibility & contrast
On white
5.57
#8450B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.77
#8450B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8450B2
5.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8450B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8450B2 | 1.00 | 5.57 | 3.77 | 5.57 |
| #FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#2F66B5
Deuteranopia (green-blind)
#4168B0
Tritanopia (blue-blind)
#7D6279
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #8450b2; /* rgb */ color: rgb(132, 80, 178); /* oklch */ color: oklch(53.5% 0.154 306.4);
Tailwind
colors: {
custom: {
50: '#aa83c9',
500: '#8450b2',
950: '#000000',
},
}SCSS
$custom: #8450b2; $custom-light: #aa83c9; $custom-dark: #000000;
JSON
{
"hex": "#8450b2",
"rgb": {
"r": 132,
"g": 80,
"b": 178
},
"hsl": {
"h": 271.837,
"s": 38.889,
"l": 50.588
},
"oklch": {
"l": 0.5346,
"c": 0.15391,
"h": 306.4
},
"luminance": 0.13857
}Semantic roles & 50–950 ramp
primary
#8450B2
secondary
#AEC599
accent
#CF5990
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82