#8957E9#8957E9

#8957E9 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.7% C 0.210 H 294.9°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#8957E9
RGBrgb(137, 87, 233)
HSLhsl(261, 77%, 63%)
HSVhsv(261, 63%, 91%)
CMYKcmyk(41.2%, 62.7%, 0%, 8.6%)
CIE-LABlab(49.52, 51.98, -66.80)
CIE-LCHlch(49.52, 84.64, 307.89°)
OKLaboklab(58.72% 0.0883 -0.1906)
OKLCHoklch(58.72% 0.21 294.9)
XYZxyz(28.4288, 18.0173, 79.0548)
Luminance0.1802 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957E9 #B7E957
analogous
#576EE9 #8957E9 #D257E9
triadic
#8957E9 #E98957 #57E989
tetradic
#8957E9 #E9576E #B7E957 #57E9D2
square
#8957E9 #E9576E #B7E957 #57E9D2
split-complementary
#8957E9 #E9D257 #6EE957
monochromatic
#4B17AF #6321E2 #8957E9 #AF8DF0 #D5C3F7

Accessibility & contrast

On white

4.56
#8957E9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#8957E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8957E9
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957E9#FFFFFF#000000##000000
##8957E91.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EE
Deuteranopia (green-blind)
#0073E6
Tritanopia (blue-blind)
#707898
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #8957e9;
/* rgb */ color: rgb(137, 87, 233);
/* oklch */ color: oklch(58.7% 0.210 294.9);
Tailwind
colors: {
  custom: {
    50: '#b289f1',
    500: '#8957e9',
    950: '#000000',
  },
}
SCSS
$custom: #8957e9;
$custom-light: #b289f1;
$custom-dark: #000000;
JSON
{
  "hex": "#8957e9",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 233
  },
  "hsl": {
    "h": 260.548,
    "s": 76.842,
    "l": 62.745
  },
  "oklch": {
    "l": 0.58717,
    "c": 0.21002,
    "h": 294.9
  },
  "luminance": 0.18018
}

Semantic roles & 50–950 ramp

primary
#8957E9
secondary
#D6E8B3
accent
#D90C93
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8957E9

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

Preview Lab → · Contrast checker → · Palette generator →

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