#9F3CA9#9F3CA9

#9F3CA9 is a mid, vivid purple. Relative luminance 0.135; OKLCH L 53.6% C 0.186 H 323.9°. Best body text is #FFFFFF at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#9F3CA9
RGBrgb(159, 60, 169)
HSLhsl(294, 48%, 45%)
HSVhsv(294, 64%, 66%)
CMYKcmyk(5.9%, 64.5%, 0%, 33.7%)
CIE-LABlab(43.46, 55.62, -39.41)
CIE-LCHlch(43.46, 68.17, 324.68°)
OKLaboklab(53.65% 0.1504 -0.1095)
OKLCHoklch(53.65% 0.186 323.9)
XYZxyz(23.0747, 13.4685, 38.9127)
Luminance0.1347 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CA9 #46A93C
analogous
#683CA9 #9F3CA9 #A93C7D
triadic
#9F3CA9 #A99F3C #3CA99F
tetradic
#9F3CA9 #A9683C #46A93C #3C7DA9
square
#9F3CA9 #A9683C #46A93C #3C7DA9
split-complementary
#9F3CA9 #7DA93C #3CA968
monochromatic
#4A1C4F #752C7C #9F3CA9 #BC5DC5 #CF8AD5

Accessibility & contrast

On white

5.69
#9F3CA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.69
#9F3CA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CA9
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CA9#FFFFFF#000000##FFFFFF
##9F3CA91.005.693.695.69
#FFFFFF5.691.0021.001.00
#0000003.6921.001.0021.00
##FFFFFF5.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#265FAC
Deuteranopia (green-blind)
#4E6BA6
Tritanopia (blue-blind)
#A24D6D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #9f3ca9;
/* rgb */ color: rgb(159, 60, 169);
/* oklch */ color: oklch(53.6% 0.186 323.9);
Tailwind
colors: {
  custom: {
    50: '#be79c3',
    500: '#9f3ca9',
    950: '#000000',
  },
}
SCSS
$custom: #9f3ca9;
$custom-light: #be79c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3ca9",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 169
  },
  "hsl": {
    "h": 294.495,
    "s": 47.598,
    "l": 44.902
  },
  "oklch": {
    "l": 0.53645,
    "c": 0.18602,
    "h": 323.9
  },
  "luminance": 0.13467
}

Semantic roles & 50–950 ramp

primary
#9F3CA9
secondary
#87C081
accent
#D7515D
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#120A12
muted
#817C81

Preview Lab

Preview with #9F3CA9

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

Preview Lab → · Contrast checker → · Palette generator →

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