#8255B2#8255B2
#8255B2 is a mid, vivid violet. Relative luminance 0.145; OKLCH L 54.0% C 0.145 H 304.3°. Best body text is #FFFFFF at 5.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8255B2 |
|---|---|
| RGB | rgb(130, 85, 178) |
| HSL | hsl(269, 38%, 52%) |
| HSV | hsv(269, 52%, 70%) |
| CMYK | cmyk(27%, 52.2%, 0%, 30.2%) |
| CIE-LAB | lab(44.88, 37.38, -42.70) |
| CIE-LCH | lch(44.88, 56.74, 311.20°) |
| OKLab | oklab(54.04% 0.0819 -0.12) |
| OKLCH | oklch(54.04% 0.145 304.3) |
| XYZ | xyz(20.4886, 14.4573, 43.8220) |
| Luminance | 0.1446 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Royal Purple
#7851A9
ΔE00 2.53
Deep Lavender
#8D5EB7
ΔE00 3.55
Amethyst
#9B5FC0
ΔE00 6.18
Purply
#983FB2
ΔE00 6.54
Light Indigo
#6D5ACF
ΔE00 7.39
Slate Blue
#6A5ACD
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8255B2 #85B255
analogous
#5557B2 #8255B2 #B155B2
triadic
#8255B2 #B28255 #55B282
tetradic
#8255B2 #B25557 #85B255 #55B2B1
square
#8255B2 #B25557 #85B255 #55B2B1
split-complementary
#8255B2 #B2B155 #57B255
monochromatic
#452C61 #643F8B #8255B2 #A17FC5 #C0A9D8
Accessibility & contrast
On white
5.40
#8255B2 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.89
#8255B2 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #8255B2
5.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8255B2 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8255B2 | 1.00 | 5.40 | 3.89 | 5.40 |
| #FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3769B5
Deuteranopia (green-blind)
#456AB0
Tritanopia (blue-blind)
#7A667B
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #8255b2; /* rgb */ color: rgb(130, 85, 178); /* oklch */ color: oklch(54.0% 0.145 304.3);
Tailwind
colors: {
custom: {
50: '#a986c9',
500: '#8255b2',
950: '#000000',
},
}SCSS
$custom: #8255b2; $custom-light: #a986c9; $custom-dark: #000000;
JSON
{
"hex": "#8255b2",
"rgb": {
"r": 130,
"g": 85,
"b": 178
},
"hsl": {
"h": 269.032,
"s": 37.652,
"l": 51.569
},
"oklch": {
"l": 0.5404,
"c": 0.14532,
"h": 304.3
},
"luminance": 0.14457
}Semantic roles & 50–950 ramp
primary
#8255B2
secondary
#B2C69D
accent
#CE5A96
background
#FAF8FC
surface
#F4EFF8
border
#CECAD1
text
#100B13
muted
#7F7C82