#9D2FD2#9D2FD2

#9D2FD2 is a mid, highly saturated purple. Relative luminance 0.139; OKLCH L 54.8% C 0.237 H 311.6°. Best body text is #FFFFFF at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#9D2FD2
RGBrgb(157, 47, 210)
HSLhsl(280, 64%, 50%)
HSVhsv(280, 78%, 82%)
CMYKcmyk(25.2%, 77.6%, 0%, 17.6%)
CIE-LABlab(44.02, 68.13, -62.49)
CIE-LCHlch(44.02, 92.45, 317.47°)
OKLaboklab(54.82% 0.1571 -0.177)
OKLCHoklch(54.82% 0.237 311.6)
XYZxyz(26.5518, 13.8550, 62.2359)
Luminance0.1385 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FD2 #64D22F
analogous
#4B2FD2 #9D2FD2 #D22FB5
triadic
#9D2FD2 #D29D2F #2FD29D
tetradic
#9D2FD2 #D24B2F #64D22F #2FB5D2
square
#9D2FD2 #D24B2F #64D22F #2FB5D2
split-complementary
#9D2FD2 #B5D22F #2FD24B
monochromatic
#52186F #7823A1 #9D2FD2 #B561DD #CC94E8

Accessibility & contrast

On white

5.57
#9D2FD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.77
#9D2FD2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FD2
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FD2#FFFFFF#000000##FFFFFF
##9D2FD21.005.573.775.57
#FFFFFF5.571.0021.001.00
#0000003.7721.001.0021.00
##FFFFFF5.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0063D6
Deuteranopia (green-blind)
#056ACF
Tritanopia (blue-blind)
#965780
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d2fd2;
/* rgb */ color: rgb(157, 47, 210);
/* oklch */ color: oklch(54.8% 0.237 311.6);
Tailwind
colors: {
  custom: {
    50: '#bf74e1',
    500: '#9d2fd2',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fd2;
$custom-light: #bf74e1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fd2",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 210
  },
  "hsl": {
    "h": 280.491,
    "s": 64.427,
    "l": 50.392
  },
  "oklch": {
    "l": 0.54818,
    "c": 0.23671,
    "h": 311.6
  },
  "luminance": 0.13854
}

Semantic roles & 50–950 ramp

primary
#9D2FD2
secondary
#A2D38A
accent
#E74077
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9D2FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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