#9F49C7#9F49C7

#9F49C7 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.0% C 0.197 H 313.4°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9F49C7
RGBrgb(159, 73, 199)
HSLhsl(281, 53%, 53%)
HSVhsv(281, 63%, 78%)
CMYKcmyk(20.1%, 63.3%, 0%, 22%)
CIE-LABlab(47.31, 55.73, -50.83)
CIE-LCHlch(47.31, 75.43, 317.63°)
OKLaboklab(56.99% 0.1349 -0.1429)
OKLCHoklch(56.99% 0.197 313.4)
XYZxyz(26.9876, 16.2603, 55.7387)
Luminance0.1626 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49C7 #71C749
analogous
#6049C7 #9F49C7 #C749B0
triadic
#9F49C7 #C79F49 #49C79F
tetradic
#9F49C7 #C76049 #71C749 #49B0C7
square
#9F49C7 #C76049 #71C749 #49B0C7
split-complementary
#9F49C7 #B0C749 #49C760
monochromatic
#592372 #7E32A1 #9F49C7 #B878D5 #D0A7E4

Accessibility & contrast

On white

4.94
#9F49C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#9F49C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49C7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49C7#FFFFFF#000000##FFFFFF
##9F49C71.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126CCB
Deuteranopia (green-blind)
#4272C4
Tritanopia (blue-blind)
#9B6181
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f49c7;
/* rgb */ color: rgb(159, 73, 199);
/* oklch */ color: oklch(57.0% 0.197 313.4);
Tailwind
colors: {
  custom: {
    50: '#bf81d9',
    500: '#9f49c7',
    950: '#000000',
  },
}
SCSS
$custom: #9f49c7;
$custom-light: #bf81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49c7",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 199
  },
  "hsl": {
    "h": 280.952,
    "s": 52.941,
    "l": 53.333
  },
  "oklch": {
    "l": 0.5699,
    "c": 0.19653,
    "h": 313.4
  },
  "luminance": 0.1626
}

Semantic roles & 50–950 ramp

primary
#9F49C7
secondary
#ACD19B
accent
#DC4B79
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F49C7

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

Preview Lab → · Contrast checker → · Palette generator →

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