#9F388E#9F388E

#9F388E is a mid, vivid purple. Relative luminance 0.122; OKLCH L 51.7% C 0.169 H 334.9°. Best body text is #FFFFFF at 6.12:1 contrast (WCAG AA passes).

Color values

HEX#9F388E
RGBrgb(159, 56, 142)
HSLhsl(310, 48%, 42%)
HSVhsv(310, 65%, 62%)
CMYKcmyk(0%, 64.8%, 10.7%, 37.6%)
CIE-LABlab(41.46, 52.64, -26.34)
CIE-LCHlch(41.46, 58.87, 333.42°)
OKLaboklab(51.74% 0.153 -0.0718)
OKLCHoklch(51.74% 0.169 334.9)
XYZxyz(20.5949, 12.1539, 26.8472)
Luminance0.1215 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F388E #389F49
analogous
#7D389F #9F388E #9F385B
triadic
#9F388E #8E9F38 #388E9F
tetradic
#9F388E #9F7D38 #389F49 #385B9F
square
#9F388E #9F7D38 #389F49 #385B9F
split-complementary
#9F388E #5B9F38 #389F7D
monochromatic
#44183D #722866 #9F388E #C252B0 #D27FC4

Accessibility & contrast

On white

6.12
#9F388E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.43
#9F388E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F388E
6.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F388E#FFFFFF#000000##FFFFFF
##9F388E1.006.123.436.12
#FFFFFF6.121.0021.001.00
#0000003.4321.001.0021.00
##FFFFFF6.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#385891
Deuteranopia (green-blind)
#59678B
Tritanopia (blue-blind)
#A73F5E
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f388e;
/* rgb */ color: rgb(159, 56, 142);
/* oklch */ color: oklch(51.7% 0.169 334.9);
Tailwind
colors: {
  custom: {
    50: '#be76af',
    500: '#9f388e',
    950: '#000000',
  },
}
SCSS
$custom: #9f388e;
$custom-light: #be76af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f388e",
  "rgb": {
    "r": 159,
    "g": 56,
    "b": 142
  },
  "hsl": {
    "h": 309.903,
    "s": 47.907,
    "l": 42.157
  },
  "oklch": {
    "l": 0.51742,
    "c": 0.16901,
    "h": 334.9
  },
  "luminance": 0.12152
}

Semantic roles & 50–950 ramp

primary
#9F388E
secondary
#77BB83
accent
#D76750
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#120910
muted
#817B7F

Preview Lab

Preview with #9F388E

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

Preview Lab → · Contrast checker → · Palette generator →

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