#9D2FC4#9D2FC4

#9D2FC4 is a mid, highly saturated purple. Relative luminance 0.132; OKLCH L 53.8% C 0.224 H 315.3°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9D2FC4
RGBrgb(157, 47, 196)
HSLhsl(284, 61%, 48%)
HSVhsv(284, 76%, 77%)
CMYKcmyk(19.9%, 76%, 0%, 23.1%)
CIE-LABlab(43.04, 65.36, -55.97)
CIE-LCHlch(43.04, 86.05, 319.43°)
OKLaboklab(53.82% 0.1596 -0.1579)
OKLCHoklch(53.82% 0.224 315.3)
XYZxyz(24.8833, 13.1876, 53.4486)
Luminance0.1319 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FC4 #56C42F
analogous
#522FC4 #9D2FC4 #C42FA1
triadic
#9D2FC4 #C49D2F #2FC49D
tetradic
#9D2FC4 #C4522F #56C42F #2FA1C4
square
#9D2FC4 #C4522F #56C42F #2FA1C4
split-complementary
#9D2FC4 #A1C42F #2FC452
monochromatic
#4E1761 #752393 #9D2FC4 #B659D7 #CC8AE3

Accessibility & contrast

On white

5.77
#9D2FC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9D2FC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FC4
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FC4#FFFFFF#000000##FFFFFF
##9D2FC41.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0060C8
Deuteranopia (green-blind)
#2968C1
Tritanopia (blue-blind)
#9A5178
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9d2fc4;
/* rgb */ color: rgb(157, 47, 196);
/* oklch */ color: oklch(53.8% 0.224 315.3);
Tailwind
colors: {
  custom: {
    50: '#be74d7',
    500: '#9d2fc4',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fc4;
$custom-light: #be74d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fc4",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 196
  },
  "hsl": {
    "h": 284.295,
    "s": 61.317,
    "l": 47.647
  },
  "oklch": {
    "l": 0.53819,
    "c": 0.22448,
    "h": 315.3
  },
  "luminance": 0.13187
}

Semantic roles & 50–950 ramp

primary
#9D2FC4
secondary
#95CD82
accent
#E4436E
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2FC4

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

Preview Lab → · Contrast checker → · Palette generator →

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