#8957BF#8957BF

#8957BF is a mid, vivid violet. Relative luminance 0.159; OKLCH L 55.9% C 0.160 H 303.9°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#8957BF
RGBrgb(137, 87, 191)
HSLhsl(269, 45%, 55%)
HSVhsv(269, 54%, 75%)
CMYKcmyk(28.3%, 54.5%, 0%, 25.1%)
CIE-LABlab(46.84, 41.29, -47.11)
CIE-LCHlch(46.84, 62.65, 311.23°)
OKLaboklab(55.9% 0.0891 -0.1327)
OKLCHoklch(55.9% 0.16 303.9)
XYZxyz(23.1266, 15.8964, 51.1301)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957BF #8DBF57
analogous
#5759BF #8957BF #BD57BF
triadic
#8957BF #BF8957 #57BF89
tetradic
#8957BF #BF5759 #8DBF57 #57BFBD
square
#8957BF #BF5759 #8DBF57 #57BFBD
split-complementary
#8957BF #BFBD57 #59BF57
monochromatic
#4C2B71 #6B3C9D #8957BF #A883D0 #C7B0E1

Accessibility & contrast

On white

5.02
#8957BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#8957BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957BF
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957BF#FFFFFF#000000##FFFFFF
##8957BF1.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#326EC2
Deuteranopia (green-blind)
#426FBD
Tritanopia (blue-blind)
#7F6B83
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #8957bf;
/* rgb */ color: rgb(137, 87, 191);
/* oklch */ color: oklch(55.9% 0.160 303.9);
Tailwind
colors: {
  custom: {
    50: '#ae88d3',
    500: '#8957bf',
    950: '#000000',
  },
}
SCSS
$custom: #8957bf;
$custom-light: #ae88d3;
$custom-dark: #000000;
JSON
{
  "hex": "#8957bf",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 191
  },
  "hsl": {
    "h": 268.846,
    "s": 44.828,
    "l": 54.51
  },
  "oklch": {
    "l": 0.55903,
    "c": 0.15989,
    "h": 303.9
  },
  "luminance": 0.15896
}

Semantic roles & 50–950 ramp

primary
#8957BF
secondary
#BACFA3
accent
#D55396
background
#FBF8FD
surface
#F6F0FA
border
#D0CBD3
text
#110B14
muted
#807C83

Preview Lab

Preview with #8957BF

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

Preview Lab → · Contrast checker → · Palette generator →

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