#9D3FB9#9D3FB9

#9D3FB9 is a mid, vivid purple. Relative luminance 0.142; OKLCH L 54.7% C 0.196 H 317.6°. Best body text is #FFFFFF at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#9D3FB9
RGBrgb(157, 63, 185)
HSLhsl(286, 49%, 49%)
HSVhsv(286, 66%, 73%)
CMYKcmyk(15.1%, 65.9%, 0%, 27.5%)
CIE-LABlab(44.56, 56.92, -47.11)
CIE-LCHlch(44.56, 73.89, 320.38°)
OKLaboklab(54.67% 0.1445 -0.132)
OKLCHoklch(54.67% 0.196 317.6)
XYZxyz(24.4378, 14.2269, 47.3483)
Luminance0.1423 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FB9 #5BB93F
analogous
#603FB9 #9D3FB9 #B93F98
triadic
#9D3FB9 #B99D3F #3FB99D
tetradic
#9D3FB9 #B9603F #5BB93F #3F98B9
square
#9D3FB9 #B9603F #5BB93F #3F98B9
split-complementary
#9D3FB9 #98B93F #3FB960
monochromatic
#50205E #762F8B #9D3FB9 #B569CC #CC97DC

Accessibility & contrast

On white

5.46
#9D3FB9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.85
#9D3FB9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FB9
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FB9#FFFFFF#000000##FFFFFF
##9D3FB91.005.463.855.46
#FFFFFF5.461.0021.001.00
#0000003.8521.001.0021.00
##FFFFFF5.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0E63BD
Deuteranopia (green-blind)
#436CB6
Tritanopia (blue-blind)
#9C5577
Achromatopsia (no color)
#696969

Design tokens & code

CSS
--color: #9d3fb9;
/* rgb */ color: rgb(157, 63, 185);
/* oklch */ color: oklch(54.7% 0.196 317.6);
Tailwind
colors: {
  custom: {
    50: '#bd7bcf',
    500: '#9d3fb9',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fb9;
$custom-light: #bd7bcf;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fb9",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 185
  },
  "hsl": {
    "h": 286.23,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.54673,
    "c": 0.19573,
    "h": 317.6
  },
  "luminance": 0.14226
}

Semantic roles & 50–950 ramp

primary
#9D3FB9
secondary
#9AC78D
accent
#D94F6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3FB9

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

Preview Lab → · Contrast checker → · Palette generator →

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