#9D2FCC#9D2FCC

#9D2FCC is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.4% C 0.231 H 313.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).

Color values

HEX#9D2FCC
RGBrgb(157, 47, 204)
HSLhsl(282, 63%, 49%)
HSVhsv(282, 77%, 80%)
CMYKcmyk(23%, 77%, 0%, 20%)
CIE-LABlab(43.60, 66.93, -59.72)
CIE-LCHlch(43.60, 89.70, 318.26°)
OKLaboklab(54.38% 0.1583 -0.1689)
OKLCHoklch(54.38% 0.231 313.1)
XYZxyz(25.8183, 13.5616, 58.3726)
Luminance0.1356 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FCC #5ECC2F
analogous
#4E2FCC #9D2FCC #CC2FAD
triadic
#9D2FCC #CC9D2F #2FCC9D
tetradic
#9D2FCC #CC4E2F #5ECC2F #2FADCC
square
#9D2FCC #CC4E2F #5ECC2F #2FADCC
split-complementary
#9D2FCC #ADCC2F #2FCC4E
monochromatic
#501869 #77249A #9D2FCC #B55EDA #CC90E5

Accessibility & contrast

On white

5.66
#9D2FCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.71
#9D2FCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FCC
5.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FCC#FFFFFF#000000##FFFFFF
##9D2FCC1.005.663.715.66
#FFFFFF5.661.0021.001.00
#0000003.7121.001.0021.00
##FFFFFF5.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D0
Deuteranopia (green-blind)
#1B69C9
Tritanopia (blue-blind)
#98547D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d2fcc;
/* rgb */ color: rgb(157, 47, 204);
/* oklch */ color: oklch(54.4% 0.231 313.1);
Tailwind
colors: {
  custom: {
    50: '#bf74dc',
    500: '#9d2fcc',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fcc;
$custom-light: #bf74dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fcc",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 204
  },
  "hsl": {
    "h": 282.038,
    "s": 62.55,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54383,
    "c": 0.23145,
    "h": 313.1
  },
  "luminance": 0.13561
}

Semantic roles & 50–950 ramp

primary
#9D2FCC
secondary
#9DD087
accent
#E64273
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D2FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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