#9D2F90#9D2F90

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

Color values

HEX#9D2F90
RGBrgb(157, 47, 144)
HSLhsl(307, 54%, 40%)
HSVhsv(307, 70%, 62%)
CMYKcmyk(0%, 70.1%, 8.3%, 38.4%)
CIE-LABlab(39.94, 56.04, -29.96)
CIE-LCHlch(39.94, 63.55, 331.87°)
OKLaboklab(50.61% 0.1616 -0.0821)
OKLCHoklch(50.61% 0.181 333.1)
XYZxyz(19.9553, 11.2164, 27.4941)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2F90 #2F9D3C
analogous
#732F9D #9D2F90 #9D2F59
triadic
#9D2F90 #909D2F #2F909D
tetradic
#9D2F90 #9D732F #2F9D3C #2F599D
square
#9D2F90 #9D732F #2F9D3C #2F599D
split-complementary
#9D2F90 #599D2F #2F9D73
monochromatic
#3F133A #6E2165 #9D2F90 #C743B7 #D572C9

Accessibility & contrast

On white

6.48
#9D2F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#9D2F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2F90
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2F90#FFFFFF#000000##FFFFFF
##9D2F901.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5493
Deuteranopia (green-blind)
#52648D
Tritanopia (blue-blind)
#A4395C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9d2f90;
/* rgb */ color: rgb(157, 47, 144);
/* oklch */ color: oklch(50.6% 0.181 333.1);
Tailwind
colors: {
  custom: {
    50: '#bd71b1',
    500: '#9d2f90',
    950: '#000000',
  },
}
SCSS
$custom: #9d2f90;
$custom-light: #bd71b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2f90",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 307.091,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.50608,
    "c": 0.18127,
    "h": 333.1
  },
  "luminance": 0.11215
}

Semantic roles & 50–950 ramp

primary
#9D2F90
secondary
#6BBC75
accent
#DD5C4B
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#120810
muted
#817B7F

Preview Lab

Preview with #9D2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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