#8256BB#8256BB
#8256BB is a mid, vivid violet. Relative luminance 0.150; OKLCH L 54.8% C 0.155 H 301.6°. Best body text is #FFFFFF at 5.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8256BB |
|---|---|
| RGB | rgb(130, 86, 187) |
| HSL | hsl(266, 43%, 54%) |
| HSV | hsv(266, 54%, 73%) |
| CMYK | cmyk(30.5%, 54%, 0%, 26.7%) |
| CIE-LAB | lab(45.62, 39.06, -46.78) |
| CIE-LCH | lch(45.62, 60.94, 309.86°) |
| OKLab | oklab(54.75% 0.0812 -0.132) |
| OKLCH | oklch(54.75% 0.155 301.6) |
| XYZ | xyz(21.5013, 14.9892, 48.7645) |
| Luminance | 0.1499 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 3.59
Deep Lavender
#8D5EB7
ΔE00 3.73
Light Indigo
#6D5ACF
ΔE00 6.03
Amethyst
#9B5FC0
ΔE00 6.05
Purpley
#8756E4
ΔE00 6.34
Slate Blue
#6A5ACD
ΔE00 6.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8256BB #8FBB56
analogous
#565CBB #8256BB #B456BB
triadic
#8256BB #BB8256 #56BB82
tetradic
#8256BB #BB565C #8FBB56 #56BBB4
square
#8256BB #BB565C #8FBB56 #56BBB4
split-complementary
#8256BB #BBB456 #5CBB56
monochromatic
#472B6B #643D97 #8256BB #A282CD #C3ADDE
Accessibility & contrast
On white
5.25
#8256BB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.00
#8256BB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8256BB
5.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8256BB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8256BB | 1.00 | 5.25 | 4.00 | 5.25 |
| #FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.00 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#316BBE
Deuteranopia (green-blind)
#3E6CB9
Tritanopia (blue-blind)
#776980
Achromatopsia (no color)
#6C6C6C
Design tokens & code
CSS
--color: #8256bb; /* rgb */ color: rgb(130, 86, 187); /* oklch */ color: oklch(54.8% 0.155 301.6);
Tailwind
colors: {
custom: {
50: '#a987d0',
500: '#8256bb',
950: '#000000',
},
}SCSS
$custom: #8256bb; $custom-light: #a987d0; $custom-dark: #000000;
JSON
{
"hex": "#8256bb",
"rgb": {
"r": 130,
"g": 86,
"b": 187
},
"hsl": {
"h": 266.139,
"s": 42.616,
"l": 53.529
},
"oklch": {
"l": 0.54753,
"c": 0.15494,
"h": 301.6
},
"luminance": 0.14989
}Semantic roles & 50–950 ramp
primary
#8256BB
secondary
#B9CCA1
accent
#D2559C
background
#FAF8FC
surface
#F4EFF9
border
#CECAD2
text
#100B14
muted
#7F7C82