#8957C8#8957C8

#8957C8 is a mid, vivid violet. Relative luminance 0.163; OKLCH L 56.5% C 0.171 H 301.6°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#8957C8
RGBrgb(137, 87, 200)
HSLhsl(267, 51%, 56%)
HSVhsv(267, 57%, 78%)
CMYKcmyk(31.5%, 56.5%, 0%, 21.6%)
CIE-LABlab(47.37, 43.52, -51.46)
CIE-LCHlch(47.37, 67.40, 310.22°)
OKLaboklab(56.47% 0.0894 -0.1455)
OKLCHoklch(56.47% 0.171 301.6)
XYZxyz(24.1476, 16.3048, 56.5073)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957C8 #96C857
analogous
#575EC8 #8957C8 #C257C8
triadic
#8957C8 #C88957 #57C889
tetradic
#8957C8 #C8575E #96C857 #57C8C2
square
#8957C8 #C8575E #96C857 #57C8C2
split-complementary
#8957C8 #C8C257 #5EC857
monochromatic
#4E297C #6A38AA #8957C8 #A985D7 #CAB3E6

Accessibility & contrast

On white

4.93
#8957C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#8957C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957C8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957C8#FFFFFF#000000##FFFFFF
##8957C81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2770CC
Deuteranopia (green-blind)
#3A70C5
Tritanopia (blue-blind)
#7D6D87
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #8957c8;
/* rgb */ color: rgb(137, 87, 200);
/* oklch */ color: oklch(56.5% 0.171 301.6);
Tailwind
colors: {
  custom: {
    50: '#af88d9',
    500: '#8957c8',
    950: '#000000',
  },
}
SCSS
$custom: #8957c8;
$custom-light: #af88d9;
$custom-dark: #000000;
JSON
{
  "hex": "#8957c8",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 200
  },
  "hsl": {
    "h": 266.549,
    "s": 50.673,
    "l": 56.275
  },
  "oklch": {
    "l": 0.56468,
    "c": 0.17077,
    "h": 301.6
  },
  "luminance": 0.16305
}

Semantic roles & 50–950 ramp

primary
#8957C8
secondary
#C0D5A6
accent
#DA4E9C
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8957C8

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

Preview Lab → · Contrast checker → · Palette generator →

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