#9D2FC3#9D2FC3

#9D2FC3 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.7% C 0.224 H 315.6°. Best body text is #FFFFFF at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#9D2FC3
RGBrgb(157, 47, 195)
HSLhsl(285, 61%, 47%)
HSVhsv(285, 76%, 76%)
CMYKcmyk(19.5%, 75.9%, 0%, 23.5%)
CIE-LABlab(42.98, 65.16, -55.49)
CIE-LCHlch(42.98, 85.59, 319.58°)
OKLaboklab(53.75% 0.1597 -0.1565)
OKLCHoklch(53.75% 0.224 315.6)
XYZxyz(24.7699, 13.1422, 52.8511)
Luminance0.1314 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FC3 #55C32F
analogous
#532FC3 #9D2FC3 #C32F9F
triadic
#9D2FC3 #C39D2F #2FC39D
tetradic
#9D2FC3 #C3532F #55C32F #2F9FC3
square
#9D2FC3 #C3532F #55C32F #2F9FC3
split-complementary
#9D2FC3 #9FC32F #2FC353
monochromatic
#4E1760 #752392 #9D2FC3 #B658D7 #CC8AE3

Accessibility & contrast

On white

5.79
#9D2FC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.63
#9D2FC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FC3
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FC3#FFFFFF#000000##FFFFFF
##9D2FC31.005.793.635.79
#FFFFFF5.791.0021.001.00
#0000003.6321.001.0021.00
##FFFFFF5.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC7
Deuteranopia (green-blind)
#2B68C0
Tritanopia (blue-blind)
#9A5078
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2fc3;
/* rgb */ color: rgb(157, 47, 195);
/* oklch */ color: oklch(53.7% 0.224 315.6);
Tailwind
colors: {
  custom: {
    50: '#be73d6',
    500: '#9d2fc3',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fc3;
$custom-light: #be73d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fc3",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 195
  },
  "hsl": {
    "h": 284.595,
    "s": 61.157,
    "l": 47.451
  },
  "oklch": {
    "l": 0.53749,
    "c": 0.22361,
    "h": 315.6
  },
  "luminance": 0.13141
}

Semantic roles & 50–950 ramp

primary
#9D2FC3
secondary
#95CD81
accent
#E4446D
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2FC3

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

Preview Lab → · Contrast checker → · Palette generator →

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