#9D2394#9D2394

#9D2394 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.198 H 331.4°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#9D2394
RGBrgb(157, 35, 148)
HSLhsl(304, 64%, 38%)
HSVhsv(304, 78%, 62%)
CMYKcmyk(0%, 77.7%, 5.7%, 38.4%)
CIE-LABlab(38.74, 60.70, -34.29)
CIE-LCHlch(38.74, 69.71, 330.54°)
OKLaboklab(49.81% 0.1735 -0.0945)
OKLCHoklch(49.81% 0.198 331.4)
XYZxyz(19.8510, 10.5099, 28.9943)
Luminance0.1051 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2394 #239D2C
analogous
#69239D #9D2394 #9D2357
triadic
#9D2394 #949D23 #23949D
tetradic
#9D2394 #9D6923 #239D2C #23579D
square
#9D2394 #9D6923 #239D2C #23579D
split-complementary
#9D2394 #579D23 #239D69
monochromatic
#390D36 #6B1865 #9D2394 #CF2EC3 #DB5FD2

Accessibility & contrast

On white

6.77
#9D2394 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#9D2394 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2394
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2394#FFFFFF#000000##FFFFFF
##9D23941.006.773.106.77
#FFFFFF6.771.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#175097
Deuteranopia (green-blind)
#4B6191
Tritanopia (blue-blind)
#A4335A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9d2394;
/* rgb */ color: rgb(157, 35, 148);
/* oklch */ color: oklch(49.8% 0.198 331.4);
Tailwind
colors: {
  custom: {
    50: '#be6db4',
    500: '#9d2394',
    950: '#000000',
  },
}
SCSS
$custom: #9d2394;
$custom-light: #be6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2394",
  "rgb": {
    "r": 157,
    "g": 35,
    "b": 148
  },
  "hsl": {
    "h": 304.426,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49814,
    "c": 0.19758,
    "h": 331.4
  },
  "luminance": 0.10508
}

Semantic roles & 50–950 ramp

primary
#9D2394
secondary
#5CC063
accent
#E74D41
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9D2394

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

Preview Lab → · Contrast checker → · Palette generator →

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