#9F3CB2#9F3CB2

#9F3CB2 is a mid, vivid purple. Relative luminance 0.138; OKLCH L 54.2% C 0.194 H 320.8°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#9F3CB2
RGBrgb(159, 60, 178)
HSLhsl(290, 50%, 47%)
HSVhsv(290, 66%, 70%)
CMYKcmyk(10.7%, 66.3%, 0%, 30.2%)
CIE-LABlab(43.97, 57.31, -43.92)
CIE-LCHlch(43.97, 72.20, 322.53°)
OKLaboklab(54.18% 0.1505 -0.1226)
OKLCHoklch(54.18% 0.194 320.8)
XYZxyz(23.9489, 13.8182, 43.5165)
Luminance0.1382 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3CB2 #4FB23C
analogous
#643CB2 #9F3CB2 #B23C8A
triadic
#9F3CB2 #B29F3C #3CB29F
tetradic
#9F3CB2 #B2643C #4FB23C #3C8AB2
square
#9F3CB2 #B2643C #4FB23C #3C8AB2
split-complementary
#9F3CB2 #8AB23C #3CB264
monochromatic
#4D1D56 #762D84 #9F3CB2 #B961CA #CD8FD9

Accessibility & contrast

On white

5.58
#9F3CB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.76
#9F3CB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3CB2
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3CB2#FFFFFF#000000##FFFFFF
##9F3CB21.005.583.765.58
#FFFFFF5.581.0021.001.00
#0000003.7621.001.0021.00
##FFFFFF5.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1861B5
Deuteranopia (green-blind)
#486CAF
Tritanopia (blue-blind)
#A05072
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #9f3cb2;
/* rgb */ color: rgb(159, 60, 178);
/* oklch */ color: oklch(54.2% 0.194 320.8);
Tailwind
colors: {
  custom: {
    50: '#bf79c9',
    500: '#9f3cb2',
    950: '#000000',
  },
}
SCSS
$custom: #9f3cb2;
$custom-light: #bf79c9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3cb2",
  "rgb": {
    "r": 159,
    "g": 60,
    "b": 178
  },
  "hsl": {
    "h": 290.339,
    "s": 49.58,
    "l": 46.667
  },
  "oklch": {
    "l": 0.54178,
    "c": 0.1941,
    "h": 320.8
  },
  "luminance": 0.13817
}

Semantic roles & 50–950 ramp

primary
#9F3CB2
secondary
#90C486
accent
#D94F65
background
#FCF7FC
surface
#F8EEF8
border
#D1C9D1
text
#130A13
muted
#827C82

Preview Lab

Preview with #9F3CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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