#9E61BA#9E61BA

#9E61BA is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.5% C 0.145 H 314.3°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#9E61BA
RGBrgb(158, 97, 186)
HSLhsl(281, 39%, 55%)
HSVhsv(281, 48%, 73%)
CMYKcmyk(15.1%, 47.8%, 0%, 27.1%)
CIE-LABlab(51.11, 40.37, -37.29)
CIE-LCHlch(51.11, 54.96, 317.27°)
OKLaboklab(59.52% 0.1013 -0.1036)
OKLCHoklch(59.52% 0.145 314.3)
XYZxyz(27.2367, 19.3644, 48.7478)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E61BA #7DBA61
analogous
#7261BA #9E61BA #BA61A9
triadic
#9E61BA #BA9E61 #61BA9E
tetradic
#9E61BA #BA7261 #7DBA61 #61A9BA
square
#9E61BA #BA7261 #7DBA61 #61A9BA
split-complementary
#9E61BA #A9BA61 #61BA72
monochromatic
#5C3170 #7F439A #9E61BA #B88CCD #D2B6DF

Accessibility & contrast

On white

4.31
#9E61BA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#9E61BA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E61BA
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E61BA#FFFFFF#000000##000000
##9E61BA1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F76BD
Deuteranopia (green-blind)
#607BB8
Tritanopia (blue-blind)
#9C6E85
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #9e61ba;
/* rgb */ color: rgb(158, 97, 186);
/* oklch */ color: oklch(59.5% 0.145 314.3);
Tailwind
colors: {
  custom: {
    50: '#bc90cf',
    500: '#9e61ba',
    950: '#000000',
  },
}
SCSS
$custom: #9e61ba;
$custom-light: #bc90cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9e61ba",
  "rgb": {
    "r": 158,
    "g": 97,
    "b": 186
  },
  "hsl": {
    "h": 281.124,
    "s": 39.207,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5952,
    "c": 0.1449,
    "h": 314.3
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#9E61BA
secondary
#B5CEA9
accent
#CF597E
background
#FBF8FC
surface
#F7F0F9
border
#D0CBD2
text
#120D14
muted
#817D82

Preview Lab

Preview with #9E61BA

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

Preview Lab → · Contrast checker → · Palette generator →

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