#8256B2#8256B2
#8256B2 is a mid, vivid violet. Relative luminance 0.146; OKLCH L 54.2% C 0.144 H 304.1°. Best body text is #FFFFFF at 5.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8256B2 |
|---|---|
| RGB | rgb(130, 86, 178) |
| HSL | hsl(269, 37%, 52%) |
| HSV | hsv(269, 52%, 70%) |
| CMYK | cmyk(27%, 51.7%, 0%, 30.2%) |
| CIE-LAB | lab(45.10, 36.81, -42.34) |
| CIE-LCH | lch(45.10, 56.10, 311.00°) |
| OKLab | oklab(54.2% 0.0806 -0.119) |
| OKLCH | oklch(54.2% 0.144 304.1) |
| XYZ | xyz(20.5678, 14.6158, 43.8484) |
| Luminance | 0.1462 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.66
Deep Lavender
#8D5EB7
ΔE00 3.34
Amethyst
#9B5FC0
ΔE00 6.05
Purply
#983FB2
ΔE00 6.76
Light Indigo
#6D5ACF
ΔE00 7.35
Slate Blue
#6A5ACD
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8256B2 #86B256
analogous
#5658B2 #8256B2 #B056B2
triadic
#8256B2 #B28256 #56B282
tetradic
#8256B2 #B25658 #86B256 #56B2B0
square
#8256B2 #B25658 #86B256 #56B2B0
split-complementary
#8256B2 #B2B056 #58B256
monochromatic
#462C61 #643F8B #8256B2 #A180C5 #C0AAD8
Accessibility & contrast
On white
5.35
#8256B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.92
#8256B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8256B2
5.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8256B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8256B2 | 1.00 | 5.35 | 3.92 | 5.35 |
| #FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.92 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#466BB0
Tritanopia (blue-blind)
#7A677C
Achromatopsia (no color)
#6B6B6B
Design tokens & code
CSS
--color: #8256b2; /* rgb */ color: rgb(130, 86, 178); /* oklch */ color: oklch(54.2% 0.144 304.1);
Tailwind
colors: {
custom: {
50: '#a987c9',
500: '#8256b2',
950: '#000000',
},
}SCSS
$custom: #8256b2; $custom-light: #a987c9; $custom-dark: #000000;
JSON
{
"hex": "#8256b2",
"rgb": {
"r": 130,
"g": 86,
"b": 178
},
"hsl": {
"h": 268.696,
"s": 37.398,
"l": 51.765
},
"oklch": {
"l": 0.54204,
"c": 0.14371,
"h": 304.1
},
"luminance": 0.14616
}Semantic roles & 50–950 ramp
primary
#8256B2
secondary
#B3C69E
accent
#CD5A96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82