#9F3282#9F3282

#9F3282 is a mid, vivid pink. Relative luminance 0.113; OKLCH L 50.5% C 0.168 H 340.1°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9F3282
RGBrgb(159, 50, 130)
HSLhsl(316, 52%, 41%)
HSVhsv(316, 69%, 62%)
CMYKcmyk(0%, 68.6%, 18.2%, 37.6%)
CIE-LABlab(40.02, 53.25, -21.23)
CIE-LCHlch(40.02, 57.33, 338.26°)
OKLaboklab(50.52% 0.1584 -0.0572)
OKLCHoklch(50.52% 0.168 340.1)
XYZxyz(19.4684, 11.2657, 22.2639)
Luminance0.1126 (WCAG relative)
Temperaturewarm
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3282 #329F4F
analogous
#85329F #9F3282 #9F324B
triadic
#9F3282 #829F32 #32829F
tetradic
#9F3282 #9F8532 #329F4F #324B9F
square
#9F3282 #9F8532 #329F4F #324B9F
split-complementary
#9F3282 #4B9F32 #329F85
monochromatic
#421536 #70235C #9F3282 #C649A4 #D477BB

Accessibility & contrast

On white

6.46
#9F3282 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#9F3282 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F3282
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3282#FFFFFF#000000##FFFFFF
##9F32821.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#395384
Deuteranopia (green-blind)
#5B657F
Tritanopia (blue-blind)
#A83555
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #9f3282;
/* rgb */ color: rgb(159, 50, 130);
/* oklch */ color: oklch(50.5% 0.168 340.1);
Tailwind
colors: {
  custom: {
    50: '#bf73a6',
    500: '#9f3282',
    950: '#000000',
  },
}
SCSS
$custom: #9f3282;
$custom-light: #bf73a6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3282",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 130
  },
  "hsl": {
    "h": 315.963,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50515,
    "c": 0.16845,
    "h": 340.1
  },
  "luminance": 0.11264
}

Semantic roles & 50–950 ramp

primary
#9F3282
secondary
#70BD85
accent
#DC724C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9F3282

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

Preview Lab → · Contrast checker → · Palette generator →

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