#9C2893#9C2893

#9C2893 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.0% C 0.191 H 331.4°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9C2893
RGBrgb(156, 40, 147)
HSLhsl(305, 59%, 38%)
HSVhsv(305, 74%, 61%)
CMYKcmyk(0%, 74.4%, 5.8%, 38.8%)
CIE-LABlab(39.06, 58.75, -33.19)
CIE-LCHlch(39.06, 67.48, 330.54°)
OKLaboklab(49.99% 0.1679 -0.0914)
OKLCHoklch(49.99% 0.191 331.4)
XYZxyz(19.7356, 10.6937, 28.6228)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2893 #289C31
analogous
#6B289C #9C2893 #9C2859
triadic
#9C2893 #939C28 #28939C
tetradic
#9C2893 #9C6B28 #289C31 #28599C
square
#9C2893 #9C6B28 #289C31 #28599C
split-complementary
#9C2893 #599C28 #289C6B
monochromatic
#3B0F37 #6B1C65 #9C2893 #CB36C0 #D867CF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9C2893#FFFFFF#000000##FFFFFF
##9C28931.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)
#1E5296
Deuteranopia (green-blind)
#4D6290
Tritanopia (blue-blind)
#A2365B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9c2893;
/* rgb */ color: rgb(156, 40, 147);
/* oklch */ color: oklch(50.0% 0.191 331.4);
Tailwind
colors: {
  custom: {
    50: '#bd6eb3',
    500: '#9c2893',
    950: '#000000',
  },
}
SCSS
$custom: #9c2893;
$custom-light: #bd6eb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2893",
  "rgb": {
    "r": 156,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 304.655,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.49991,
    "c": 0.19117,
    "h": 331.4
  },
  "luminance": 0.10692
}

Semantic roles & 50–950 ramp

primary
#9C2893
secondary
#62BE69
accent
#E25245
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#120811
muted
#817B80

Preview Lab

Preview with #9C2893

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

Preview Lab → · Contrast checker → · Palette generator →

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