#9D2FBC#9D2FBC

#9D2FBC is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.218 H 317.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9D2FBC
RGBrgb(157, 47, 188)
HSLhsl(287, 60%, 46%)
HSVhsv(287, 75%, 74%)
CMYKcmyk(16.5%, 75%, 0%, 26.3%)
CIE-LABlab(42.51, 63.82, -52.15)
CIE-LCHlch(42.51, 82.42, 320.74°)
OKLaboklab(53.27% 0.1607 -0.1467)
OKLCHoklch(53.27% 0.218 317.6)
XYZxyz(23.9969, 12.8330, 48.7802)
Luminance0.1283 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FBC #4EBC2F
analogous
#572FBC #9D2FBC #BC2F94
triadic
#9D2FBC #BC9D2F #2FBC9D
tetradic
#9D2FBC #BC572F #4EBC2F #2F94BC
square
#9D2FBC #BC572F #4EBC2F #2F94BC
split-complementary
#9D2FBC #94BC2F #2FBC57
monochromatic
#4B175A #74238B #9D2FBC #B854D4 #CC85E0

Accessibility & contrast

On white

5.89
#9D2FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#9D2FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FBC
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FBC#FFFFFF#000000##FFFFFF
##9D2FBC1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC0
Deuteranopia (green-blind)
#3368B9
Tritanopia (blue-blind)
#9C4D74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2fbc;
/* rgb */ color: rgb(157, 47, 188);
/* oklch */ color: oklch(53.3% 0.218 317.6);
Tailwind
colors: {
  custom: {
    50: '#be73d1',
    500: '#9d2fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fbc;
$custom-light: #be73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fbc",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 188
  },
  "hsl": {
    "h": 286.809,
    "s": 60,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53271,
    "c": 0.21756,
    "h": 317.6
  },
  "luminance": 0.12832
}

Semantic roles & 50–950 ramp

primary
#9D2FBC
secondary
#8ECA7D
accent
#E34567
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9D2FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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