#9F48C8#9F48C8

#9F48C8 is a mid, vivid purple. Relative luminance 0.162; OKLCH L 56.9% C 0.199 H 313.2°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9F48C8
RGBrgb(159, 72, 200)
HSLhsl(281, 54%, 53%)
HSVhsv(281, 64%, 78%)
CMYKcmyk(20.5%, 64%, 0%, 21.6%)
CIE-LABlab(47.21, 56.41, -51.58)
CIE-LCHlch(47.21, 76.43, 317.56°)
OKLaboklab(56.93% 0.1361 -0.1451)
OKLCHoklch(56.93% 0.199 313.2)
XYZxyz(27.0390, 16.1766, 56.3304)
Luminance0.1618 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48C8 #71C848
analogous
#5F48C8 #9F48C8 #C848B1
triadic
#9F48C8 #C89F48 #48C89F
tetradic
#9F48C8 #C85F48 #71C848 #48B1C8
square
#9F48C8 #C85F48 #71C848 #48B1C8
split-complementary
#9F48C8 #B1C848 #48C85F
monochromatic
#592373 #7E31A2 #9F48C8 #B877D6 #D0A6E4

Accessibility & contrast

On white

4.96
#9F48C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9F48C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48C8
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48C8#FFFFFF#000000##FFFFFF
##9F48C81.004.964.244.96
#FFFFFF4.961.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#096BCC
Deuteranopia (green-blind)
#4072C5
Tritanopia (blue-blind)
#9B6182
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f48c8;
/* rgb */ color: rgb(159, 72, 200);
/* oklch */ color: oklch(56.9% 0.199 313.2);
Tailwind
colors: {
  custom: {
    50: '#bf80d9',
    500: '#9f48c8',
    950: '#000000',
  },
}
SCSS
$custom: #9f48c8;
$custom-light: #bf80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48c8",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 200
  },
  "hsl": {
    "h": 280.781,
    "s": 53.782,
    "l": 53.333
  },
  "oklch": {
    "l": 0.56931,
    "c": 0.19892,
    "h": 313.2
  },
  "luminance": 0.16176
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F48C8

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

Preview Lab → · Contrast checker → · Palette generator →

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