#9D3FBB#9D3FBB

#9D3FBB is a mid, vivid purple. Relative luminance 0.143; OKLCH L 54.8% C 0.198 H 317.0°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9D3FBB
RGBrgb(157, 63, 187)
HSLhsl(285, 50%, 49%)
HSVhsv(285, 66%, 73%)
CMYKcmyk(16%, 66.3%, 0%, 26.7%)
CIE-LABlab(44.68, 57.32, -48.09)
CIE-LCHlch(44.68, 74.82, 320.00°)
OKLaboklab(54.8% 0.1444 -0.1349)
OKLCHoklch(54.8% 0.198 317)
XYZxyz(24.6505, 14.3119, 48.4681)
Luminance0.1431 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D3FBB #5DBB3F
analogous
#5F3FBB #9D3FBB #BB3F9B
triadic
#9D3FBB #BB9D3F #3FBB9D
tetradic
#9D3FBB #BB5F3F #5DBB3F #3F9BBB
square
#9D3FBB #BB5F3F #5DBB3F #3F9BBB
split-complementary
#9D3FBB #9BBB3F #3FBB5F
monochromatic
#50205F #77308D #9D3FBB #B56ACD #CC98DC

Accessibility & contrast

On white

5.44
#9D3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9D3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9D3FBB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D3FBB#FFFFFF#000000##FFFFFF
##9D3FBB1.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0664BF
Deuteranopia (green-blind)
#416CB8
Tritanopia (blue-blind)
#9C5678
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9d3fbb;
/* rgb */ color: rgb(157, 63, 187);
/* oklch */ color: oklch(54.8% 0.198 317.0);
Tailwind
colors: {
  custom: {
    50: '#bd7bd0',
    500: '#9d3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9d3fbb;
$custom-light: #bd7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9d3fbb",
  "rgb": {
    "r": 157,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 285.484,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.54798,
    "c": 0.19762,
    "h": 317
  },
  "luminance": 0.14311
}

Semantic roles & 50–950 ramp

primary
#9D3FBB
secondary
#9CC88E
accent
#D94F70
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#120A14
muted
#817C82

Preview Lab

Preview with #9D3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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