#9C2EAF#9C2EAF

#9C2EAF is a mid, highly saturated purple. Relative luminance 0.121; OKLCH L 52.2% C 0.207 H 321.3°. Best body text is #FFFFFF at 6.13:1 contrast (WCAG AA passes).

Color values

HEX#9C2EAF
RGBrgb(156, 46, 175)
HSLhsl(291, 58%, 43%)
HSVhsv(291, 74%, 69%)
CMYKcmyk(10.9%, 73.7%, 0%, 31.4%)
CIE-LABlab(41.40, 61.53, -46.28)
CIE-LCHlch(41.40, 76.99, 323.05°)
OKLaboklab(52.19% 0.1616 -0.1295)
OKLCHoklch(52.19% 0.207 321.3)
XYZxyz(22.4243, 12.1183, 41.7070)
Luminance0.1212 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EAF #41AF2E
analogous
#5B2EAF #9C2EAF #AF2E81
triadic
#9C2EAF #AF9C2E #2EAF9C
tetradic
#9C2EAF #AF5B2E #41AF2E #2E81AF
square
#9C2EAF #AF5B2E #41AF2E #2E81AF
split-complementary
#9C2EAF #81AF2E #2EAF5B
monochromatic
#46154E #71217F #9C2EAF #BC4BD0 #CE7BDC

Accessibility & contrast

On white

6.13
#9C2EAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.42
#9C2EAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EAF
6.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EAF#FFFFFF#000000##FFFFFF
##9C2EAF1.006.133.426.13
#FFFFFF6.131.0021.001.00
#0000003.4221.001.0021.00
##FFFFFF6.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB3
Deuteranopia (green-blind)
#3E66AC
Tritanopia (blue-blind)
#9D476C
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9c2eaf;
/* rgb */ color: rgb(156, 46, 175);
/* oklch */ color: oklch(52.2% 0.207 321.3);
Tailwind
colors: {
  custom: {
    50: '#bd72c7',
    500: '#9c2eaf',
    950: '#000000',
  },
}
SCSS
$custom: #9c2eaf;
$custom-light: #bd72c7;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2eaf",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 175
  },
  "hsl": {
    "h": 291.163,
    "s": 58.371,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52189,
    "c": 0.20712,
    "h": 321.3
  },
  "luminance": 0.12117
}

Semantic roles & 50–950 ramp

primary
#9C2EAF
secondary
#80C574
accent
#E2465D
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#120913
muted
#817B82

Preview Lab

Preview with #9C2EAF

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

Preview Lab → · Contrast checker → · Palette generator →

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