#9D3FAF#9D3FAF

#9D3FAF is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.1% C 0.186 H 320.9°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9D3FAF
RGBrgb(157, 63, 175)
HSLhsl(290, 47%, 47%)
HSVhsv(290, 64%, 69%)
CMYKcmyk(10.3%, 64%, 0%, 31.4%)
CIE-LABlab(43.97, 54.96, -42.17)
CIE-LCHlch(43.97, 69.27, 322.50°)
OKLaboklab(54.06% 0.1446 -0.1176)
OKLCHoklch(54.06% 0.186 320.9)
XYZxyz(23.4191, 13.8194, 41.9830)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FAF #51AF3F
analogous
#653FAF #9D3FAF #AF3F89
triadic
#9D3FAF #AF9D3F #3FAF9D
tetradic
#9D3FAF #AF653F #51AF3F #3F89AF
square
#9D3FAF #AF653F #51AF3F #3F89AF
split-complementary
#9D3FAF #89AF3F #3FAF65
monochromatic
#4C1F55 #752F82 #9D3FAF #B764C7 #CC91D7

Accessibility & contrast

On white

5.58
#9D3FAF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9D3FAF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FAF
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FAF#FFFFFF#000000##FFFFFF
##9D3FAF1.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2261B2
Deuteranopia (green-blind)
#4A6BAC
Tritanopia (blue-blind)
#9E5171
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9d3faf;
/* rgb */ color: rgb(157, 63, 175);
/* oklch */ color: oklch(54.1% 0.186 320.9);
Tailwind
colors: {
  custom: {
    50: '#bd7bc7',
    500: '#9d3faf',
    950: '#000000',
  },
}
SCSS
$custom: #9d3faf;
$custom-light: #bd7bc7;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3faf",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 175
  },
  "hsl": {
    "h": 290.357,
    "s": 47.059,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54064,
    "c": 0.18636,
    "h": 320.9
  },
  "luminance": 0.13818
}

Semantic roles & 50–950 ramp

primary
#9D3FAF
secondary
#91C387
accent
#D75167
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A13
muted
#817C82

Preview Lab

Preview with #9D3FAF

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

Preview Lab → · Contrast checker → · Palette generator →

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