#8957CA#8957CA

#8957CA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 56.6% C 0.173 H 301.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#8957CA
RGBrgb(137, 87, 202)
HSLhsl(266, 52%, 57%)
HSVhsv(266, 57%, 79%)
CMYKcmyk(32.2%, 56.9%, 0%, 20.8%)
CIE-LABlab(47.49, 44.02, -52.42)
CIE-LCHlch(47.49, 68.45, 310.02°)
OKLaboklab(56.6% 0.0895 -0.1483)
OKLCHoklch(56.6% 0.173 301.1)
XYZxyz(24.3829, 16.3989, 57.7464)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957CA #98CA57
analogous
#575FCA #8957CA #C357CA
triadic
#8957CA #CA8957 #57CA89
tetradic
#8957CA #CA575F #98CA57 #57CAC3
square
#8957CA #CA575F #98CA57 #57CAC3
split-complementary
#8957CA #CAC357 #5FCA57
monochromatic
#4E287F #6A37AD #8957CA #AA86D9 #CAB4E7

Accessibility & contrast

On white

4.91
#8957CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#8957CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8957CA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957CA#FFFFFF#000000##FFFFFF
##8957CA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2470CE
Deuteranopia (green-blind)
#3870C7
Tritanopia (blue-blind)
#7C6E88
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #8957ca;
/* rgb */ color: rgb(137, 87, 202);
/* oklch */ color: oklch(56.6% 0.173 301.1);
Tailwind
colors: {
  custom: {
    50: '#af88db',
    500: '#8957ca',
    950: '#000000',
  },
}
SCSS
$custom: #8957ca;
$custom-light: #af88db;
$custom-dark: #000000;
JSON
{
  "hex": "#8957ca",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 202
  },
  "hsl": {
    "h": 266.087,
    "s": 52.036,
    "l": 56.667
  },
  "oklch": {
    "l": 0.56597,
    "c": 0.17319,
    "h": 301.1
  },
  "luminance": 0.16399
}

Semantic roles & 50–950 ramp

primary
#8957CA
secondary
#C1D6A7
accent
#DB4C9D
background
#FBF8FD
surface
#F6F0FB
border
#D0CBD4
text
#110B15
muted
#807C83

Preview Lab

Preview with #8957CA

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

Preview Lab → · Contrast checker → · Palette generator →

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