#8956E5#8956E5

#8956E5 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.3% C 0.207 H 295.7°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#8956E5
RGBrgb(137, 86, 229)
HSLhsl(261, 73%, 62%)
HSVhsv(261, 62%, 90%)
CMYKcmyk(40.2%, 62.4%, 0%, 10.2%)
CIE-LABlab(49.04, 51.47, -65.31)
CIE-LCHlch(49.04, 83.15, 308.24°)
OKLaboklab(58.29% 0.0897 -0.1862)
OKLCHoklch(58.29% 0.207 295.7)
XYZxyz(27.7835, 17.6305, 76.0528)
Luminance0.1763 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956E5 #B2E556
analogous
#566BE5 #8956E5 #D156E5
triadic
#8956E5 #E58956 #56E589
tetradic
#8956E5 #E5566B #B2E556 #56E5D1
square
#8956E5 #E5566B #B2E556 #56E5D1
split-complementary
#8956E5 #E5D156 #6BE556
monochromatic
#4C1AA7 #6422DC #8956E5 #AE8BED #D3C0F5

Accessibility & contrast

On white

4.64
#8956E5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.53
#8956E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8956E5
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956E5#FFFFFF#000000##FFFFFF
##8956E51.004.644.534.64
#FFFFFF4.641.0021.001.00
#0000004.5321.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076EA
Deuteranopia (green-blind)
#0072E2
Tritanopia (blue-blind)
#727696
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8956e5;
/* rgb */ color: rgb(137, 86, 229);
/* oklch */ color: oklch(58.3% 0.207 295.7);
Tailwind
colors: {
  custom: {
    50: '#b188ee',
    500: '#8956e5',
    950: '#000000',
  },
}
SCSS
$custom: #8956e5;
$custom-light: #b188ee;
$custom-dark: #000000;
JSON
{
  "hex": "#8956e5",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 229
  },
  "hsl": {
    "h": 261.399,
    "s": 73.333,
    "l": 61.765
  },
  "oklch": {
    "l": 0.58287,
    "c": 0.20664,
    "h": 295.7
  },
  "luminance": 0.17631
}

Semantic roles & 50–950 ramp

primary
#8956E5
secondary
#D3E6B1
accent
#D5108F
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8956E5

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

Preview Lab → · Contrast checker → · Palette generator →

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