#8255F1#8255F1
#8255F1 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.4% C 0.222 H 291.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #8255F1 |
|---|---|
| RGB | rgb(130, 85, 241) |
| HSL | hsl(257, 85%, 64%) |
| HSV | hsv(257, 65%, 95%) |
| CMYK | cmyk(46.1%, 64.7%, 0%, 5.5%) |
| CIE-LAB | lab(49.00, 53.82, -72.16) |
| CIE-LCH | lch(49.00, 90.02, 306.71°) |
| OKLab | oklab(58.36% 0.0803 -0.2066) |
| OKLCH | oklch(58.36% 0.222 291.2) |
| XYZ | xyz(28.3271, 17.5927, 85.1052) |
| Luminance | 0.1759 (WCAG relative) |
| Temperature | cool |
| Family | violet |
Closest named colors
Purpley
#8756E4
ΔE00 1.99
Mediumslateblue
#7B68EE
ΔE00 5.23
Light Indigo
#6D5ACF
ΔE00 5.90
Lighter Purple
#A55AF4
ΔE00 6.45
Slate Blue
#6A5ACD
ΔE00 6.46
Lightish Purple
#A552E6
ΔE00 6.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8255F1 #C4F155
analogous
#5576F1 #8255F1 #D055F1
triadic
#8255F1 #F18255 #55F182
tetradic
#8255F1 #F15576 #C4F155 #55F1D0
square
#8255F1 #F15576 #C4F155 #55F1D0
split-complementary
#8255F1 #F1D055 #76F155
monochromatic
#410FBC #581CEC #8255F1 #AC8EF6 #D5C6FA
Accessibility & contrast
On white
4.65
#8255F1 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#8255F1 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #8255F1
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8255F1 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8255F1 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#0077F6
Deuteranopia (green-blind)
#0071EE
Tritanopia (blue-blind)
#607B9C
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #8255f1; /* rgb */ color: rgb(130, 85, 241); /* oklch */ color: oklch(58.4% 0.222 291.2);
Tailwind
colors: {
custom: {
50: '#ae87f7',
500: '#8255f1',
950: '#000000',
},
}SCSS
$custom: #8255f1; $custom-light: #ae87f7; $custom-dark: #000000;
JSON
{
"hex": "#8255f1",
"rgb": {
"r": 130,
"g": 85,
"b": 241
},
"hsl": {
"h": 257.308,
"s": 84.783,
"l": 63.922
},
"oklch": {
"l": 0.58358,
"c": 0.22161,
"h": 291.2
},
"luminance": 0.17594
}Semantic roles & 50–950 ramp
primary
#8255F1
secondary
#DCECB6
accent
#E104A2
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#110B17
muted
#807C85