#8957CF#8957CF

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

Color values

HEX#8957CF
RGBrgb(137, 87, 207)
HSLhsl(265, 56%, 58%)
HSVhsv(265, 58%, 81%)
CMYKcmyk(33.8%, 58%, 0%, 18.8%)
CIE-LABlab(47.80, 45.28, -54.79)
CIE-LCHlch(47.80, 71.08, 309.57°)
OKLaboklab(56.92% 0.0895 -0.1553)
OKLCHoklch(56.92% 0.179 299.9)
XYZxyz(24.9845, 16.6396, 60.9149)
Luminance0.1664 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957CF #9DCF57
analogous
#5761CF #8957CF #C557CF
triadic
#8957CF #CF8957 #57CF89
tetradic
#8957CF #CF5761 #9DCF57 #57CFC5
square
#8957CF #CF5761 #9DCF57 #57CFC5
split-complementary
#8957CF #CFC557 #61CF57
monochromatic
#4E2685 #6A34B5 #8957CF #AA87DD #CCB6EA

Accessibility & contrast

On white

4.85
#8957CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#8957CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957CF
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957CF#FFFFFF#000000##FFFFFF
##8957CF1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A71D3
Deuteranopia (green-blind)
#3271CC
Tritanopia (blue-blind)
#7A708B
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8957cf;
/* rgb */ color: rgb(137, 87, 207);
/* oklch */ color: oklch(56.9% 0.179 299.9);
Tailwind
colors: {
  custom: {
    50: '#af88de',
    500: '#8957cf',
    950: '#000000',
  },
}
SCSS
$custom: #8957cf;
$custom-light: #af88de;
$custom-dark: #000000;
JSON
{
  "hex": "#8957cf",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 207
  },
  "hsl": {
    "h": 265,
    "s": 55.556,
    "l": 57.647
  },
  "oklch": {
    "l": 0.56922,
    "c": 0.1792,
    "h": 299.9
  },
  "luminance": 0.1664
}

Semantic roles & 50–950 ramp

primary
#8957CF
secondary
#C5D9A9
accent
#DF49A0
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8957CF

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

Preview Lab → · Contrast checker → · Palette generator →

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