#8957CE#8957CE

#8957CE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 56.9% C 0.178 H 300.2°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#8957CE
RGBrgb(137, 87, 206)
HSLhsl(265, 55%, 57%)
HSVhsv(265, 58%, 81%)
CMYKcmyk(33.5%, 57.8%, 0%, 19.2%)
CIE-LABlab(47.74, 45.03, -54.32)
CIE-LCHlch(47.74, 70.56, 309.66°)
OKLaboklab(56.86% 0.0895 -0.1539)
OKLCHoklch(56.86% 0.178 300.2)
XYZxyz(24.8626, 16.5908, 60.2730)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957CE #9CCE57
analogous
#5760CE #8957CE #C557CE
triadic
#8957CE #CE8957 #57CE89
tetradic
#8957CE #CE5760 #9CCE57 #57CEC5
square
#8957CE #CE5760 #9CCE57 #57CEC5
split-complementary
#8957CE #CEC557 #60CE57
monochromatic
#4E2784 #6A34B3 #8957CE #AA86DC #CCB6EA

Accessibility & contrast

On white

4.86
#8957CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#8957CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957CE
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957CE#FFFFFF#000000##FFFFFF
##8957CE1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D71D2
Deuteranopia (green-blind)
#3370CB
Tritanopia (blue-blind)
#7B6F8A
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8957ce;
/* rgb */ color: rgb(137, 87, 206);
/* oklch */ color: oklch(56.9% 0.178 300.2);
Tailwind
colors: {
  custom: {
    50: '#af88de',
    500: '#8957ce',
    950: '#000000',
  },
}
SCSS
$custom: #8957ce;
$custom-light: #af88de;
$custom-dark: #000000;
JSON
{
  "hex": "#8957ce",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 206
  },
  "hsl": {
    "h": 265.21,
    "s": 54.839,
    "l": 57.451
  },
  "oklch": {
    "l": 0.56857,
    "c": 0.17799,
    "h": 300.2
  },
  "luminance": 0.16591
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8957CE

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

Preview Lab → · Contrast checker → · Palette generator →

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