#9D3FB2#9D3FB2

#9D3FB2 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.2% C 0.189 H 319.9°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9D3FB2
RGBrgb(157, 63, 178)
HSLhsl(289, 48%, 47%)
HSVhsv(289, 65%, 70%)
CMYKcmyk(11.8%, 64.6%, 0%, 30.2%)
CIE-LABlab(44.14, 55.54, -43.66)
CIE-LCHlch(44.14, 70.65, 321.83°)
OKLaboklab(54.24% 0.1446 -0.122)
OKLCHoklch(54.24% 0.189 319.9)
XYZxyz(23.7170, 13.9386, 43.5520)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FB2 #54B23F
analogous
#633FB2 #9D3FB2 #B23F8E
triadic
#9D3FB2 #B29D3F #3FB29D
tetradic
#9D3FB2 #B2633F #54B23F #3F8EB2
square
#9D3FB2 #B2633F #54B23F #3F8EB2
split-complementary
#9D3FB2 #8EB23F #3FB263
monochromatic
#4D1F58 #752F85 #9D3FB2 #B766C9 #CC93D9

Accessibility & contrast

On white

5.54
#9D3FB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9D3FB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FB2
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FB2#FFFFFF#000000##FFFFFF
##9D3FB21.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D62B5
Deuteranopia (green-blind)
#486CAF
Tritanopia (blue-blind)
#9E5373
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3fb2;
/* rgb */ color: rgb(157, 63, 178);
/* oklch */ color: oklch(54.2% 0.189 319.9);
Tailwind
colors: {
  custom: {
    50: '#bd7bc9',
    500: '#9d3fb2',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fb2;
$custom-light: #bd7bc9;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fb2",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 178
  },
  "hsl": {
    "h": 289.043,
    "s": 47.718,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54243,
    "c": 0.18916,
    "h": 319.9
  },
  "luminance": 0.13937
}

Semantic roles & 50–950 ramp

primary
#9D3FB2
secondary
#94C489
accent
#D75069
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3FB2

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

Preview Lab → · Contrast checker → · Palette generator →

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