#9F3286#9F3286

#9F3286 is a mid, vivid pink. Relative luminance 0.114; OKLCH L 50.7% C 0.171 H 338.3°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#9F3286
RGBrgb(159, 50, 134)
HSLhsl(314, 52%, 41%)
HSVhsv(314, 69%, 62%)
CMYKcmyk(0%, 68.6%, 15.7%, 37.6%)
CIE-LABlab(40.21, 53.85, -23.41)
CIE-LCHlch(40.21, 58.72, 336.50°)
OKLaboklab(50.71% 0.1591 -0.0634)
OKLCHoklch(50.71% 0.171 338.3)
XYZxyz(19.7421, 11.3751, 23.7055)
Luminance0.1137 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3286 #329F4B
analogous
#81329F #9F3286 #9F3250
triadic
#9F3286 #869F32 #32869F
tetradic
#9F3286 #9F8132 #329F4B #32509F
square
#9F3286 #9F8132 #329F4B #32509F
split-complementary
#9F3286 #509F32 #329F81
monochromatic
#421538 #70235F #9F3286 #C649A9 #D477BF

Accessibility & contrast

On white

6.41
#9F3286 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9F3286 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3286
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3286#FFFFFF#000000##FFFFFF
##9F32861.006.413.276.41
#FFFFFF6.411.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#365488
Deuteranopia (green-blind)
#596583
Tritanopia (blue-blind)
#A83757
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f3286;
/* rgb */ color: rgb(159, 50, 134);
/* oklch */ color: oklch(50.7% 0.171 338.3);
Tailwind
colors: {
  custom: {
    50: '#bf73a9',
    500: '#9f3286',
    950: '#000000',
  },
}
SCSS
$custom: #9f3286;
$custom-light: #bf73a9;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3286",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 134
  },
  "hsl": {
    "h": 313.761,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50706,
    "c": 0.17126,
    "h": 338.3
  },
  "luminance": 0.11373
}

Semantic roles & 50–950 ramp

primary
#9F3286
secondary
#70BD82
accent
#DC6D4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #9F3286

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

Preview Lab → · Contrast checker → · Palette generator →

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