#9B1EA7#9B1EA7

#9B1EA7 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.3% C 0.215 H 324.0°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9B1EA7
RGBrgb(155, 30, 167)
HSLhsl(295, 70%, 39%)
HSVhsv(295, 82%, 65%)
CMYKcmyk(7.2%, 82%, 0%, 34.5%)
CIE-LABlab(39.05, 64.77, -45.29)
CIE-LCHlch(39.05, 79.04, 325.04°)
OKLaboklab(50.33% 0.1744 -0.1265)
OKLCHoklch(50.33% 0.215 324)
XYZxyz(20.9563, 10.6885, 37.5110)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B1EA7 #2AA71E
analogous
#571EA7 #9B1EA7 #A71E6E
triadic
#9B1EA7 #A79B1E #1EA79B
tetradic
#9B1EA7 #A7571E #2AA71E #1E6EA7
square
#9B1EA7 #A7571E #2AA71E #1E6EA7
split-complementary
#9B1EA7 #6EA71E #1EA757
monochromatic
#3B0B3F #6B1573 #9B1EA7 #C92AD9 #D65DE2

Accessibility & contrast

On white

6.69
#9B1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9B1EA7
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B1EA7#FFFFFF#000000##FFFFFF
##9B1EA71.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0053AB
Deuteranopia (green-blind)
#3B61A4
Tritanopia (blue-blind)
#9E3B64
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9b1ea7;
/* rgb */ color: rgb(155, 30, 167);
/* oklch */ color: oklch(50.3% 0.215 324.0);
Tailwind
colors: {
  custom: {
    50: '#bd6bc2',
    500: '#9b1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #9b1ea7;
$custom-light: #bd6bc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9b1ea7",
  "rgb": {
    "r": 155,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 294.745,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50329,
    "c": 0.21545,
    "h": 324
  },
  "luminance": 0.10687
}

Semantic roles & 50–950 ramp

primary
#9B1EA7
secondary
#64C65B
accent
#EC3B4B
background
#FCF6FC
surface
#F8ECF8
border
#D1C7D1
text
#130812
muted
#827A81

Preview Lab

Preview with #9B1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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