#8956E7#8956E7

#8956E7 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.4% C 0.209 H 295.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#8956E7
RGBrgb(137, 86, 231)
HSLhsl(261, 75%, 62%)
HSVhsv(261, 63%, 91%)
CMYKcmyk(40.7%, 62.8%, 0%, 9.4%)
CIE-LABlab(49.18, 51.99, -66.21)
CIE-LCHlch(49.18, 84.18, 308.14°)
OKLaboklab(58.43% 0.0895 -0.1888)
OKLCHoklch(58.43% 0.209 295.4)
XYZxyz(28.0643, 17.7428, 77.5319)
Luminance0.1774 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956E7 #B4E756
analogous
#566CE7 #8956E7 #D156E7
triadic
#8956E7 #E78956 #56E789
tetradic
#8956E7 #E7566C #B4E756 #56E7D1
square
#8956E7 #E7566C #B4E756 #56E7D1
split-complementary
#8956E7 #E7D156 #6CE756
monochromatic
#4C18AA #6420DF #8956E7 #AE8CEF #D4C1F6

Accessibility & contrast

On white

4.62
#8956E7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#8956E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8956E7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956E7#FFFFFF#000000##FFFFFF
##8956E71.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8956e7;
/* rgb */ color: rgb(137, 86, 231);
/* oklch */ color: oklch(58.4% 0.209 295.4);
Tailwind
colors: {
  custom: {
    50: '#b288ef',
    500: '#8956e7',
    950: '#000000',
  },
}
SCSS
$custom: #8956e7;
$custom-light: #b288ef;
$custom-dark: #000000;
JSON
{
  "hex": "#8956e7",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 231
  },
  "hsl": {
    "h": 261.103,
    "s": 75.13,
    "l": 62.157
  },
  "oklch": {
    "l": 0.58431,
    "c": 0.20898,
    "h": 295.4
  },
  "luminance": 0.17743
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #8956E7

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

Preview Lab → · Contrast checker → · Palette generator →

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