#8957E1#8957E1

#8957E1 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.1% C 0.201 H 296.3°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8957E1
RGBrgb(137, 87, 225)
HSLhsl(262, 70%, 61%)
HSVhsv(262, 61%, 88%)
CMYKcmyk(39.1%, 61.3%, 0%, 11.8%)
CIE-LABlab(48.97, 49.90, -63.16)
CIE-LCHlch(48.97, 80.49, 308.31°)
OKLaboklab(58.15% 0.0889 -0.1799)
OKLCHoklch(58.15% 0.201 296.3)
XYZxyz(27.3118, 17.5705, 73.1720)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957E1 #AFE157
analogous
#576AE1 #8957E1 #CE57E1
triadic
#8957E1 #E18957 #57E189
tetradic
#8957E1 #E1576A #AFE157 #57E1CE
square
#8957E1 #E1576A #AFE157 #57E1CE
split-complementary
#8957E1 #E1CE57 #6AE157
monochromatic
#4D1DA1 #6526D5 #8957E1 #AD8BEA #D2BFF4

Accessibility & contrast

On white

4.65
#8957E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8957E1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8957E1
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957E1#FFFFFF#000000##FFFFFF
##8957E11.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E5
Deuteranopia (green-blind)
#0773DE
Tritanopia (blue-blind)
#737694
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8957e1;
/* rgb */ color: rgb(137, 87, 225);
/* oklch */ color: oklch(58.1% 0.201 296.3);
Tailwind
colors: {
  custom: {
    50: '#b189eb',
    500: '#8957e1',
    950: '#000000',
  },
}
SCSS
$custom: #8957e1;
$custom-light: #b189eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8957e1",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 225
  },
  "hsl": {
    "h": 261.739,
    "s": 69.697,
    "l": 61.176
  },
  "oklch": {
    "l": 0.58148,
    "c": 0.20063,
    "h": 296.3
  },
  "luminance": 0.17571
}

Semantic roles & 50–950 ramp

primary
#8957E1
secondary
#D1E4B0
accent
#D2148D
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8957E1

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

Preview Lab → · Contrast checker → · Palette generator →

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