#9F278F#9F278F

#9F278F is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.2% C 0.191 H 334.1°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#9F278F
RGBrgb(159, 39, 143)
HSLhsl(308, 61%, 39%)
HSVhsv(308, 75%, 62%)
CMYKcmyk(0%, 75.5%, 10.1%, 37.6%)
CIE-LABlab(39.25, 59.14, -30.41)
CIE-LCHlch(39.25, 66.50, 332.79°)
OKLaboklab(50.16% 0.1718 -0.0833)
OKLCHoklch(50.16% 0.191 334.1)
XYZxyz(19.9817, 10.8069, 27.0148)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F278F #279F37
analogous
#73279F #9F278F #9F2753
triadic
#9F278F #8F9F27 #278F9F
tetradic
#9F278F #9F7327 #279F37 #27539F
square
#9F278F #9F7327 #279F37 #27539F
split-complementary
#9F278F #539F27 #279F73
monochromatic
#3D0F37 #6E1B63 #9F278F #CE36B9 #DA67CA

Accessibility & contrast

On white

6.64
#9F278F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#9F278F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F278F
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F278F#FFFFFF#000000##FFFFFF
##9F278F1.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#245192
Deuteranopia (green-blind)
#51638C
Tritanopia (blue-blind)
#A73259
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f278f;
/* rgb */ color: rgb(159, 39, 143);
/* oklch */ color: oklch(50.2% 0.191 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6eb0',
    500: '#9f278f',
    950: '#000000',
  },
}
SCSS
$custom: #9f278f;
$custom-light: #bf6eb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f278f",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 143
  },
  "hsl": {
    "h": 308,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.5016,
    "c": 0.19091,
    "h": 334.1
  },
  "luminance": 0.10805
}

Semantic roles & 50–950 ramp

primary
#9F278F
secondary
#62C06F
accent
#E45944
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F278F

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

Preview Lab → · Contrast checker → · Palette generator →

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