#9F48CA#9F48CA

#9F48CA is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.1% C 0.201 H 312.6°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#9F48CA
RGBrgb(159, 72, 202)
HSLhsl(280, 55%, 54%)
HSVhsv(280, 64%, 79%)
CMYKcmyk(21.3%, 64.4%, 0%, 20.8%)
CIE-LABlab(47.33, 56.83, -52.54)
CIE-LCHlch(47.33, 77.39, 317.25°)
OKLaboklab(57.06% 0.136 -0.1479)
OKLCHoklch(57.06% 0.201 312.6)
XYZxyz(27.2742, 16.2707, 57.5695)
Luminance0.1627 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F48CA #73CA48
analogous
#5E48CA #9F48CA #CA48B4
triadic
#9F48CA #CA9F48 #48CA9F
tetradic
#9F48CA #CA5E48 #73CA48 #48B4CA
square
#9F48CA #CA5E48 #73CA48 #48B4CA
split-complementary
#9F48CA #B4CA48 #48CA5E
monochromatic
#5A2276 #7E30A5 #9F48CA #B877D8 #D1A7E5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F48CA#FFFFFF#000000##FFFFFF
##9F48CA1.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)
#006CCE
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#9A6183
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9f48ca;
/* rgb */ color: rgb(159, 72, 202);
/* oklch */ color: oklch(57.1% 0.201 312.6);
Tailwind
colors: {
  custom: {
    50: '#bf81db',
    500: '#9f48ca',
    950: '#000000',
  },
}
SCSS
$custom: #9f48ca;
$custom-light: #bf81db;
$custom-dark: #000000;
JSON
{
  "hex": "#9f48ca",
  "rgb": {
    "r": 159,
    "g": 72,
    "b": 202
  },
  "hsl": {
    "h": 280.154,
    "s": 55.085,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57058,
    "c": 0.20093,
    "h": 312.6
  },
  "luminance": 0.1627
}

Semantic roles & 50–950 ramp

primary
#9F48CA
secondary
#ADD39B
accent
#DE497B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F48CA

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

Preview Lab → · Contrast checker → · Palette generator →

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