#9F3CA4#9F3CA4

#9F3CA4 is a mid, vivid purple. Relative luminance 0.133; OKLCH L 53.4% C 0.182 H 325.8°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9F3CA4
RGBrgb(159, 60, 164)
HSLhsl(297, 46%, 44%)
HSVhsv(297, 63%, 64%)
CMYKcmyk(3%, 63.4%, 0%, 35.7%)
CIE-LABlab(43.19, 54.70, -36.87)
CIE-LCHlch(43.19, 65.97, 326.02°)
OKLaboklab(53.36% 0.1502 -0.1021)
OKLCHoklch(53.36% 0.182 325.8)
XYZxyz(22.6143, 13.2844, 36.4878)
Luminance0.1328 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CA4 #41A43C
analogous
#6B3CA4 #9F3CA4 #A43C75
triadic
#9F3CA4 #A49F3C #3CA49F
tetradic
#9F3CA4 #A46B3C #41A43C #3C75A4
square
#9F3CA4 #A46B3C #41A43C #3C75A4
split-complementary
#9F3CA4 #75A43C #3CA46B
monochromatic
#481B4A #742C77 #9F3CA4 #BE5AC3 #D087D3

Accessibility & contrast

On white

5.74
#9F3CA4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.66
#9F3CA4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CA4
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CA4#FFFFFF#000000##FFFFFF
##9F3CA41.005.743.665.74
#FFFFFF5.741.0021.001.00
#0000003.6621.001.0021.00
##FFFFFF5.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B5EA7
Deuteranopia (green-blind)
#516AA1
Tritanopia (blue-blind)
#A34B6B
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f3ca4;
/* rgb */ color: rgb(159, 60, 164);
/* oklch */ color: oklch(53.4% 0.182 325.8);
Tailwind
colors: {
  custom: {
    50: '#be79bf',
    500: '#9f3ca4',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ca4;
$custom-light: #be79bf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ca4",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 164
  },
  "hsl": {
    "h": 297.115,
    "s": 46.429,
    "l": 43.922
  },
  "oklch": {
    "l": 0.5336,
    "c": 0.18161,
    "h": 325.8
  },
  "luminance": 0.13283
}

Semantic roles & 50–950 ramp

primary
#9F3CA4
secondary
#81BD7E
accent
#D65258
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9F3CA4

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

Preview Lab → · Contrast checker → · Palette generator →

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