#9F1C93#9F1C93

#9F1C93 is a mid, highly saturated purple. Relative luminance 0.103; OKLCH L 49.6% C 0.204 H 332.5°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).

Color values

HEX#9F1C93
RGBrgb(159, 28, 147)
HSLhsl(305, 70%, 37%)
HSVhsv(305, 82%, 62%)
CMYKcmyk(0%, 82.4%, 7.5%, 37.6%)
CIE-LABlab(38.39, 62.84, -34.21)
CIE-LCHlch(38.39, 71.55, 331.44°)
OKLaboklab(49.61% 0.181 -0.0942)
OKLCHoklch(49.61% 0.204 332.5)
XYZxyz(19.9799, 10.3098, 28.5358)
Luminance0.1031 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1C93 #1C9F28
analogous
#6A1C9F #9F1C93 #9F1C52
triadic
#9F1C93 #939F1C #1C939F
tetradic
#9F1C93 #9F6A1C #1C9F28 #1C529F
square
#9F1C93 #9F6A1C #1C9F28 #1C529F
split-complementary
#9F1C93 #529F1C #1C9F6A
monochromatic
#370A33 #6B1363 #9F1C93 #D325C3 #E154D4

Accessibility & contrast

On white

6.86
#9F1C93 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.06
#9F1C93 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1C93
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1C93#FFFFFF#000000##FFFFFF
##9F1C931.006.863.066.86
#FFFFFF6.861.0021.001.00
#0000003.0621.001.0021.00
##FFFFFF6.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#104F96
Deuteranopia (green-blind)
#4B6190
Tritanopia (blue-blind)
#A62D58
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1c93;
/* rgb */ color: rgb(159, 28, 147);
/* oklch */ color: oklch(49.6% 0.204 332.5);
Tailwind
colors: {
  custom: {
    50: '#bf6bb3',
    500: '#9f1c93',
    950: '#000000',
  },
}
SCSS
$custom: #9f1c93;
$custom-light: #bf6bb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1c93",
  "rgb": {
    "r": 159,
    "g": 28,
    "b": 147
  },
  "hsl": {
    "h": 305.496,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.49613,
    "c": 0.20404,
    "h": 332.5
  },
  "luminance": 0.10308
}

Semantic roles & 50–950 ramp

primary
#9F1C93
secondary
#53C45D
accent
#ED4B3B
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130811
muted
#827A80

Preview Lab

Preview with #9F1C93

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

Preview Lab → · Contrast checker → · Palette generator →

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