#8256CB#8256CB
#8256CB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.8% C 0.175 H 297.8°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).
Color values
| HEX | #8256CB |
|---|---|
| RGB | rgb(130, 86, 203) |
| HSL | hsl(263, 53%, 57%) |
| HSV | hsv(263, 58%, 80%) |
| CMYK | cmyk(36%, 57.6%, 0%, 20.4%) |
| CIE-LAB | lab(46.60, 43.17, -54.48) |
| CIE-LCH | lch(46.60, 69.50, 308.39°) |
| OKLab | oklab(55.79% 0.0816 -0.1546) |
| OKLCH | oklch(55.79% 0.175 297.8) |
| XYZ | xyz(23.3105, 15.7129, 58.2931) |
| Luminance | 0.1571 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 3.73
Light Indigo
#6D5ACF
ΔE00 4.46
Slate Blue
#6A5ACD
ΔE00 4.96
Deep Lavender
#8D5EB7
ΔE00 5.39
Royal Purple
#7851A9
ΔE00 5.90
Iris
#6258C4
ΔE00 6.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8256CB #9FCB56
analogous
#5665CB #8256CB #BD56CB
triadic
#8256CB #CB8256 #56CB82
tetradic
#8256CB #CB5665 #9FCB56 #56CBBD
square
#8256CB #CB5665 #9FCB56 #56CBBD
split-complementary
#8256CB #CBBD56 #65CB56
monochromatic
#48277F #6336AE #8256CB #A585D9 #C7B4E8
Accessibility & contrast
On white
5.07
#8256CB on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.14
#8256CB on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8256CB
5.07:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8256CB | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8256CB | 1.00 | 5.07 | 4.14 | 5.07 |
| #FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.14 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.07 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#196FCF
Deuteranopia (green-blind)
#2D6DC8
Tritanopia (blue-blind)
#716E88
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #8256cb; /* rgb */ color: rgb(130, 86, 203); /* oklch */ color: oklch(55.8% 0.175 297.8);
Tailwind
colors: {
custom: {
50: '#ab87db',
500: '#8256cb',
950: '#000000',
},
}SCSS
$custom: #8256cb; $custom-light: #ab87db; $custom-dark: #000000;
JSON
{
"hex": "#8256cb",
"rgb": {
"r": 130,
"g": 86,
"b": 203
},
"hsl": {
"h": 262.564,
"s": 52.941,
"l": 56.667
},
"oklch": {
"l": 0.55786,
"c": 0.17476,
"h": 297.8
},
"luminance": 0.15713
}Semantic roles & 50–950 ramp
primary
#8256CB
secondary
#C4D6A6
accent
#DC4BA6
background
#FAF8FD
surface
#F4F0FB
border
#CECBD4
text
#100B15
muted
#7F7C83