#9F3CA2#9F3CA2

#9F3CA2 is a mid, vivid purple. Relative luminance 0.132; OKLCH L 53.2% C 0.180 H 326.5°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#9F3CA2
RGBrgb(159, 60, 162)
HSLhsl(298, 46%, 44%)
HSVhsv(298, 63%, 64%)
CMYKcmyk(1.9%, 63%, 0%, 36.5%)
CIE-LABlab(43.08, 54.34, -35.84)
CIE-LCHlch(43.08, 65.10, 326.59°)
OKLaboklab(53.25% 0.1501 -0.0991)
OKLCHoklch(53.25% 0.18 326.5)
XYZxyz(22.4351, 13.2127, 35.5440)
Luminance0.1321 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CA2 #3FA23C
analogous
#6C3CA2 #9F3CA2 #A23C72
triadic
#9F3CA2 #A29F3C #3CA29F
tetradic
#9F3CA2 #A26C3C #3FA23C #3C72A2
square
#9F3CA2 #A26C3C #3FA23C #3C72A2
split-complementary
#9F3CA2 #72A23C #3CA26C
monochromatic
#471B49 #732B75 #9F3CA2 #BF59C2 #D086D2

Accessibility & contrast

On white

5.77
#9F3CA2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.64
#9F3CA2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CA2
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CA2#FFFFFF#000000##FFFFFF
##9F3CA21.005.773.645.77
#FFFFFF5.771.0021.001.00
#0000003.6421.001.0021.00
##FFFFFF5.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D5EA5
Deuteranopia (green-blind)
#526A9F
Tritanopia (blue-blind)
#A34A69
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9f3ca2;
/* rgb */ color: rgb(159, 60, 162);
/* oklch */ color: oklch(53.2% 0.180 326.5);
Tailwind
colors: {
  custom: {
    50: '#be79be',
    500: '#9f3ca2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ca2;
$custom-light: #be79be;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ca2",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 162
  },
  "hsl": {
    "h": 298.235,
    "s": 45.946,
    "l": 43.529
  },
  "oklch": {
    "l": 0.53248,
    "c": 0.17987,
    "h": 326.5
  },
  "luminance": 0.13211
}

Semantic roles & 50–950 ramp

primary
#9F3CA2
secondary
#7FBC7D
accent
#D65256
background
#FCF7FB
surface
#F8EEF7
border
#D1C9D0
text
#120912
muted
#817B81

Preview Lab

Preview with #9F3CA2

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

Preview Lab → · Contrast checker → · Palette generator →

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