#9E56BB#9E56BB

#9E56BB is a mid, vivid purple. Relative luminance 0.175; OKLCH L 57.9% C 0.164 H 315.3°. Best body text is #FFFFFF at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#9E56BB
RGBrgb(158, 86, 187)
HSLhsl(283, 43%, 54%)
HSVhsv(283, 54%, 73%)
CMYKcmyk(15.5%, 54%, 0%, 26.7%)
CIE-LABlab(48.90, 46.47, -41.36)
CIE-LCHlch(48.90, 62.21, 318.33°)
OKLaboklab(57.9% 0.1168 -0.1154)
OKLCHoklch(57.9% 0.164 315.3)
XYZxyz(26.3966, 17.5133, 48.9940)
Luminance0.1751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E56BB #73BB56
analogous
#6B56BB #9E56BB #BB56A5
triadic
#9E56BB #BB9E56 #56BB9E
tetradic
#9E56BB #BB6B56 #73BB56 #56A5BB
square
#9E56BB #BB6B56 #73BB56 #56A5BB
split-complementary
#9E56BB #A5BB56 #56BB6B
monochromatic
#592B6B #7D3D97 #9E56BB #B782CD #D0ADDE

Accessibility & contrast

On white

4.66
#9E56BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#9E56BB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9E56BB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E56BB#FFFFFF#000000##FFFFFF
##9E56BB1.004.664.504.66
#FFFFFF4.661.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E70BE
Deuteranopia (green-blind)
#5676B8
Tritanopia (blue-blind)
#9C6680
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9e56bb;
/* rgb */ color: rgb(158, 86, 187);
/* oklch */ color: oklch(57.9% 0.164 315.3);
Tailwind
colors: {
  custom: {
    50: '#bd88d0',
    500: '#9e56bb',
    950: '#000000',
  },
}
SCSS
$custom: #9e56bb;
$custom-light: #bd88d0;
$custom-dark: #000000;
JSON
{
  "hex": "#9e56bb",
  "rgb": {
    "r": 158,
    "g": 86,
    "b": 187
  },
  "hsl": {
    "h": 282.772,
    "s": 42.616,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57901,
    "c": 0.16415,
    "h": 315.3
  },
  "luminance": 0.17513
}

Semantic roles & 50–950 ramp

primary
#9E56BB
secondary
#ADCCA1
accent
#D25579
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120C14
muted
#817D82

Preview Lab

Preview with #9E56BB

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

Preview Lab → · Contrast checker → · Palette generator →

#9E56BB Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva