#8957E8#8957E8

#8957E8 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.6% C 0.209 H 295.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#8957E8
RGBrgb(137, 87, 232)
HSLhsl(261, 76%, 63%)
HSVhsv(261, 63%, 91%)
CMYKcmyk(40.9%, 62.5%, 0%, 9%)
CIE-LABlab(49.45, 51.72, -66.35)
CIE-LCHlch(49.45, 84.12, 307.94°)
OKLaboklab(58.65% 0.0884 -0.1892)
OKLCHoklch(58.65% 0.209 295)
XYZxyz(28.2864, 17.9603, 78.3046)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957E8 #B6E857
analogous
#576DE8 #8957E8 #D257E8
triadic
#8957E8 #E88957 #57E889
tetradic
#8957E8 #E8576D #B6E857 #57E8D2
square
#8957E8 #E8576D #B6E857 #57E8D2
split-complementary
#8957E8 #E8D257 #6DE857
monochromatic
#4B18AD #6321E1 #8957E8 #AF8DEF #D5C3F7

Accessibility & contrast

On white

4.57
#8957E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#8957E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8957E8
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957E8#FFFFFF#000000##000000
##8957E81.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8957e8;
/* rgb */ color: rgb(137, 87, 232);
/* oklch */ color: oklch(58.6% 0.209 295.0);
Tailwind
colors: {
  custom: {
    50: '#b289f0',
    500: '#8957e8',
    950: '#000000',
  },
}
SCSS
$custom: #8957e8;
$custom-light: #b289f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8957e8",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 232
  },
  "hsl": {
    "h": 260.69,
    "s": 75.916,
    "l": 62.549
  },
  "oklch": {
    "l": 0.58645,
    "c": 0.20884,
    "h": 295
  },
  "luminance": 0.17961
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8957E8

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

Preview Lab → · Contrast checker → · Palette generator →

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