#9F49CA#9F49CA

#9F49CA is a mid, vivid purple. Relative luminance 0.164; OKLCH L 57.2% C 0.200 H 312.5°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9F49CA
RGBrgb(159, 73, 202)
HSLhsl(280, 55%, 54%)
HSVhsv(280, 64%, 79%)
CMYKcmyk(21.3%, 63.9%, 0%, 20.8%)
CIE-LABlab(47.50, 56.36, -52.27)
CIE-LCHlch(47.50, 76.87, 317.16°)
OKLaboklab(57.18% 0.1348 -0.1471)
OKLCHoklch(57.18% 0.2 312.5)
XYZxyz(27.3394, 16.4010, 57.5912)
Luminance0.1640 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F49CA #74CA49
analogous
#5F49CA #9F49CA #CA49B5
triadic
#9F49CA #CA9F49 #49CA9F
tetradic
#9F49CA #CA5F49 #74CA49 #49B5CA
square
#9F49CA #CA5F49 #74CA49 #49B5CA
split-complementary
#9F49CA #B5CA49 #49CA5F
monochromatic
#5A2276 #7E30A6 #9F49CA #B878D8 #D1A8E6

Accessibility & contrast

On white

4.91
#9F49CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.28
#9F49CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F49CA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F49CA#FFFFFF#000000##FFFFFF
##9F49CA1.004.914.284.91
#FFFFFF4.911.0021.001.00
#0000004.2821.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#066CCE
Deuteranopia (green-blind)
#3F73C7
Tritanopia (blue-blind)
#9A6283
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f49ca;
/* rgb */ color: rgb(159, 73, 202);
/* oklch */ color: oklch(57.2% 0.200 312.5);
Tailwind
colors: {
  custom: {
    50: '#bf81db',
    500: '#9f49ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f49ca;
$custom-light: #bf81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f49ca",
  "rgb": {
    "r": 159,
    "g": 73,
    "b": 202
  },
  "hsl": {
    "h": 280,
    "s": 54.894,
    "l": 53.922
  },
  "oklch": {
    "l": 0.5718,
    "c": 0.19956,
    "h": 312.5
  },
  "luminance": 0.164
}

Semantic roles & 50–950 ramp

primary
#9F49CA
secondary
#AED39C
accent
#DE4A7B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F49CA

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

Preview Lab → · Contrast checker → · Palette generator →

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