#8957CB#8957CB

#8957CB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.7% C 0.174 H 300.9°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#8957CB
RGBrgb(137, 87, 203)
HSLhsl(266, 53%, 57%)
HSVhsv(266, 57%, 80%)
CMYKcmyk(32.5%, 57.1%, 0%, 20.4%)
CIE-LABlab(47.55, 44.27, -52.89)
CIE-LCHlch(47.55, 68.98, 309.93°)
OKLaboklab(56.66% 0.0895 -0.1497)
OKLCHoklch(56.66% 0.174 300.9)
XYZxyz(24.5017, 16.4464, 58.3720)
Luminance0.1645 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957CB #99CB57
analogous
#575FCB #8957CB #C357CB
triadic
#8957CB #CB8957 #57CB89
tetradic
#8957CB #CB575F #99CB57 #57CBC3
square
#8957CB #CB575F #99CB57 #57CBC3
split-complementary
#8957CB #CBC357 #5FCB57
monochromatic
#4E2880 #6A36AF #8957CB #AA86D9 #CBB4E8

Accessibility & contrast

On white

4.90
#8957CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.29
#8957CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957CB
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957CB#FFFFFF#000000##FFFFFF
##8957CB1.004.904.294.90
#FFFFFF4.901.0021.001.00
#0000004.2921.001.0021.00
##FFFFFF4.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2270CF
Deuteranopia (green-blind)
#3770C8
Tritanopia (blue-blind)
#7C6E89
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8957cb;
/* rgb */ color: rgb(137, 87, 203);
/* oklch */ color: oklch(56.7% 0.174 300.9);
Tailwind
colors: {
  custom: {
    50: '#af88db',
    500: '#8957cb',
    950: '#000000',
  },
}
SCSS
$custom: #8957cb;
$custom-light: #af88db;
$custom-dark: #000000;
JSON
{
  "hex": "#8957cb",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 203
  },
  "hsl": {
    "h": 265.862,
    "s": 52.727,
    "l": 56.863
  },
  "oklch": {
    "l": 0.56661,
    "c": 0.17439,
    "h": 300.9
  },
  "luminance": 0.16447
}

Semantic roles & 50–950 ramp

primary
#8957CB
secondary
#C2D7A7
accent
#DC4C9E
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8957CB

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

Preview Lab → · Contrast checker → · Palette generator →

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