#8957BB#8957BB

#8957BB is a mid, vivid violet. Relative luminance 0.157; OKLCH L 55.7% C 0.155 H 305.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#8957BB
RGBrgb(137, 87, 187)
HSLhsl(270, 42%, 54%)
HSVhsv(270, 53%, 73%)
CMYKcmyk(26.7%, 53.5%, 0%, 26.7%)
CIE-LABlab(46.61, 40.32, -45.16)
CIE-LCHlch(46.61, 60.54, 311.76°)
OKLaboklab(55.66% 0.0889 -0.127)
OKLCHoklch(55.66% 0.155 305)
XYZxyz(22.6924, 15.7227, 48.8434)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957BB #89BB57
analogous
#5757BB #8957BB #BB57BB
triadic
#8957BB #BB8957 #57BB89
tetradic
#8957BB #BB5757 #89BB57 #57BBBB
square
#8957BB #BB5757 #89BB57 #57BBBB
split-complementary
#8957BB #BBBB57 #57BB57
monochromatic
#4C2C6C #6A3D97 #8957BB #A883CD #C6AEDE

Accessibility & contrast

On white

5.07
#8957BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#8957BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957BB
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957BB#FFFFFF#000000##FFFFFF
##8957BB1.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#366DBE
Deuteranopia (green-blind)
#466FB9
Tritanopia (blue-blind)
#816981
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8957bb;
/* rgb */ color: rgb(137, 87, 187);
/* oklch */ color: oklch(55.7% 0.155 305.0);
Tailwind
colors: {
  custom: {
    50: '#ae88d0',
    500: '#8957bb',
    950: '#000000',
  },
}
SCSS
$custom: #8957bb;
$custom-light: #ae88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#8957bb",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 187
  },
  "hsl": {
    "h": 270,
    "s": 42.373,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5566,
    "c": 0.15503,
    "h": 305
  },
  "luminance": 0.15723
}

Semantic roles & 50–950 ramp

primary
#8957BB
secondary
#B7CCA2
accent
#D25694
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#110B14
muted
#807C82

Preview Lab

Preview with #8957BB

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

Preview Lab → · Contrast checker → · Palette generator →

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