#9C1EA7#9C1EA7

#9C1EA7 is a mid, highly saturated purple. Relative luminance 0.108; OKLCH L 50.5% C 0.216 H 324.4°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#9C1EA7
RGBrgb(156, 30, 167)
HSLhsl(295, 70%, 39%)
HSVhsv(295, 82%, 65%)
CMYKcmyk(6.6%, 82%, 0%, 34.5%)
CIE-LABlab(39.22, 64.96, -45.01)
CIE-LCHlch(39.22, 79.03, 325.29°)
OKLaboklab(50.48% 0.1755 -0.1257)
OKLCHoklch(50.48% 0.216 324.4)
XYZxyz(21.1491, 10.7879, 37.5201)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C1EA7 #29A71E
analogous
#571EA7 #9C1EA7 #A71E6D
triadic
#9C1EA7 #A79C1E #1EA79C
tetradic
#9C1EA7 #A7571E #29A71E #1E6DA7
square
#9C1EA7 #A7571E #29A71E #1E6DA7
split-complementary
#9C1EA7 #6DA71E #1EA757
monochromatic
#3B0B3F #6C1573 #9C1EA7 #CB2AD9 #D75DE2

Accessibility & contrast

On white

6.65
#9C1EA7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9C1EA7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C1EA7
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C1EA7#FFFFFF#000000##FFFFFF
##9C1EA71.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c1ea7;
/* rgb */ color: rgb(156, 30, 167);
/* oklch */ color: oklch(50.5% 0.216 324.4);
Tailwind
colors: {
  custom: {
    50: '#bd6cc2',
    500: '#9c1ea7',
    950: '#000000',
  },
}
SCSS
$custom: #9c1ea7;
$custom-light: #bd6cc2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c1ea7",
  "rgb": {
    "r": 156,
    "g": 30,
    "b": 167
  },
  "hsl": {
    "h": 295.182,
    "s": 69.543,
    "l": 38.627
  },
  "oklch": {
    "l": 0.50482,
    "c": 0.21586,
    "h": 324.4
  },
  "luminance": 0.10786
}

Semantic roles & 50–950 ramp

primary
#9C1EA7
secondary
#63C65B
accent
#EC3B4A
background
#FCF6FC
surface
#F8ECF8
border
#D1C7D1
text
#130812
muted
#827A81

Preview Lab

Preview with #9C1EA7

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

Preview Lab → · Contrast checker → · Palette generator →

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