#8956E8#8956E8

#8956E8 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 58.5% C 0.210 H 295.2°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).

Color values

HEX#8956E8
RGBrgb(137, 86, 232)
HSLhsl(261, 76%, 62%)
HSVhsv(261, 63%, 91%)
CMYKcmyk(40.9%, 62.9%, 0%, 9%)
CIE-LABlab(49.25, 52.25, -66.66)
CIE-LCHlch(49.25, 84.70, 308.09°)
OKLaboklab(58.5% 0.0894 -0.1902)
OKLCHoklch(58.5% 0.21 295.2)
XYZxyz(28.2059, 17.7995, 78.2778)
Luminance0.1780 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8956E8 #B5E856
analogous
#566CE8 #8956E8 #D256E8
triadic
#8956E8 #E88956 #56E889
tetradic
#8956E8 #E8566C #B5E856 #56E8D2
square
#8956E8 #E8566C #B5E856 #56E8D2
split-complementary
#8956E8 #E8D256 #6CE856
monochromatic
#4B17AC #6320E1 #8956E8 #AF8CEF #D4C2F7

Accessibility & contrast

On white

4.61
#8956E8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#8956E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #8956E8
4.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8956E8#FFFFFF#000000##FFFFFF
##8956E81.004.614.564.61
#FFFFFF4.611.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.611.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#0073E5
Tritanopia (blue-blind)
#707797
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #8956e8;
/* rgb */ color: rgb(137, 86, 232);
/* oklch */ color: oklch(58.5% 0.210 295.2);
Tailwind
colors: {
  custom: {
    50: '#b288f0',
    500: '#8956e8',
    950: '#000000',
  },
}
SCSS
$custom: #8956e8;
$custom-light: #b288f0;
$custom-dark: #000000;
JSON
{
  "hex": "#8956e8",
  "rgb": {
    "r": 137,
    "g": 86,
    "b": 232
  },
  "hsl": {
    "h": 260.959,
    "s": 76.042,
    "l": 62.353
  },
  "oklch": {
    "l": 0.58503,
    "c": 0.21014,
    "h": 295.2
  },
  "luminance": 0.178
}

Semantic roles & 50–950 ramp

primary
#8956E8
secondary
#D5E8B2
accent
#D80D91
background
#FBF8FE
surface
#F6F0FD
border
#D0CBD5
text
#110C17
muted
#807D85

Preview Lab

Preview with #8956E8

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

Preview Lab → · Contrast checker → · Palette generator →

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