#9F49C8#9F49C8

#9F49C8 is a mid, vivid purple. Relative luminance 0.163; OKLCH L 57.1% C 0.198 H 313.1°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#9F49C8
RGBrgb(159, 73, 200)
HSLhsl(281, 54%, 54%)
HSVhsv(281, 64%, 78%)
CMYKcmyk(20.5%, 63.5%, 0%, 21.6%)
CIE-LABlab(47.37, 55.94, -51.31)
CIE-LCHlch(47.37, 75.91, 317.47°)
OKLaboklab(57.05% 0.1349 -0.1443)
OKLCHoklch(57.05% 0.198 313.1)
XYZxyz(27.1041, 16.3069, 56.3521)
Luminance0.1631 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49C8 #72C849
analogous
#5F49C8 #9F49C8 #C849B1
triadic
#9F49C8 #C89F49 #49C89F
tetradic
#9F49C8 #C85F49 #72C849 #49B1C8
square
#9F49C8 #C85F49 #72C849 #49B1C8
split-complementary
#9F49C8 #B1C849 #49C85F
monochromatic
#5A2374 #7E31A3 #9F49C8 #B878D6 #D1A7E4

Accessibility & contrast

On white

4.93
#9F49C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#9F49C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49C8
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49C8#FFFFFF#000000##FFFFFF
##9F49C81.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0F6CCC
Deuteranopia (green-blind)
#4172C5
Tritanopia (blue-blind)
#9B6182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f49c8;
/* rgb */ color: rgb(159, 73, 200);
/* oklch */ color: oklch(57.1% 0.198 313.1);
Tailwind
colors: {
  custom: {
    50: '#bf81d9',
    500: '#9f49c8',
    950: '#000000',
  },
}
SCSS
$custom: #9f49c8;
$custom-light: #bf81d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49c8",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 200
  },
  "hsl": {
    "h": 280.63,
    "s": 53.586,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57053,
    "c": 0.19754,
    "h": 313.1
  },
  "luminance": 0.16306
}

Semantic roles & 50–950 ramp

primary
#9F49C8
secondary
#ADD29B
accent
#DD4B7A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F49C8

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

Preview Lab → · Contrast checker → · Palette generator →

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