#9F368F#9F368F

#9F368F is a mid, vivid purple. Relative luminance 0.120; OKLCH L 51.6% C 0.173 H 334.4°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9F368F
RGBrgb(159, 54, 143)
HSLhsl(309, 49%, 42%)
HSVhsv(309, 66%, 62%)
CMYKcmyk(0%, 66%, 10.1%, 37.6%)
CIE-LABlab(41.21, 53.64, -27.35)
CIE-LCHlch(41.21, 60.21, 332.99°)
OKLaboklab(51.57% 0.1556 -0.0746)
OKLCHoklch(51.57% 0.173 334.4)
XYZxyz(20.5753, 11.9941, 27.2127)
Luminance0.1199 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F368F #369F46
analogous
#7B369F #9F368F #9F365B
triadic
#9F368F #8F9F36 #368F9F
tetradic
#9F368F #9F7B36 #369F46 #365B9F
square
#9F368F #9F7B36 #369F46 #365B9F
split-complementary
#9F368F #5B9F36 #369F7B
monochromatic
#44173D #712666 #9F368F #C34FB2 #D37DC6

Accessibility & contrast

On white

6.18
#9F368F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9F368F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F368F
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F368F#FFFFFF#000000##FFFFFF
##9F368F1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#355792
Deuteranopia (green-blind)
#58678C
Tritanopia (blue-blind)
#A63E5D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f368f;
/* rgb */ color: rgb(159, 54, 143);
/* oklch */ color: oklch(51.6% 0.173 334.4);
Tailwind
colors: {
  custom: {
    50: '#be75b0',
    500: '#9f368f',
    950: '#000000',
  },
}
SCSS
$custom: #9f368f;
$custom-light: #be75b0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f368f",
  "rgb": {
    "r": 159,
    "g": 54,
    "b": 143
  },
  "hsl": {
    "h": 309.143,
    "s": 49.296,
    "l": 41.765
  },
  "oklch": {
    "l": 0.51573,
    "c": 0.17256,
    "h": 334.4
  },
  "luminance": 0.11992
}

Semantic roles & 50–950 ramp

primary
#9F368F
secondary
#75BC80
accent
#D9644F
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130910
muted
#827B7F

Preview Lab

Preview with #9F368F

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

Preview Lab → · Contrast checker → · Palette generator →

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