#9F188D#9F188D

#9F188D is a mid, highly saturated purple. Relative luminance 0.099; OKLCH L 49.0% C 0.203 H 334.8°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#9F188D
RGBrgb(159, 24, 141)
HSLhsl(308, 74%, 36%)
HSVhsv(308, 85%, 62%)
CMYKcmyk(0%, 84.9%, 11.3%, 37.6%)
CIE-LABlab(37.75, 62.87, -31.55)
CIE-LCHlch(37.75, 70.34, 333.35°)
OKLaboklab(49.05% 0.1836 -0.0865)
OKLCHoklch(49.05% 0.203 334.8)
XYZxyz(19.4327, 9.9491, 26.0911)
Luminance0.0995 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F188D #189F2A
analogous
#6D189F #9F188D #9F1849
triadic
#9F188D #8D9F18 #188D9F
tetradic
#9F188D #9F6D18 #189F2A #18499F
square
#9F188D #9F6D18 #189F2A #18499F
split-complementary
#9F188D #499F18 #189F6D
monochromatic
#35082F #6A105E #9F188D #D420BC #E44DD0

Accessibility & contrast

On white

7.02
#9F188D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#9F188D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #9F188D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F188D#FFFFFF#000000##FFFFFF
##9F188D1.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#164D90
Deuteranopia (green-blind)
#4D608A
Tritanopia (blue-blind)
#A72754
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #9f188d;
/* rgb */ color: rgb(159, 24, 141);
/* oklch */ color: oklch(49.0% 0.203 334.8);
Tailwind
colors: {
  custom: {
    50: '#bf69af',
    500: '#9f188d',
    950: '#000000',
  },
}
SCSS
$custom: #9f188d;
$custom-light: #bf69af;
$custom-dark: #000000;
JSON
{
  "hex": "#9f188d",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 141
  },
  "hsl": {
    "h": 308,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.4905,
    "c": 0.20292,
    "h": 334.8
  },
  "luminance": 0.09947
}

Semantic roles & 50–950 ramp

primary
#9F188D
secondary
#4DC65D
accent
#F05037
background
#FCF6FA
surface
#F8ECF4
border
#D1C7CE
text
#130710
muted
#827A7F

Preview Lab

Preview with #9F188D

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

Preview Lab → · Contrast checker → · Palette generator →

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