#9F3285#9F3285

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

Color values

HEX#9F3285
RGBrgb(159, 50, 133)
HSLhsl(314, 52%, 41%)
HSVhsv(314, 69%, 62%)
CMYKcmyk(0%, 68.6%, 16.4%, 37.6%)
CIE-LABlab(40.16, 53.70, -22.87)
CIE-LCHlch(40.16, 58.36, 336.93°)
OKLaboklab(50.66% 0.159 -0.0618)
OKLCHoklch(50.66% 0.171 338.7)
XYZxyz(19.6727, 11.3474, 23.3399)
Luminance0.1135 (WCAG relative)
Temperatureneutral
Familypink

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F3285 #329F4C
analogous
#82329F #9F3285 #9F324E
triadic
#9F3285 #859F32 #32859F
tetradic
#9F3285 #9F8232 #329F4C #324E9F
square
#9F3285 #9F8232 #329F4C #324E9F
split-complementary
#9F3285 #4E9F32 #329F82
monochromatic
#421537 #70235E #9F3285 #C649A8 #D477BE

Accessibility & contrast

On white

6.42
#9F3285 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F3285
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F3285#FFFFFF#000000##FFFFFF
##9F32851.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#375487
Deuteranopia (green-blind)
#5A6582
Tritanopia (blue-blind)
#A83657
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f3285;
/* rgb */ color: rgb(159, 50, 133);
/* oklch */ color: oklch(50.7% 0.171 338.7);
Tailwind
colors: {
  custom: {
    50: '#bf73a8',
    500: '#9f3285',
    950: '#000000',
  },
}
SCSS
$custom: #9f3285;
$custom-light: #bf73a8;
$custom-dark: #000000;
JSON
{
  "hex": "#9f3285",
  "rgb": {
    "r": 159,
    "g": 50,
    "b": 133
  },
  "hsl": {
    "h": 314.312,
    "s": 52.153,
    "l": 40.98
  },
  "oklch": {
    "l": 0.50658,
    "c": 0.17056,
    "h": 338.7
  },
  "luminance": 0.11346
}

Semantic roles & 50–950 ramp

primary
#9F3285
secondary
#70BD82
accent
#DC6E4C
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#13090F
muted
#827B7F

Preview Lab

Preview with #9F3285

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

Preview Lab → · Contrast checker → · Palette generator →

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