#9F3FBD#9F3FBD

#9F3FBD is a mid, highly saturated purple. Relative luminance 0.146; OKLCH L 55.2% C 0.200 H 317.1°. Best body text is #FFFFFF at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#9F3FBD
RGBrgb(159, 63, 189)
HSLhsl(286, 50%, 49%)
HSVhsv(286, 67%, 74%)
CMYKcmyk(15.9%, 66.7%, 0%, 25.9%)
CIE-LABlab(45.08, 58.18, -48.59)
CIE-LCHlch(45.08, 75.80, 320.13°)
OKLaboklab(55.19% 0.1468 -0.1363)
OKLCHoklch(55.19% 0.2 317.1)
XYZxyz(25.2595, 14.6011, 49.6220)
Luminance0.1460 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FBD #5DBD3F
analogous
#603FBD #9F3FBD #BD3F9C
triadic
#9F3FBD #BD9F3F #3FBD9F
tetradic
#9F3FBD #BD603F #5DBD3F #3F9CBD
square
#9F3FBD #BD603F #5DBD3F #3F9CBD
split-complementary
#9F3FBD #9CBD3F #3FBD60
monochromatic
#522061 #78308F #9F3FBD #B66BCE #CD99DD

Accessibility & contrast

On white

5.36
#9F3FBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.92
#9F3FBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FBD
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FBD#FFFFFF#000000##FFFFFF
##9F3FBD1.005.363.925.36
#FFFFFF5.361.0021.001.00
#0000003.9221.001.0021.00
##FFFFFF5.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0365C1
Deuteranopia (green-blind)
#426EBA
Tritanopia (blue-blind)
#9E5779
Achromatopsia (no color)
#6B6B6B

Design tokens & code

CSS
--color: #9f3fbd;
/* rgb */ color: rgb(159, 63, 189);
/* oklch */ color: oklch(55.2% 0.200 317.1);
Tailwind
colors: {
  custom: {
    50: '#bf7bd1',
    500: '#9f3fbd',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fbd;
$custom-light: #bf7bd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fbd",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 189
  },
  "hsl": {
    "h": 285.714,
    "s": 50,
    "l": 49.412
  },
  "oklch": {
    "l": 0.55188,
    "c": 0.20032,
    "h": 317.1
  },
  "luminance": 0.146
}

Semantic roles & 50–950 ramp

primary
#9F3FBD
secondary
#9DC98F
accent
#DA4E6F
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3FBD

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

Preview Lab → · Contrast checker → · Palette generator →

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