#8956E1#8956E1

#8956E1 is a mid, highly saturated violet. Relative luminance 0.174; OKLCH L 58.0% C 0.202 H 296.5°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#8956E1
RGBrgb(137, 86, 225)
HSLhsl(262, 70%, 61%)
HSVhsv(262, 62%, 88%)
CMYKcmyk(39.1%, 61.8%, 0%, 11.8%)
CIE-LABlab(48.77, 50.43, -63.49)
CIE-LCHlch(48.77, 81.08, 308.46°)
OKLaboklab(58% 0.09 -0.1808)
OKLCHoklch(58% 0.202 296.5)
XYZxyz(27.2314, 17.4097, 73.1452)
Luminance0.1741 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956E1 #AEE156
analogous
#5668E1 #8956E1 #CE56E1
triadic
#8956E1 #E18956 #56E189
tetradic
#8956E1 #E15668 #AEE156 #56E1CE
square
#8956E1 #E15668 #AEE156 #56E1CE
split-complementary
#8956E1 #E1CE56 #68E156
monochromatic
#4D1CA0 #6626D4 #8956E1 #AD8AEA #D2BEF3

Accessibility & contrast

On white

4.69
#8956E1 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#8956E1 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #8956E1
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956E1#FFFFFF#000000##FFFFFF
##8956E11.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8956e1;
/* rgb */ color: rgb(137, 86, 225);
/* oklch */ color: oklch(58.0% 0.202 296.5);
Tailwind
colors: {
  custom: {
    50: '#b188eb',
    500: '#8956e1',
    950: '#000000',
  },
}
SCSS
$custom: #8956e1;
$custom-light: #b188eb;
$custom-dark: #000000;
JSON
{
  "hex": "#8956e1",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 225
  },
  "hsl": {
    "h": 262.014,
    "s": 69.849,
    "l": 60.98
  },
  "oklch": {
    "l": 0.58003,
    "c": 0.20197,
    "h": 296.5
  },
  "luminance": 0.1741
}

Semantic roles & 50–950 ramp

primary
#8956E1
secondary
#D0E4AF
accent
#D2148C
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8956E1

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

Preview Lab → · Contrast checker → · Palette generator →

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