#8957B5#8957B5

#8957B5 is a mid, vivid violet. Relative luminance 0.155; OKLCH L 55.3% C 0.148 H 306.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#8957B5
RGBrgb(137, 87, 181)
HSLhsl(272, 39%, 53%)
HSVhsv(272, 52%, 71%)
CMYKcmyk(24.3%, 51.9%, 0%, 29%)
CIE-LABlab(46.27, 38.87, -42.19)
CIE-LCHlch(46.27, 57.37, 312.66°)
OKLaboklab(55.3% 0.0884 -0.1184)
OKLCHoklch(55.3% 0.148 306.8)
XYZxyz(22.0635, 15.4712, 45.5310)
Luminance0.1547 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957B5 #83B557
analogous
#5A57B5 #8957B5 #B557B2
triadic
#8957B5 #B58957 #57B589
tetradic
#8957B5 #B55A57 #83B557 #57B2B5
square
#8957B5 #B55A57 #83B557 #57B2B5
split-complementary
#8957B5 #B2B557 #57B55A
monochromatic
#4B2D65 #6A3F90 #8957B5 #A781C8 #C5ACDA

Accessibility & contrast

On white

5.13
#8957B5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#8957B5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957B5
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957B5#FFFFFF#000000##FFFFFF
##8957B51.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B6CB8
Deuteranopia (green-blind)
#4A6EB3
Tritanopia (blue-blind)
#82687E
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #8957b5;
/* rgb */ color: rgb(137, 87, 181);
/* oklch */ color: oklch(55.3% 0.148 306.8);
Tailwind
colors: {
  custom: {
    50: '#ae88cb',
    500: '#8957b5',
    950: '#000000',
  },
}
SCSS
$custom: #8957b5;
$custom-light: #ae88cb;
$custom-dark: #000000;
JSON
{
  "hex": "#8957b5",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 181
  },
  "hsl": {
    "h": 271.915,
    "s": 38.843,
    "l": 52.549
  },
  "oklch": {
    "l": 0.55303,
    "c": 0.14775,
    "h": 306.8
  },
  "luminance": 0.15471
}

Semantic roles & 50–950 ramp

primary
#8957B5
secondary
#B3C89F
accent
#CF5990
background
#FAF8FC
surface
#F5F0F9
border
#CFCBD2
text
#100B13
muted
#7F7C82

Preview Lab

Preview with #8957B5

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

Preview Lab → · Contrast checker → · Palette generator →

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