#8B57F1#8B57F1

#8B57F1 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.5% C 0.219 H 294.3°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#8B57F1
RGBrgb(139, 87, 241)
HSLhsl(260, 85%, 64%)
HSVhsv(260, 64%, 95%)
CMYKcmyk(42.3%, 63.9%, 0%, 5.5%)
CIE-LABlab(50.28, 54.47, -70.04)
CIE-LCHlch(50.28, 88.72, 307.87°)
OKLaboklab(59.49% 0.0902 -0.2)
OKLCHoklch(59.49% 0.219 294.3)
XYZxyz(29.9286, 18.6555, 85.2260)
Luminance0.1866 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57F1 #BDF157
analogous
#5770F1 #8B57F1 #D857F1
triadic
#8B57F1 #F18B57 #57F18B
tetradic
#8B57F1 #F15770 #BDF157 #57F1D8
square
#8B57F1 #F15770 #BDF157 #57F1D8
split-complementary
#8B57F1 #F1D857 #70F157
monochromatic
#4B10BE #641FEC #8B57F1 #B28FF6 #D9C8FA

Accessibility & contrast

On white

4.44
#8B57F1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#8B57F1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B57F1
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57F1#FFFFFF#000000##000000
##8B57F11.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079F6
Deuteranopia (green-blind)
#0075EE
Tritanopia (blue-blind)
#6F7B9C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #8b57f1;
/* rgb */ color: rgb(139, 87, 241);
/* oklch */ color: oklch(59.5% 0.219 294.3);
Tailwind
colors: {
  custom: {
    50: '#b489f7',
    500: '#8b57f1',
    950: '#000000',
  },
}
SCSS
$custom: #8b57f1;
$custom-light: #b489f7;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57f1",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 241
  },
  "hsl": {
    "h": 260.26,
    "s": 84.615,
    "l": 64.314
  },
  "oklch": {
    "l": 0.59494,
    "c": 0.21942,
    "h": 294.3
  },
  "luminance": 0.18656
}

Semantic roles & 50–950 ramp

primary
#8B57F1
secondary
#DBEDB7
accent
#E10497
background
#FBF8FF
surface
#F6F0FF
border
#D0CBD7
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B57F1

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#8B57F1 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva