#9D2FC2#9D2FC2

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

Color values

HEX#9D2FC2
RGBrgb(157, 47, 194)
HSLhsl(285, 61%, 47%)
HSVhsv(285, 76%, 76%)
CMYKcmyk(19.1%, 75.8%, 0%, 23.9%)
CIE-LABlab(42.91, 64.97, -55.02)
CIE-LCHlch(42.91, 85.14, 319.74°)
OKLaboklab(53.68% 0.1599 -0.1551)
OKLCHoklch(53.68% 0.223 315.9)
XYZxyz(24.6572, 13.0971, 52.2576)
Luminance0.1310 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D2FC2 #54C22F
analogous
#542FC2 #9D2FC2 #C22F9E
triadic
#9D2FC2 #C29D2F #2FC29D
tetradic
#9D2FC2 #C2542F #54C22F #2F9EC2
square
#9D2FC2 #C2542F #54C22F #2F9EC2
split-complementary
#9D2FC2 #9EC22F #2FC254
monochromatic
#4D175F #752391 #9D2FC2 #B758D6 #CC89E2

Accessibility & contrast

On white

5.80
#9D2FC2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9D2FC2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D2FC2
5.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D2FC2#FFFFFF#000000##FFFFFF
##9D2FC21.005.803.625.80
#FFFFFF5.801.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC6
Deuteranopia (green-blind)
#2C68BF
Tritanopia (blue-blind)
#9A5077
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9d2fc2;
/* rgb */ color: rgb(157, 47, 194);
/* oklch */ color: oklch(53.7% 0.223 315.9);
Tailwind
colors: {
  custom: {
    50: '#be73d5',
    500: '#9d2fc2',
    950: '#000000',
  },
}
SCSS
$custom: #9d2fc2;
$custom-light: #be73d5;
$custom-dark: #000000;
JSON
{
  "hex": "#9d2fc2",
  "rgb": {
    "r": 157,
    "g": 47,
    "b": 194
  },
  "hsl": {
    "h": 284.898,
    "s": 60.996,
    "l": 47.255
  },
  "oklch": {
    "l": 0.5368,
    "c": 0.22275,
    "h": 315.9
  },
  "luminance": 0.13096
}

Semantic roles & 50–950 ramp

primary
#9D2FC2
secondary
#94CC81
accent
#E4446C
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9D2FC2

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

Preview Lab → · Contrast checker → · Palette generator →

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