#8B57EB#8B57EB

#8B57EB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.1% C 0.212 H 295.3°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#8B57EB
RGBrgb(139, 87, 235)
HSLhsl(261, 79%, 63%)
HSVhsv(261, 63%, 92%)
CMYKcmyk(40.9%, 63%, 0%, 7.8%)
CIE-LABlab(49.86, 52.90, -67.35)
CIE-LCHlch(49.86, 85.65, 308.15°)
OKLaboklab(59.06% 0.0908 -0.1921)
OKLCHoklch(59.06% 0.212 295.3)
XYZxyz(29.0471, 18.3029, 80.5836)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57EB #B7EB57
analogous
#576DEB #8B57EB #D557EB
triadic
#8B57EB #EB8B57 #57EB8B
tetradic
#8B57EB #EB576D #B7EB57 #57EBD5
square
#8B57EB #EB576D #B7EB57 #57EBD5
split-complementary
#8B57EB #EBD557 #6DEB57
monochromatic
#4C15B2 #6520E4 #8B57EB #B18EF2 #D7C4F8

Accessibility & contrast

On white

4.51
#8B57EB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#8B57EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B57EB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57EB#FFFFFF#000000##000000
##8B57EB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078F0
Deuteranopia (green-blind)
#0074E8
Tritanopia (blue-blind)
#727999
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #8b57eb;
/* rgb */ color: rgb(139, 87, 235);
/* oklch */ color: oklch(59.1% 0.212 295.3);
Tailwind
colors: {
  custom: {
    50: '#b389f2',
    500: '#8b57eb',
    950: '#000000',
  },
}
SCSS
$custom: #8b57eb;
$custom-light: #b389f2;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57eb",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 235
  },
  "hsl": {
    "h": 261.081,
    "s": 78.723,
    "l": 63.137
  },
  "oklch": {
    "l": 0.59058,
    "c": 0.21248,
    "h": 295.3
  },
  "luminance": 0.18304
}

Semantic roles & 50–950 ramp

primary
#8B57EB
secondary
#D7E9B4
accent
#DB0A92
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B57EB

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

Preview Lab → · Contrast checker → · Palette generator →

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