#9D2FB9#9D2FB9

#9D2FB9 is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.215 H 318.5°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9D2FB9
RGBrgb(157, 47, 185)
HSLhsl(288, 59%, 45%)
HSVhsv(288, 75%, 73%)
CMYKcmyk(15.1%, 74.6%, 0%, 27.5%)
CIE-LABlab(42.32, 63.25, -50.71)
CIE-LCHlch(42.32, 81.06, 321.28°)
OKLaboklab(53.07% 0.161 -0.1425)
OKLCHoklch(53.07% 0.215 318.5)
XYZxyz(23.6769, 12.7050, 47.0947)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FB9 #4BB92F
analogous
#582FB9 #9D2FB9 #B92F90
triadic
#9D2FB9 #B99D2F #2FB99D
tetradic
#9D2FB9 #B9582F #4BB92F #2F90B9
square
#9D2FB9 #B9582F #4BB92F #2F90B9
split-complementary
#9D2FB9 #90B92F #2FB958
monochromatic
#4A1657 #742388 #9D2FB9 #B952D3 #CD83DF

Accessibility & contrast

On white

5.93
#9D2FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9D2FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FB9
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FB9#FFFFFF#000000##FFFFFF
##9D2FB91.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DBD
Deuteranopia (green-blind)
#3767B6
Tritanopia (blue-blind)
#9C4C72
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2fb9;
/* rgb */ color: rgb(157, 47, 185);
/* oklch */ color: oklch(53.1% 0.215 318.5);
Tailwind
colors: {
  custom: {
    50: '#be73cf',
    500: '#9d2fb9',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fb9;
$custom-light: #be73cf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fb9",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 185
  },
  "hsl": {
    "h": 287.826,
    "s": 59.483,
    "l": 45.49
  },
  "oklch": {
    "l": 0.53071,
    "c": 0.21498,
    "h": 318.5
  },
  "luminance": 0.12704
}

Semantic roles & 50–950 ramp

primary
#9D2FB9
secondary
#8BC97B
accent
#E34565
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D2FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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