#9D2FBF#9D2FBF

#9D2FBF is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.5% C 0.220 H 316.7°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#9D2FBF
RGBrgb(157, 47, 191)
HSLhsl(286, 61%, 47%)
HSVhsv(286, 75%, 75%)
CMYKcmyk(17.8%, 75.4%, 0%, 25.1%)
CIE-LABlab(42.71, 64.39, -53.59)
CIE-LCHlch(42.71, 83.77, 320.23°)
OKLaboklab(53.47% 0.1603 -0.1509)
OKLCHoklch(53.47% 0.22 316.7)
XYZxyz(24.3237, 12.9637, 50.5011)
Luminance0.1296 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FBF #51BF2F
analogous
#552FBF #9D2FBF #BF2F99
triadic
#9D2FBF #BF9D2F #2FBF9D
tetradic
#9D2FBF #BF552F #51BF2F #2F99BF
square
#9D2FBF #BF552F #51BF2F #2F99BF
split-complementary
#9D2FBF #99BF2F #2FBF55
monochromatic
#4C175D #75238E #9D2FBF #B756D5 #CC87E1

Accessibility & contrast

On white

5.85
#9D2FBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#9D2FBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FBF
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FBF#FFFFFF#000000##FFFFFF
##9D2FBF1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC3
Deuteranopia (green-blind)
#3068BC
Tritanopia (blue-blind)
#9B4E76
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2fbf;
/* rgb */ color: rgb(157, 47, 191);
/* oklch */ color: oklch(53.5% 0.220 316.7);
Tailwind
colors: {
  custom: {
    50: '#be73d3',
    500: '#9d2fbf',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fbf;
$custom-light: #be73d3;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fbf",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 191
  },
  "hsl": {
    "h": 285.833,
    "s": 60.504,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53475,
    "c": 0.22014,
    "h": 316.7
  },
  "luminance": 0.12963
}

Semantic roles & 50–950 ramp

primary
#9D2FBF
secondary
#91CB7F
accent
#E4446A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2FBF

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

Preview Lab → · Contrast checker → · Palette generator →

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