#8956E4#8956E4

#8956E4 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.2% C 0.205 H 295.9°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#8956E4
RGBrgb(137, 86, 228)
HSLhsl(262, 72%, 62%)
HSVhsv(262, 62%, 89%)
CMYKcmyk(39.9%, 62.3%, 0%, 10.6%)
CIE-LABlab(48.98, 51.21, -64.85)
CIE-LCHlch(48.98, 82.63, 308.29°)
OKLaboklab(58.22% 0.0898 -0.1848)
OKLCHoklch(58.22% 0.205 295.9)
XYZxyz(27.6442, 17.5748, 75.3195)
Luminance0.1757 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956E4 #B1E456
analogous
#566AE4 #8956E4 #D056E4
triadic
#8956E4 #E48956 #56E489
tetradic
#8956E4 #E4566A #B1E456 #56E4D0
square
#8956E4 #E4566A #B1E456 #56E4D0
split-complementary
#8956E4 #E4D056 #6AE456
monochromatic
#4C1AA5 #6523DA #8956E4 #AE8BEC #D3C0F5

Accessibility & contrast

On white

4.65
#8956E4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#8956E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8956E4
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956E4#FFFFFF#000000##FFFFFF
##8956E41.004.654.514.65
#FFFFFF4.651.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#0072E1
Tritanopia (blue-blind)
#727695
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #8956e4;
/* rgb */ color: rgb(137, 86, 228);
/* oklch */ color: oklch(58.2% 0.205 295.9);
Tailwind
colors: {
  custom: {
    50: '#b188ed',
    500: '#8956e4',
    950: '#000000',
  },
}
SCSS
$custom: #8956e4;
$custom-light: #b188ed;
$custom-dark: #000000;
JSON
{
  "hex": "#8956e4",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 228
  },
  "hsl": {
    "h": 261.549,
    "s": 72.449,
    "l": 61.569
  },
  "oklch": {
    "l": 0.58216,
    "c": 0.20548,
    "h": 295.9
  },
  "luminance": 0.17575
}

Semantic roles & 50–950 ramp

primary
#8956E4
secondary
#D2E5B0
accent
#D5118E
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C16
muted
#807D84

Preview Lab

Preview with #8956E4

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

Preview Lab → · Contrast checker → · Palette generator →

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