#8256D2#8256D2
#8256D2 is a mid, vivid violet. Relative luminance 0.161; OKLCH L 56.3% C 0.183 H 296.4°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #8256D2 |
|---|---|
| RGB | rgb(130, 86, 210) |
| HSL | hsl(261, 58%, 58%) |
| HSV | hsv(261, 59%, 82%) |
| CMYK | cmyk(38.1%, 59%, 0%, 17.6%) |
| CIE-LAB | lab(47.05, 45.00, -57.77) |
| CIE-LCH | lch(47.05, 73.23, 307.92°) |
| OKLab | oklab(56.26% 0.0815 -0.1642) |
| OKLCH | oklch(56.26% 0.183 296.4) |
| XYZ | xyz(24.1636, 16.0541, 62.7859) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 2.69
Light Indigo
#6D5ACF
ΔE00 4.19
Slate Blue
#6A5ACD
ΔE00 4.77
Dark Periwinkle
#665FD1
ΔE00 6.13
Deep Lavender
#8D5EB7
ΔE00 6.23
Iris
#6258C4
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8256D2 #A6D256
analogous
#5668D2 #8256D2 #C056D2
triadic
#8256D2 #D28256 #56D282
tetradic
#8256D2 #D25668 #A6D256 #56D2C0
square
#8256D2 #D25668 #A6D256 #56D2C0
split-complementary
#8256D2 #D2C056 #68D256
monochromatic
#482589 #6231B9 #8256D2 #A686DF #C9B7EC
Accessibility & contrast
On white
4.99
#8256D2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#8256D2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8256D2
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8256D2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8256D2 | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#216ECF
Tritanopia (blue-blind)
#6F718C
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #8256d2; /* rgb */ color: rgb(130, 86, 210); /* oklch */ color: oklch(56.3% 0.183 296.4);
Tailwind
colors: {
custom: {
50: '#ab87e0',
500: '#8256d2',
950: '#000000',
},
}SCSS
$custom: #8256d2; $custom-light: #ab87e0; $custom-dark: #000000;
JSON
{
"hex": "#8256d2",
"rgb": {
"r": 130,
"g": 86,
"b": 210
},
"hsl": {
"h": 261.29,
"s": 57.944,
"l": 58.039
},
"oklch": {
"l": 0.56259,
"c": 0.18332,
"h": 296.4
},
"luminance": 0.16055
}Semantic roles & 50–950 ramp
primary
#8256D2
secondary
#C9DBA9
accent
#E147AA
background
#FAF8FD
surface
#F5F0FB
border
#CFCBD4
text
#110B15
muted
#807C83