#8957E7#8957E7

#8957E7 is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.6% C 0.208 H 295.2°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#8957E7
RGBrgb(137, 87, 231)
HSLhsl(261, 75%, 62%)
HSVhsv(261, 62%, 91%)
CMYKcmyk(40.7%, 62.3%, 0%, 9.4%)
CIE-LABlab(49.38, 51.46, -65.89)
CIE-LCHlch(49.38, 83.61, 307.99°)
OKLaboklab(58.57% 0.0884 -0.1879)
OKLCHoklch(58.57% 0.208 295.2)
XYZxyz(28.1447, 17.9036, 77.5587)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8957E7 #B5E757
analogous
#576DE7 #8957E7 #D157E7
triadic
#8957E7 #E78957 #57E789
tetradic
#8957E7 #E7576D #B5E757 #57E7D1
square
#8957E7 #E7576D #B5E757 #57E7D1
split-complementary
#8957E7 #E7D157 #6DE757
monochromatic
#4B18AB #6321DF #8957E7 #AF8DEF #D4C2F6

Accessibility & contrast

On white

4.58
#8957E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#8957E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8957E7
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8957E7#FFFFFF#000000##000000
##8957E71.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077EC
Deuteranopia (green-blind)
#0073E4
Tritanopia (blue-blind)
#717897
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8957e7;
/* rgb */ color: rgb(137, 87, 231);
/* oklch */ color: oklch(58.6% 0.208 295.2);
Tailwind
colors: {
  custom: {
    50: '#b289ef',
    500: '#8957e7',
    950: '#000000',
  },
}
SCSS
$custom: #8957e7;
$custom-light: #b289ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8957e7",
  "rgb": {
    "r": 137,
    "g": 87,
    "b": 231
  },
  "hsl": {
    "h": 260.833,
    "s": 75,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58573,
    "c": 0.20767,
    "h": 295.2
  },
  "luminance": 0.17904
}

Semantic roles & 50–950 ramp

primary
#8957E7
secondary
#D5E7B3
accent
#D70E91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8957E7

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

Preview Lab → · Contrast checker → · Palette generator →

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