#9F3CB5#9F3CB5

#9F3CB5 is a mid, vivid purple. Relative luminance 0.139; OKLCH L 54.4% C 0.197 H 319.8°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#9F3CB5
RGBrgb(159, 60, 181)
HSLhsl(289, 50%, 47%)
HSVhsv(289, 67%, 71%)
CMYKcmyk(12.2%, 66.9%, 0%, 29%)
CIE-LABlab(44.15, 57.88, -45.41)
CIE-LCHlch(44.15, 73.57, 321.89°)
OKLaboklab(54.36% 0.1504 -0.127)
OKLCHoklch(54.36% 0.197 319.8)
XYZxyz(24.2534, 13.9400, 45.1203)
Luminance0.1394 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CB5 #52B53C
analogous
#633CB5 #9F3CB5 #B53C8E
triadic
#9F3CB5 #B59F3C #3CB59F
tetradic
#9F3CB5 #B5633C #52B53C #3C8EB5
square
#9F3CB5 #B5633C #52B53C #3C8EB5
split-complementary
#9F3CB5 #8EB53C #3CB563
monochromatic
#4E1E59 #772D87 #9F3CB5 #B863CB #CD91DB

Accessibility & contrast

On white

5.54
#9F3CB5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#9F3CB5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CB5
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CB5#FFFFFF#000000##FFFFFF
##9F3CB51.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1162B9
Deuteranopia (green-blind)
#466CB2
Tritanopia (blue-blind)
#A05174
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3cb5;
/* rgb */ color: rgb(159, 60, 181);
/* oklch */ color: oklch(54.4% 0.197 319.8);
Tailwind
colors: {
  custom: {
    50: '#bf79cc',
    500: '#9f3cb5',
    950: '#000000',
  },
}
SCSS
$custom: #9f3cb5;
$custom-light: #bf79cc;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3cb5",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 181
  },
  "hsl": {
    "h": 289.091,
    "s": 50.207,
    "l": 47.255
  },
  "oklch": {
    "l": 0.54361,
    "c": 0.19684,
    "h": 319.8
  },
  "luminance": 0.13939
}

Semantic roles & 50–950 ramp

primary
#9F3CB5
secondary
#93C687
accent
#DA4E67
background
#FCF7FC
surface
#F8EEF9
border
#D1C9D2
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3CB5

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

Preview Lab → · Contrast checker → · Palette generator →

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