#9D3FC9#9D3FC9

#9D3FC9 is a mid, highly saturated purple. Relative luminance 0.149; OKLCH L 55.7% C 0.211 H 312.9°. Best body text is #FFFFFF at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#9D3FC9
RGBrgb(157, 63, 201)
HSLhsl(281, 56%, 52%)
HSVhsv(281, 69%, 79%)
CMYKcmyk(21.9%, 68.7%, 0%, 21.2%)
CIE-LABlab(45.55, 60.18, -54.83)
CIE-LCHlch(45.55, 81.41, 317.67°)
OKLaboklab(55.71% 0.1435 -0.1546)
OKLCHoklch(55.71% 0.211 312.9)
XYZxyz(26.2229, 14.9409, 56.7495)
Luminance0.1494 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FC9 #6BC93F
analogous
#583FC9 #9D3FC9 #C93FB0
triadic
#9D3FC9 #C99D3F #3FC99D
tetradic
#9D3FC9 #C9583F #6BC93F #3FB0C9
square
#9D3FC9 #C9583F #6BC93F #3FB0C9
split-complementary
#9D3FC9 #B0C93F #3FC958
monochromatic
#551F6F #7A2D9E #9D3FC9 #B56FD6 #CE9FE4

Accessibility & contrast

On white

5.27
#9D3FC9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.99
#9D3FC9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FC9
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FC9#FFFFFF#000000##FFFFFF
##9D3FC91.005.273.995.27
#FFFFFF5.271.0021.001.00
#0000003.9921.001.0021.00
##FFFFFF5.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0067CD
Deuteranopia (green-blind)
#336EC6
Tritanopia (blue-blind)
#985C7F
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #9d3fc9;
/* rgb */ color: rgb(157, 63, 201);
/* oklch */ color: oklch(55.7% 0.211 312.9);
Tailwind
colors: {
  custom: {
    50: '#be7bda',
    500: '#9d3fc9',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fc9;
$custom-light: #be7bda;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fc9",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 201
  },
  "hsl": {
    "h": 280.87,
    "s": 56.098,
    "l": 51.765
  },
  "oklch": {
    "l": 0.55707,
    "c": 0.21097,
    "h": 312.9
  },
  "luminance": 0.1494
}

Semantic roles & 50–950 ramp

primary
#9D3FC9
secondary
#A7D094
accent
#DF4879
background
#FCF7FD
surface
#F8EEFB
border
#D1C9D4
text
#130A15
muted
#827C83

Preview Lab

Preview with #9D3FC9

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

Preview Lab → · Contrast checker → · Palette generator →

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