#9F48C7#9F48C7

#9F48C7 is a mid, vivid purple. Relative luminance 0.161; OKLCH L 56.9% C 0.198 H 313.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#9F48C7
RGBrgb(159, 72, 199)
HSLhsl(281, 53%, 53%)
HSVhsv(281, 64%, 78%)
CMYKcmyk(20.1%, 63.8%, 0%, 22%)
CIE-LABlab(47.14, 56.19, -51.10)
CIE-LCHlch(47.14, 75.95, 317.72°)
OKLaboklab(56.87% 0.1361 -0.1437)
OKLCHoklch(56.87% 0.198 313.4)
XYZxyz(26.9225, 16.1300, 55.7169)
Luminance0.1613 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48C7 #70C748
analogous
#5F48C7 #9F48C7 #C748B0
triadic
#9F48C7 #C79F48 #48C79F
tetradic
#9F48C7 #C75F48 #70C748 #48B0C7
square
#9F48C7 #C75F48 #70C748 #48B0C7
split-complementary
#9F48C7 #B0C748 #48C75F
monochromatic
#592372 #7E31A1 #9F48C7 #B877D5 #D0A6E4

Accessibility & contrast

On white

4.97
#9F48C7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9F48C7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F48C7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F48C7#FFFFFF#000000##FFFFFF
##9F48C71.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0D6BCB
Deuteranopia (green-blind)
#4172C4
Tritanopia (blue-blind)
#9B6081
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f48c7;
/* rgb */ color: rgb(159, 72, 199);
/* oklch */ color: oklch(56.9% 0.198 313.4);
Tailwind
colors: {
  custom: {
    50: '#bf80d9',
    500: '#9f48c7',
    950: '#000000',
  },
}
SCSS
$custom: #9f48c7;
$custom-light: #bf80d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48c7",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 199
  },
  "hsl": {
    "h": 281.102,
    "s": 53.138,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56868,
    "c": 0.19791,
    "h": 313.4
  },
  "luminance": 0.16129
}

Semantic roles & 50–950 ramp

primary
#9F48C7
secondary
#ABD19A
accent
#DD4B79
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F48C7

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

Preview Lab → · Contrast checker → · Palette generator →

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