#9F278E#9F278E

#9F278E is a mid, vivid purple. Relative luminance 0.108; OKLCH L 50.1% C 0.190 H 334.5°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#9F278E
RGBrgb(159, 39, 142)
HSLhsl(309, 61%, 39%)
HSVhsv(309, 75%, 62%)
CMYKcmyk(0%, 75.5%, 10.7%, 37.6%)
CIE-LABlab(39.20, 58.99, -29.88)
CIE-LCHlch(39.20, 66.13, 333.14°)
OKLaboklab(50.11% 0.1717 -0.0818)
OKLCHoklch(50.11% 0.19 334.5)
XYZxyz(19.9063, 10.7767, 26.6177)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F278E #279F38
analogous
#74279F #9F278E #9F2752
triadic
#9F278E #8E9F27 #278E9F
tetradic
#9F278E #9F7427 #279F38 #27529F
square
#9F278E #9F7427 #279F38 #27529F
split-complementary
#9F278E #529F27 #279F74
monochromatic
#3D0F36 #6E1B62 #9F278E #CE36B8 #DA67C9

Accessibility & contrast

On white

6.66
#9F278E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F278E
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F278E#FFFFFF#000000##FFFFFF
##9F278E1.006.663.166.66
#FFFFFF6.661.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#255191
Deuteranopia (green-blind)
#51638B
Tritanopia (blue-blind)
#A73258
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f278e;
/* rgb */ color: rgb(159, 39, 142);
/* oklch */ color: oklch(50.1% 0.190 334.5);
Tailwind
colors: {
  custom: {
    50: '#bf6eaf',
    500: '#9f278e',
    950: '#000000',
  },
}
SCSS
$custom: #9f278e;
$custom-light: #bf6eaf;
$custom-dark: #000000;
JSON
{
  "hex": "#9f278e",
  "rgb": {
    "r": 159,
    "g": 39,
    "b": 142
  },
  "hsl": {
    "h": 308.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.50106,
    "c": 0.19019,
    "h": 334.5
  },
  "luminance": 0.10775
}

Semantic roles & 50–950 ramp

primary
#9F278E
secondary
#62C06F
accent
#E45B44
background
#FCF7FA
surface
#F8EDF4
border
#D1C8CE
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F278E

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

Preview Lab → · Contrast checker → · Palette generator →

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