#8957E5#8957E5

#8957E5 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.4% C 0.205 H 295.6°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8957E5
RGBrgb(137, 87, 229)
HSLhsl(261, 73%, 62%)
HSVhsv(261, 62%, 90%)
CMYKcmyk(40.2%, 62%, 0%, 10.2%)
CIE-LABlab(49.24, 50.94, -64.99)
CIE-LCHlch(49.24, 82.57, 308.09°)
OKLaboklab(58.43% 0.0886 -0.1852)
OKLCHoklch(58.43% 0.205 295.6)
XYZxyz(27.8639, 17.7913, 76.0796)
Luminance0.1779 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957E5 #B3E557
analogous
#576CE5 #8957E5 #D057E5
triadic
#8957E5 #E58957 #57E589
tetradic
#8957E5 #E5576C #B3E557 #57E5D0
square
#8957E5 #E5576C #B3E557 #57E5D0
split-complementary
#8957E5 #E5D057 #6CE557
monochromatic
#4C1AA8 #6422DD #8957E5 #AE8CED #D3C1F5

Accessibility & contrast

On white

4.61
#8957E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8957E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8957E5
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957E5#FFFFFF#000000##FFFFFF
##8957E51.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076E9
Deuteranopia (green-blind)
#0073E2
Tritanopia (blue-blind)
#717796
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8957e5;
/* rgb */ color: rgb(137, 87, 229);
/* oklch */ color: oklch(58.4% 0.205 295.6);
Tailwind
colors: {
  custom: {
    50: '#b189ee',
    500: '#8957e5',
    950: '#000000',
  },
}
SCSS
$custom: #8957e5;
$custom-light: #b189ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8957e5",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 229
  },
  "hsl": {
    "h": 261.127,
    "s": 73.196,
    "l": 61.961
  },
  "oklch": {
    "l": 0.5843,
    "c": 0.20533,
    "h": 295.6
  },
  "luminance": 0.17792
}

Semantic roles & 50–950 ramp

primary
#8957E5
secondary
#D4E6B2
accent
#D51090
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8957E5

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

Preview Lab → · Contrast checker → · Palette generator →

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