#8B57E8#8B57E8

#8B57E8 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 58.8% C 0.209 H 295.8°. Best body text is #000000 at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#8B57E8
RGBrgb(139, 87, 232)
HSLhsl(262, 76%, 63%)
HSVhsv(262, 63%, 91%)
CMYKcmyk(40.1%, 62.5%, 0%, 9%)
CIE-LABlab(49.65, 52.13, -66.00)
CIE-LCHlch(49.65, 84.10, 308.30°)
OKLaboklab(58.84% 0.091 -0.1882)
OKLCHoklch(58.84% 0.209 295.8)
XYZxyz(28.6173, 18.1310, 78.3202)
Luminance0.1813 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57E8 #B4E857
analogous
#576CE8 #8B57E8 #D357E8
triadic
#8B57E8 #E88B57 #57E88B
tetradic
#8B57E8 #E8576C #B4E857 #57E8D3
square
#8B57E8 #E8576C #B4E857 #57E8D3
split-complementary
#8B57E8 #E8D357 #6CE857
monochromatic
#4D18AD #6621E1 #8B57E8 #B08DEF #D5C3F7

Accessibility & contrast

On white

4.54
#8B57E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.63
#8B57E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B57E8
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57E8#FFFFFF#000000##000000
##8B57E81.004.544.634.63
#FFFFFF4.541.0021.0021.00
#0000004.6321.001.001.00
##0000004.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077ED
Deuteranopia (green-blind)
#0074E5
Tritanopia (blue-blind)
#737898
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8b57e8;
/* rgb */ color: rgb(139, 87, 232);
/* oklch */ color: oklch(58.8% 0.209 295.8);
Tailwind
colors: {
  custom: {
    50: '#b389f0',
    500: '#8b57e8',
    950: '#000000',
  },
}
SCSS
$custom: #8b57e8;
$custom-light: #b389f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57e8",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 261.517,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58842,
    "c": 0.209,
    "h": 295.8
  },
  "luminance": 0.18132
}

Semantic roles & 50–950 ramp

primary
#8B57E8
secondary
#D5E8B3
accent
#D80D8F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#120C17
muted
#817D85

Preview Lab

Preview with #8B57E8

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

Preview Lab → · Contrast checker → · Palette generator →

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