#9B1EA8#9B1EA8

#9B1EA8 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.4% C 0.216 H 323.7°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9B1EA8
RGBrgb(155, 30, 168)
HSLhsl(294, 70%, 39%)
HSVhsv(294, 82%, 66%)
CMYKcmyk(7.7%, 82.1%, 0%, 34.1%)
CIE-LABlab(39.11, 64.94, -45.79)
CIE-LCHlch(39.11, 79.46, 324.82°)
OKLaboklab(50.39% 0.1743 -0.128)
OKLCHoklch(50.39% 0.216 323.7)
XYZxyz(21.0491, 10.7256, 37.9998)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1EA8 #2BA81E
analogous
#561EA8 #9B1EA8 #A81E70
triadic
#9B1EA8 #A89B1E #1EA89B
tetradic
#9B1EA8 #A8561E #2BA81E #1E70A8
square
#9B1EA8 #A8561E #2BA81E #1E70A8
split-complementary
#9B1EA8 #70A81E #1EA856
monochromatic
#3B0B40 #6B1574 #9B1EA8 #C92AD9 #D65EE2

Accessibility & contrast

On white

6.68
#9B1EA8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9B1EA8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9B1EA8
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1EA8#FFFFFF#000000##FFFFFF
##9B1EA81.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AC
Deuteranopia (green-blind)
#3A61A5
Tritanopia (blue-blind)
#9E3B65
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b1ea8;
/* rgb */ color: rgb(155, 30, 168);
/* oklch */ color: oklch(50.4% 0.216 323.7);
Tailwind
colors: {
  custom: {
    50: '#bd6cc2',
    500: '#9b1ea8',
    950: '#000000',
  },
}
SCSS
$custom: #9b1ea8;
$custom-light: #bd6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1ea8",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 168
  },
  "hsl": {
    "h": 294.348,
    "s": 69.697,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50394,
    "c": 0.21623,
    "h": 323.7
  },
  "luminance": 0.10724
}

Semantic roles & 50–950 ramp

primary
#9B1EA8
secondary
#65C75B
accent
#ED3B4C
background
#FCF6FC
surface
#F8ECF8
border
#D1C7D1
text
#130812
muted
#827A81

Preview Lab

Preview with #9B1EA8

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

Preview Lab → · Contrast checker → · Palette generator →

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