#9D3FBC#9D3FBC

#9D3FBC is a mid, vivid purple. Relative luminance 0.144; OKLCH L 54.9% C 0.199 H 316.6°. Best body text is #FFFFFF at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#9D3FBC
RGBrgb(157, 63, 188)
HSLhsl(285, 50%, 49%)
HSVhsv(285, 66%, 74%)
CMYKcmyk(16.5%, 66.5%, 0%, 26.3%)
CIE-LABlab(44.74, 57.52, -48.58)
CIE-LCHlch(44.74, 75.29, 319.82°)
OKLaboklab(54.86% 0.1444 -0.1363)
OKLCHoklch(54.86% 0.199 316.6)
XYZxyz(24.7579, 14.3549, 49.0338)
Luminance0.1435 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FBC #5EBC3F
analogous
#5F3FBC #9D3FBC #BC3F9D
triadic
#9D3FBC #BC9D3F #3FBC9D
tetradic
#9D3FBC #BC5F3F #5EBC3F #3F9DBC
square
#9D3FBC #BC5F3F #5EBC3F #3F9DBC
split-complementary
#9D3FBC #9DBC3F #3FBC5F
monochromatic
#502060 #77308E #9D3FBC #B56BCD #CC99DD

Accessibility & contrast

On white

5.43
#9D3FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.87
#9D3FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FBC
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FBC#FFFFFF#000000##FFFFFF
##9D3FBC1.005.433.875.43
#FFFFFF5.431.0021.001.00
#0000003.8721.001.0021.00
##FFFFFF5.431.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0264C0
Deuteranopia (green-blind)
#406DB9
Tritanopia (blue-blind)
#9B5678
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3fbc;
/* rgb */ color: rgb(157, 63, 188);
/* oklch */ color: oklch(54.9% 0.199 316.6);
Tailwind
colors: {
  custom: {
    50: '#bd7bd1',
    500: '#9d3fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fbc;
$custom-light: #bd7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fbc",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 188
  },
  "hsl": {
    "h": 285.12,
    "s": 49.801,
    "l": 49.216
  },
  "oklch": {
    "l": 0.54861,
    "c": 0.19857,
    "h": 316.6
  },
  "luminance": 0.14354
}

Semantic roles & 50–950 ramp

primary
#9D3FBC
secondary
#9DC98E
accent
#D94E71
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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