#8957BD#8957BD

#8957BD is a mid, vivid violet. Relative luminance 0.158; OKLCH L 55.8% C 0.157 H 304.4°. Best body text is #FFFFFF at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#8957BD
RGBrgb(137, 87, 189)
HSLhsl(269, 44%, 54%)
HSVhsv(269, 54%, 74%)
CMYKcmyk(27.5%, 54%, 0%, 25.9%)
CIE-LABlab(46.72, 40.80, -46.14)
CIE-LCHlch(46.72, 61.59, 311.49°)
OKLaboklab(55.78% 0.089 -0.1299)
OKLCHoklch(55.78% 0.157 304.4)
XYZxyz(22.9080, 15.8090, 49.9788)
Luminance0.1581 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957BD #8BBD57
analogous
#5758BD #8957BD #BC57BD
triadic
#8957BD #BD8957 #57BD89
tetradic
#8957BD #BD5758 #8BBD57 #57BDBC
square
#8957BD #BD5758 #8BBD57 #57BDBC
split-complementary
#8957BD #BDBC57 #58BD57
monochromatic
#4C2B6E #6A3D9A #8957BD #A883CE #C7AFE0

Accessibility & contrast

On white

5.05
#8957BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.16
#8957BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957BD
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957BD#FFFFFF#000000##FFFFFF
##8957BD1.005.054.165.05
#FFFFFF5.051.0021.001.00
#0000004.1621.001.0021.00
##FFFFFF5.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#346DC0
Deuteranopia (green-blind)
#446FBB
Tritanopia (blue-blind)
#806A82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8957bd;
/* rgb */ color: rgb(137, 87, 189);
/* oklch */ color: oklch(55.8% 0.157 304.4);
Tailwind
colors: {
  custom: {
    50: '#ae88d1',
    500: '#8957bd',
    950: '#000000',
  },
}
SCSS
$custom: #8957bd;
$custom-light: #ae88d1;
$custom-dark: #000000;
JSON
{
  "hex": "#8957bd",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 189
  },
  "hsl": {
    "h": 269.412,
    "s": 43.59,
    "l": 54.118
  },
  "oklch": {
    "l": 0.55781,
    "c": 0.15746,
    "h": 304.4
  },
  "luminance": 0.15809
}

Semantic roles & 50–950 ramp

primary
#8957BD
secondary
#B8CEA2
accent
#D35495
background
#FBF8FC
surface
#F6F0F9
border
#D0CBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8957BD

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

Preview Lab → · Contrast checker → · Palette generator →

#8957BD Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva