#9F3FBB#9F3FBB

#9F3FBB is a mid, vivid purple. Relative luminance 0.145; OKLCH L 55.1% C 0.198 H 317.7°. Best body text is #FFFFFF at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#9F3FBB
RGBrgb(159, 63, 187)
HSLhsl(286, 50%, 49%)
HSVhsv(286, 66%, 73%)
CMYKcmyk(15%, 66.3%, 0%, 26.7%)
CIE-LABlab(44.96, 57.78, -47.62)
CIE-LCHlch(44.96, 74.87, 320.51°)
OKLaboklab(55.06% 0.1469 -0.1335)
OKLCHoklch(55.06% 0.198 317.7)
XYZxyz(25.0440, 14.5148, 48.4865)
Luminance0.1451 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3FBB #5BBB3F
analogous
#613FBB #9F3FBB #BB3F99
triadic
#9F3FBB #BB9F3F #3FBB9F
tetradic
#9F3FBB #BB613F #5BBB3F #3F99BB
square
#9F3FBB #BB613F #5BBB3F #3F99BB
split-complementary
#9F3FBB #99BB3F #3FBB61
monochromatic
#51205F #78308D #9F3FBB #B76ACD #CD98DC

Accessibility & contrast

On white

5.38
#9F3FBB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.90
#9F3FBB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3FBB
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3FBB#FFFFFF#000000##FFFFFF
##9F3FBB1.005.383.905.38
#FFFFFF5.381.0021.001.00
#0000003.9021.001.0021.00
##FFFFFF5.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0B64BF
Deuteranopia (green-blind)
#436DB8
Tritanopia (blue-blind)
#9E5678
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9f3fbb;
/* rgb */ color: rgb(159, 63, 187);
/* oklch */ color: oklch(55.1% 0.198 317.7);
Tailwind
colors: {
  custom: {
    50: '#bf7bd0',
    500: '#9f3fbb',
    950: '#000000',
  },
}
SCSS
$custom: #9f3fbb;
$custom-light: #bf7bd0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3fbb",
  "rgb": {
    "r": 159,
    "g": 63,
    "b": 187
  },
  "hsl": {
    "h": 286.452,
    "s": 49.6,
    "l": 49.02
  },
  "oklch": {
    "l": 0.55062,
    "c": 0.19845,
    "h": 317.7
  },
  "luminance": 0.14514
}

Semantic roles & 50–950 ramp

primary
#9F3FBB
secondary
#9BC88E
accent
#D94F6E
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A14
muted
#827C82

Preview Lab

Preview with #9F3FBB

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

Preview Lab → · Contrast checker → · Palette generator →

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