#9D2FBD#9D2FBD

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

Color values

HEX#9D2FBD
RGBrgb(157, 47, 189)
HSLhsl(286, 60%, 46%)
HSVhsv(286, 75%, 74%)
CMYKcmyk(16.9%, 75.1%, 0%, 25.9%)
CIE-LABlab(42.58, 64.01, -52.63)
CIE-LCHlch(42.58, 82.87, 320.57°)
OKLaboklab(53.34% 0.1605 -0.1481)
OKLCHoklch(53.34% 0.218 317.3)
XYZxyz(24.1051, 12.8763, 49.3499)
Luminance0.1288 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FBD #4FBD2F
analogous
#562FBD #9D2FBD #BD2F96
triadic
#9D2FBD #BD9D2F #2FBD9D
tetradic
#9D2FBD #BD562F #4FBD2F #2F96BD
square
#9D2FBD #BD562F #4FBD2F #2F96BD
split-complementary
#9D2FBD #96BD2F #2FBD56
monochromatic
#4C175B #74238C #9D2FBD #B855D5 #CC86E1

Accessibility & contrast

On white

5.87
#9D2FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.58
#9D2FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FBD
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FBD#FFFFFF#000000##FFFFFF
##9D2FBD1.005.873.585.87
#FFFFFF5.871.0021.001.00
#0000003.5821.001.0021.00
##FFFFFF5.871.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC1
Deuteranopia (green-blind)
#3268BA
Tritanopia (blue-blind)
#9C4D74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9d2fbd;
/* rgb */ color: rgb(157, 47, 189);
/* oklch */ color: oklch(53.3% 0.218 317.3);
Tailwind
colors: {
  custom: {
    50: '#be73d2',
    500: '#9d2fbd',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fbd;
$custom-light: #be73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fbd",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 189
  },
  "hsl": {
    "h": 286.479,
    "s": 60.169,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53339,
    "c": 0.21842,
    "h": 317.3
  },
  "luminance": 0.12875
}

Semantic roles & 50–950 ramp

primary
#9D2FBD
secondary
#8FCA7E
accent
#E34468
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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