#9F4BC7#9F4BC7

#9F4BC7 is a mid, vivid purple. Relative luminance 0.165; OKLCH L 57.2% C 0.194 H 313.2°. Best body text is #FFFFFF at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#9F4BC7
RGBrgb(159, 75, 199)
HSLhsl(281, 53%, 54%)
HSVhsv(281, 62%, 78%)
CMYKcmyk(20.1%, 62.3%, 0%, 22%)
CIE-LABlab(47.66, 54.78, -50.28)
CIE-LCHlch(47.66, 74.36, 317.46°)
OKLaboklab(57.24% 0.1325 -0.1413)
OKLCHoklch(57.24% 0.194 313.2)
XYZxyz(27.1212, 16.5274, 55.7832)
Luminance0.1653 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4BC7 #73C74B
analogous
#614BC7 #9F4BC7 #C74BB1
triadic
#9F4BC7 #C79F4B #4BC79F
tetradic
#9F4BC7 #C7614B #73C74B #4BB1C7
square
#9F4BC7 #C7614B #73C74B #4BB1C7
split-complementary
#9F4BC7 #B1C74B #4BC761
monochromatic
#5A2474 #7E32A2 #9F4BC7 #B87AD6 #D1A8E4

Accessibility & contrast

On white

4.88
#9F4BC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.31
#9F4BC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4BC7
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4BC7#FFFFFF#000000##FFFFFF
##9F4BC71.004.884.314.88
#FFFFFF4.881.0021.001.00
#0000004.3121.001.0021.00
##FFFFFF4.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196DCB
Deuteranopia (green-blind)
#4473C4
Tritanopia (blue-blind)
#9B6282
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f4bc7;
/* rgb */ color: rgb(159, 75, 199);
/* oklch */ color: oklch(57.2% 0.194 313.2);
Tailwind
colors: {
  custom: {
    50: '#bf82d9',
    500: '#9f4bc7',
    950: '#000000',
  },
}
SCSS
$custom: #9f4bc7;
$custom-light: #bf82d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4bc7",
  "rgb": {
    "r": 159,
    "g": 75,
    "b": 199
  },
  "hsl": {
    "h": 280.645,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.5724,
    "c": 0.19373,
    "h": 313.2
  },
  "luminance": 0.16527
}

Semantic roles & 50–950 ramp

primary
#9F4BC7
secondary
#ADD19C
accent
#DC4C7A
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4BC7

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

Preview Lab → · Contrast checker → · Palette generator →

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