#8957CD#8957CD

#8957CD is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.8% C 0.177 H 300.4°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#8957CD
RGBrgb(137, 87, 205)
HSLhsl(265, 54%, 57%)
HSVhsv(265, 58%, 80%)
CMYKcmyk(33.2%, 57.6%, 0%, 19.6%)
CIE-LABlab(47.68, 44.78, -53.85)
CIE-LCHlch(47.68, 70.03, 309.75°)
OKLaboklab(56.79% 0.0895 -0.1525)
OKLCHoklch(56.79% 0.177 300.4)
XYZxyz(24.7415, 16.5424, 59.6353)
Luminance0.1654 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957CD #9BCD57
analogous
#5760CD #8957CD #C457CD
triadic
#8957CD #CD8957 #57CD89
tetradic
#8957CD #CD5760 #9BCD57 #57CDC4
square
#8957CD #CD5760 #9BCD57 #57CDC4
split-complementary
#8957CD #CDC457 #60CD57
monochromatic
#4E2783 #6A35B2 #8957CD #AA86DB #CBB5E9

Accessibility & contrast

On white

4.87
#8957CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#8957CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957CD
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957CD#FFFFFF#000000##FFFFFF
##8957CD1.004.874.314.87
#FFFFFF4.871.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1F71D1
Deuteranopia (green-blind)
#3470CA
Tritanopia (blue-blind)
#7B6F8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8957cd;
/* rgb */ color: rgb(137, 87, 205);
/* oklch */ color: oklch(56.8% 0.177 300.4);
Tailwind
colors: {
  custom: {
    50: '#af88dd',
    500: '#8957cd',
    950: '#000000',
  },
}
SCSS
$custom: #8957cd;
$custom-light: #af88dd;
$custom-dark: #000000;
JSON
{
  "hex": "#8957cd",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 205
  },
  "hsl": {
    "h": 265.424,
    "s": 54.128,
    "l": 57.255
  },
  "oklch": {
    "l": 0.56791,
    "c": 0.17679,
    "h": 300.4
  },
  "luminance": 0.16543
}

Semantic roles & 50–950 ramp

primary
#8957CD
secondary
#C4D8A8
accent
#DD4A9F
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8957CD

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

Preview Lab → · Contrast checker → · Palette generator →

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