#8957CC#8957CC

#8957CC is a mid, vivid violet. Relative luminance 0.165; OKLCH L 56.7% C 0.176 H 300.6°. Best body text is #FFFFFF at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#8957CC
RGBrgb(137, 87, 204)
HSLhsl(266, 53%, 57%)
HSVhsv(266, 57%, 80%)
CMYKcmyk(32.8%, 57.4%, 0%, 20%)
CIE-LABlab(47.62, 44.52, -53.37)
CIE-LCHlch(47.62, 69.50, 309.84°)
OKLaboklab(56.73% 0.0895 -0.1511)
OKLCHoklch(56.73% 0.176 300.6)
XYZxyz(24.6212, 16.4942, 59.0016)
Luminance0.1649 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957CC #9ACC57
analogous
#5760CC #8957CC #C457CC
triadic
#8957CC #CC8957 #57CC89
tetradic
#8957CC #CC5760 #9ACC57 #57CCC4
square
#8957CC #CC5760 #9ACC57 #57CCC4
split-complementary
#8957CC #CCC457 #60CC57
monochromatic
#4E2781 #6A36B0 #8957CC #AA86DA #CBB5E9

Accessibility & contrast

On white

4.89
#8957CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.30
#8957CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957CC
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957CC#FFFFFF#000000##FFFFFF
##8957CC1.004.894.304.89
#FFFFFF4.891.0021.001.00
#0000004.3021.001.0021.00
##FFFFFF4.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2070D0
Deuteranopia (green-blind)
#3670C9
Tritanopia (blue-blind)
#7B6F89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8957cc;
/* rgb */ color: rgb(137, 87, 204);
/* oklch */ color: oklch(56.7% 0.176 300.6);
Tailwind
colors: {
  custom: {
    50: '#af88dc',
    500: '#8957cc',
    950: '#000000',
  },
}
SCSS
$custom: #8957cc;
$custom-light: #af88dc;
$custom-dark: #000000;
JSON
{
  "hex": "#8957cc",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 204
  },
  "hsl": {
    "h": 265.641,
    "s": 53.425,
    "l": 57.059
  },
  "oklch": {
    "l": 0.56726,
    "c": 0.1756,
    "h": 300.6
  },
  "luminance": 0.16494
}

Semantic roles & 50–950 ramp

primary
#8957CC
secondary
#C3D7A8
accent
#DD4B9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8957CC

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

Preview Lab → · Contrast checker → · Palette generator →

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