#9F218F#9F218F

#9F218F is a mid, vivid purple. Relative luminance 0.104; OKLCH L 49.7% C 0.197 H 334.1°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).

Color values

HEX#9F218F
RGBrgb(159, 33, 143)
HSLhsl(308, 66%, 38%)
HSVhsv(308, 79%, 62%)
CMYKcmyk(0%, 79.2%, 10.1%, 37.6%)
CIE-LABlab(38.63, 60.94, -31.39)
CIE-LCHlch(38.63, 68.55, 332.74°)
OKLaboklab(49.71% 0.1771 -0.0861)
OKLCHoklch(49.71% 0.197 334.1)
XYZxyz(19.8001, 10.4436, 26.9543)
Luminance0.1044 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F218F #219F31
analogous
#70219F #9F218F #9F2150
triadic
#9F218F #8F9F21 #218F9F
tetradic
#9F218F #9F7021 #219F31 #21509F
square
#9F218F #9F7021 #219F31 #21509F
split-complementary
#9F218F #509F21 #219F70
monochromatic
#3A0C34 #6C1661 #9F218F #D22CBD #DD5DCD

Accessibility & contrast

On white

6.80
#9F218F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.09
#9F218F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F218F
6.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F218F#FFFFFF#000000##FFFFFF
##9F218F1.006.803.096.80
#FFFFFF6.801.0021.001.00
#0000003.0921.001.0021.00
##FFFFFF6.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D4F92
Deuteranopia (green-blind)
#4F618C
Tritanopia (blue-blind)
#A72E57
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f218f;
/* rgb */ color: rgb(159, 33, 143);
/* oklch */ color: oklch(49.7% 0.197 334.1);
Tailwind
colors: {
  custom: {
    50: '#bf6cb0',
    500: '#9f218f',
    950: '#000000',
  },
}
SCSS
$custom: #9f218f;
$custom-light: #bf6cb0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f218f",
  "rgb": {
    "r": 159,
    "g": 33,
    "b": 143
  },
  "hsl": {
    "h": 307.619,
    "s": 65.625,
    "l": 37.647
  },
  "oklch": {
    "l": 0.49711,
    "c": 0.19689,
    "h": 334.1
  },
  "luminance": 0.10442
}

Semantic roles & 50–950 ramp

primary
#9F218F
secondary
#5AC267
accent
#E9553F
background
#FCF6FA
surface
#F8ECF5
border
#D1C7CF
text
#130810
muted
#827A7F

Preview Lab

Preview with #9F218F

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

Preview Lab → · Contrast checker → · Palette generator →

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