#9C2E8F#9C2E8F

#9C2E8F is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.3% C 0.181 H 333.1°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9C2E8F
RGBrgb(156, 46, 143)
HSLhsl(307, 54%, 40%)
HSVhsv(307, 71%, 61%)
CMYKcmyk(0%, 70.5%, 8.3%, 38.8%)
CIE-LABlab(39.59, 56.01, -29.91)
CIE-LCHlch(39.59, 63.49, 331.89°)
OKLaboklab(50.31% 0.1616 -0.082)
OKLCHoklch(50.31% 0.181 333.1)
XYZxyz(19.6453, 11.0067, 27.0711)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2E8F #2E9C3B
analogous
#722E9C #9C2E8F #9C2E58
triadic
#9C2E8F #8F9C2E #2E8F9C
tetradic
#9C2E8F #9C722E #2E9C3B #2E589C
square
#9C2E8F #9C722E #2E9C3B #2E589C
split-complementary
#9C2E8F #589C2E #2E9C72
monochromatic
#3D1238 #6D2064 #9C2E8F #C740B7 #D570C9

Accessibility & contrast

On white

6.56
#9C2E8F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9C2E8F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2E8F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2E8F#FFFFFF#000000##FFFFFF
##9C2E8F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2A5392
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#A3385B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9c2e8f;
/* rgb */ color: rgb(156, 46, 143);
/* oklch */ color: oklch(50.3% 0.181 333.1);
Tailwind
colors: {
  custom: {
    50: '#bd71b0',
    500: '#9c2e8f',
    950: '#000000',
  },
}
SCSS
$custom: #9c2e8f;
$custom-light: #bd71b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2e8f",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 143
  },
  "hsl": {
    "h": 307.091,
    "s": 54.455,
    "l": 39.608
  },
  "oklch": {
    "l": 0.50306,
    "c": 0.18116,
    "h": 333.1
  },
  "luminance": 0.11005
}

Semantic roles & 50–950 ramp

primary
#9C2E8F
secondary
#6ABC73
accent
#DE5B4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9C2E8F

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

Preview Lab → · Contrast checker → · Palette generator →

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