#9D3FC7#9D3FC7

#9D3FC7 is a mid, highly saturated purple. Relative luminance 0.148; OKLCH L 55.6% C 0.209 H 313.4°. Best body text is #FFFFFF at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#9D3FC7
RGBrgb(157, 63, 199)
HSLhsl(281, 55%, 51%)
HSVhsv(281, 68%, 78%)
CMYKcmyk(21.1%, 68.3%, 0%, 22%)
CIE-LABlab(45.42, 59.77, -53.88)
CIE-LCHlch(45.42, 80.47, 317.97°)
OKLaboklab(55.57% 0.1437 -0.1519)
OKLCHoklch(55.57% 0.209 313.4)
XYZxyz(25.9892, 14.8474, 55.5186)
Luminance0.1485 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FC7 #69C73F
analogous
#593FC7 #9D3FC7 #C73FAD
triadic
#9D3FC7 #C79D3F #3FC79D
tetradic
#9D3FC7 #C7593F #69C73F #3FADC7
square
#9D3FC7 #C7593F #69C73F #3FADC7
split-complementary
#9D3FC7 #ADC73F #3FC759
monochromatic
#54206C #792D9B #9D3FC7 #B56ED5 #CD9EE3

Accessibility & contrast

On white

5.29
#9D3FC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.97
#9D3FC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FC7
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FC7#FFFFFF#000000##FFFFFF
##9D3FC71.005.293.975.29
#FFFFFF5.291.0021.001.00
#0000003.9721.001.0021.00
##FFFFFF5.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CB
Deuteranopia (green-blind)
#366EC4
Tritanopia (blue-blind)
#995B7E
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9d3fc7;
/* rgb */ color: rgb(157, 63, 199);
/* oklch */ color: oklch(55.6% 0.209 313.4);
Tailwind
colors: {
  custom: {
    50: '#be7bd9',
    500: '#9d3fc7',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fc7;
$custom-light: #be7bd9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fc7",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 199
  },
  "hsl": {
    "h": 281.471,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.55574,
    "c": 0.20905,
    "h": 313.4
  },
  "luminance": 0.14847
}

Semantic roles & 50–950 ramp

primary
#9D3FC7
secondary
#A5CF93
accent
#DE4A77
background
#FCF7FD
surface
#F8EEFA
border
#D1C9D3
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3FC7

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

Preview Lab → · Contrast checker → · Palette generator →

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