#9F4CC7#9F4CC7

#9F4CC7 is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.4% C 0.192 H 313.1°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9F4CC7
RGBrgb(159, 76, 199)
HSLhsl(280, 52%, 54%)
HSVhsv(280, 62%, 78%)
CMYKcmyk(20.1%, 61.8%, 0%, 22%)
CIE-LABlab(47.83, 54.30, -50.00)
CIE-LCHlch(47.83, 73.82, 317.37°)
OKLaboklab(57.37% 0.1313 -0.1405)
OKLCHoklch(57.37% 0.192 313.1)
XYZxyz(27.1895, 16.6641, 55.8060)
Luminance0.1666 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F4CC7 #74C74C
analogous
#624CC7 #9F4CC7 #C74CB2
triadic
#9F4CC7 #C79F4C #4CC79F
tetradic
#9F4CC7 #C7624C #74C74C #4CB2C7
square
#9F4CC7 #C7624C #74C74C #4CB2C7
split-complementary
#9F4CC7 #B2C74C #4CC762
monochromatic
#5A2474 #7E33A3 #9F4CC7 #B87BD6 #D1A9E4

Accessibility & contrast

On white

4.85
#9F4CC7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9F4CC7 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F4CC7
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F4CC7#FFFFFF#000000##FFFFFF
##9F4CC71.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C6DCB
Deuteranopia (green-blind)
#4573C4
Tritanopia (blue-blind)
#9B6383
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9f4cc7;
/* rgb */ color: rgb(159, 76, 199);
/* oklch */ color: oklch(57.4% 0.192 313.1);
Tailwind
colors: {
  custom: {
    50: '#bf83d9',
    500: '#9f4cc7',
    950: '#000000',
  },
}
SCSS
$custom: #9f4cc7;
$custom-light: #bf83d9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f4cc7",
  "rgb": {
    "r": 159,
    "g": 76,
    "b": 199
  },
  "hsl": {
    "h": 280.488,
    "s": 52.34,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57366,
    "c": 0.19232,
    "h": 313.1
  },
  "luminance": 0.16663
}

Semantic roles & 50–950 ramp

primary
#9F4CC7
secondary
#AED29D
accent
#DC4C7B
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B15
muted
#827C83

Preview Lab

Preview with #9F4CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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