#9D2FCD#9D2FCD

#9D2FCD is a mid, highly saturated purple. Relative luminance 0.136; OKLCH L 54.5% C 0.232 H 312.9°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#9D2FCD
RGBrgb(157, 47, 205)
HSLhsl(282, 63%, 49%)
HSVhsv(282, 77%, 80%)
CMYKcmyk(23.4%, 77.1%, 0%, 19.6%)
CIE-LABlab(43.67, 67.13, -60.18)
CIE-LCHlch(43.67, 90.16, 318.12°)
OKLaboklab(54.46% 0.1581 -0.1703)
OKLCHoklch(54.46% 0.232 312.9)
XYZxyz(25.9386, 13.6097, 59.0063)
Luminance0.1361 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FCD #5FCD2F
analogous
#4E2FCD #9D2FCD #CD2FAE
triadic
#9D2FCD #CD9D2F #2FCD9D
tetradic
#9D2FCD #CD4E2F #5FCD2F #2FAECD
square
#9D2FCD #CD4E2F #5FCD2F #2FAECD
split-complementary
#9D2FCD #AECD2F #2FCD4E
monochromatic
#511869 #77249B #9D2FCD #B55FDA #CC91E6

Accessibility & contrast

On white

5.64
#9D2FCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#9D2FCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FCD
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FCD#FFFFFF#000000##FFFFFF
##9D2FCD1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0062D1
Deuteranopia (green-blind)
#1869CA
Tritanopia (blue-blind)
#98557D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9d2fcd;
/* rgb */ color: rgb(157, 47, 205);
/* oklch */ color: oklch(54.5% 0.232 312.9);
Tailwind
colors: {
  custom: {
    50: '#bf74dd',
    500: '#9d2fcd',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fcd;
$custom-light: #bf74dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fcd",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 205
  },
  "hsl": {
    "h": 281.772,
    "s": 62.698,
    "l": 49.412
  },
  "oklch": {
    "l": 0.54455,
    "c": 0.23232,
    "h": 312.9
  },
  "luminance": 0.13609
}

Semantic roles & 50–950 ramp

primary
#9D2FCD
secondary
#9ED087
accent
#E64274
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D2FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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