#9E1BB4#9E1BB4

#9E1BB4 is a mid, highly saturated purple. Relative luminance 0.113; OKLCH L 51.5% C 0.229 H 321.1°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9E1BB4
RGBrgb(158, 27, 180)
HSLhsl(291, 74%, 41%)
HSVhsv(291, 85%, 71%)
CMYKcmyk(12.2%, 85%, 0%, 29.4%)
CIE-LABlab(40.16, 68.27, -51.21)
CIE-LCHlch(40.16, 85.34, 323.12°)
OKLaboklab(51.48% 0.178 -0.1438)
OKLCHoklch(51.48% 0.229 321.1)
XYZxyz(22.7298, 11.3496, 44.1646)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E1BB4 #31B41B
analogous
#521BB4 #9E1BB4 #B41B7D
triadic
#9E1BB4 #B49E1B #1BB49E
tetradic
#9E1BB4 #B4521B #31B41B #1B7DB4
square
#9E1BB4 #B4521B #31B41B #1B7DB4
split-complementary
#9E1BB4 #7DB41B #1BB452
monochromatic
#410B4A #6F137F #9E1BB4 #C62DDF #D462E7

Accessibility & contrast

On white

6.42
#9E1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9E1BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9E1BB4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E1BB4#FFFFFF#000000##FFFFFF
##9E1BB41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#3163B1
Tritanopia (blue-blind)
#9F406B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9e1bb4;
/* rgb */ color: rgb(158, 27, 180);
/* oklch */ color: oklch(51.5% 0.229 321.1);
Tailwind
colors: {
  custom: {
    50: '#bf6ccb',
    500: '#9e1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #9e1bb4;
$custom-light: #bf6ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#9e1bb4",
  "rgb": {
    "r": 158,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 291.373,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51479,
    "c": 0.22879,
    "h": 321.1
  },
  "luminance": 0.11348
}

Semantic roles & 50–950 ramp

primary
#9E1BB4
secondary
#6ECC5F
accent
#F13752
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9E1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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