#9F1FBC#9F1FBC

#9F1FBC is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.4% C 0.233 H 318.9°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#9F1FBC
RGBrgb(159, 31, 188)
HSLhsl(289, 72%, 43%)
HSVhsv(289, 84%, 74%)
CMYKcmyk(15.4%, 83.5%, 0%, 26.3%)
CIE-LABlab(41.19, 68.93, -54.27)
CIE-LCHlch(41.19, 87.73, 321.79°)
OKLaboklab(52.4% 0.1753 -0.1527)
OKLCHoklch(52.4% 0.233 318.9)
XYZxyz(23.8639, 11.9829, 48.6231)
Luminance0.1198 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1FBC #3CBC1F
analogous
#501FBC #9F1FBC #BC1F8A
triadic
#9F1FBC #BC9F1F #1FBC9F
tetradic
#9F1FBC #BC501F #3CBC1F #1F8ABC
square
#9F1FBC #BC501F #3CBC1F #1F8ABC
split-complementary
#9F1FBC #8ABC1F #1FBC50
monochromatic
#460E53 #731687 #9F1FBC #C03ADE #D16EE7

Accessibility & contrast

On white

6.18
#9F1FBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9F1FBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1FBC
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1FBC#FFFFFF#000000##FFFFFF
##9F1FBC1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0059C0
Deuteranopia (green-blind)
#2B65B9
Tritanopia (blue-blind)
#9F4571
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f1fbc;
/* rgb */ color: rgb(159, 31, 188);
/* oklch */ color: oklch(52.4% 0.233 318.9);
Tailwind
colors: {
  custom: {
    50: '#c06dd1',
    500: '#9f1fbc',
    950: '#000000',
  },
}
SCSS
$custom: #9f1fbc;
$custom-light: #c06dd1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1fbc",
  "rgb": {
    "r": 159,
    "g": 31,
    "b": 188
  },
  "hsl": {
    "h": 288.917,
    "s": 71.689,
    "l": 42.941
  },
  "oklch": {
    "l": 0.52402,
    "c": 0.23254,
    "h": 318.9
  },
  "luminance": 0.11982
}

Semantic roles & 50–950 ramp

primary
#9F1FBC
secondary
#7CCD69
accent
#EE395B
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130814
muted
#827B82

Preview Lab

Preview with #9F1FBC

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

Preview Lab → · Contrast checker → · Palette generator →

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