#8B57D2#8B57D2

#8B57D2 is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.3% C 0.183 H 300.2°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#8B57D2
RGBrgb(139, 87, 210)
HSLhsl(265, 58%, 58%)
HSVhsv(265, 59%, 82%)
CMYKcmyk(33.8%, 58.6%, 0%, 17.6%)
CIE-LABlab(48.21, 46.51, -55.85)
CIE-LCHlch(48.21, 72.68, 309.78°)
OKLaboklab(57.33% 0.092 -0.1583)
OKLCHoklch(57.33% 0.183 300.2)
XYZxyz(25.6857, 16.9583, 62.8803)
Luminance0.1696 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B57D2 #9ED257
analogous
#5760D2 #8B57D2 #C857D2
triadic
#8B57D2 #D28B57 #57D28B
tetradic
#8B57D2 #D25760 #9ED257 #57D2C8
square
#8B57D2 #D25760 #9ED257 #57D2C8
split-complementary
#8B57D2 #D2C857 #60D257
monochromatic
#50258A #6B32BA #8B57D2 #AC87DF #CEB8EC

Accessibility & contrast

On white

4.78
#8B57D2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#8B57D2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8B57D2
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B57D2#FFFFFF#000000##FFFFFF
##8B57D21.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1572D6
Deuteranopia (green-blind)
#3072CF
Tritanopia (blue-blind)
#7C718C
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #8b57d2;
/* rgb */ color: rgb(139, 87, 210);
/* oklch */ color: oklch(57.3% 0.183 300.2);
Tailwind
colors: {
  custom: {
    50: '#b188e0',
    500: '#8b57d2',
    950: '#000000',
  },
}
SCSS
$custom: #8b57d2;
$custom-light: #b188e0;
$custom-dark: #000000;
JSON
{
  "hex": "#8b57d2",
  "rgb": {
    "r": 139,
    "g": 87,
    "b": 210
  },
  "hsl": {
    "h": 265.366,
    "s": 57.746,
    "l": 58.235
  },
  "oklch": {
    "l": 0.57328,
    "c": 0.18312,
    "h": 300.2
  },
  "luminance": 0.16959
}

Semantic roles & 50–950 ramp

primary
#8B57D2
secondary
#C6DBAA
accent
#E147A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110C15
muted
#807D83

Preview Lab

Preview with #8B57D2

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

Preview Lab → · Contrast checker → · Palette generator →

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