#8255F0#8255F0
#8255F0 is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.3% C 0.220 H 291.4°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #8255F0 |
|---|---|
| RGB | rgb(130, 85, 240) |
| HSL | hsl(257, 84%, 64%) |
| HSV | hsv(257, 65%, 94%) |
| CMYK | cmyk(45.8%, 64.6%, 0%, 5.9%) |
| CIE-LAB | lab(48.92, 53.55, -71.72) |
| CIE-LCH | lch(48.92, 89.51, 306.74°) |
| OKLab | oklab(58.28% 0.0804 -0.2053) |
| OKLCH | oklch(58.28% 0.22 291.4) |
| XYZ | xyz(28.1782, 17.5331, 84.3207) |
| Luminance | 0.1753 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.87
Mediumslateblue
#7B68EE
ΔE00 5.26
Light Indigo
#6D5ACF
ΔE00 5.80
Slate Blue
#6A5ACD
ΔE00 6.36
Lighter Purple
#A55AF4
ΔE00 6.47
Lightish Purple
#A552E6
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8255F0 #C3F055
analogous
#5575F0 #8255F0 #CF55F0
triadic
#8255F0 #F08255 #55F082
tetradic
#8255F0 #F05575 #C3F055 #55F0CF
square
#8255F0 #F05575 #C3F055 #55F0CF
split-complementary
#8255F0 #F0CF55 #75F055
monochromatic
#4210BA #591DEB #8255F0 #AB8DF5 #D5C5FA
Accessibility & contrast
On white
4.66
#8255F0 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.51
#8255F0 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8255F0
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8255F0 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8255F0 | 1.00 | 4.66 | 4.51 | 4.66 |
| #FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F5
Deuteranopia (green-blind)
#0071ED
Tritanopia (blue-blind)
#607A9B
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8255f0; /* rgb */ color: rgb(130, 85, 240); /* oklch */ color: oklch(58.3% 0.220 291.4);
Tailwind
colors: {
custom: {
50: '#ae87f6',
500: '#8255f0',
950: '#000000',
},
}SCSS
$custom: #8255f0; $custom-light: #ae87f6; $custom-dark: #000000;
JSON
{
"hex": "#8255f0",
"rgb": {
"r": 130,
"g": 85,
"b": 240
},
"hsl": {
"h": 257.419,
"s": 83.784,
"l": 63.725
},
"oklch": {
"l": 0.58282,
"c": 0.22045,
"h": 291.4
},
"luminance": 0.17534
}Semantic roles & 50–950 ramp
primary
#8255F0
secondary
#DCECB5
accent
#E005A1
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85