#9F1BB4#9F1BB4

#9F1BB4 is a mid, highly saturated purple. Relative luminance 0.115; OKLCH L 51.6% C 0.229 H 321.4°. Best body text is #FFFFFF at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#9F1BB4
RGBrgb(159, 27, 180)
HSLhsl(292, 74%, 41%)
HSVhsv(292, 85%, 71%)
CMYKcmyk(11.7%, 85%, 0%, 29.4%)
CIE-LABlab(40.33, 68.44, -50.94)
CIE-LCHlch(40.33, 85.32, 323.34°)
OKLaboklab(51.63% 0.1791 -0.1429)
OKLCHoklch(51.63% 0.229 321.4)
XYZxyz(22.9273, 11.4514, 44.1739)
Luminance0.1145 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1BB4 #30B41B
analogous
#531BB4 #9F1BB4 #B41B7C
triadic
#9F1BB4 #B49F1B #1BB49F
tetradic
#9F1BB4 #B4531B #30B41B #1B7CB4
square
#9F1BB4 #B4531B #30B41B #1B7CB4
split-complementary
#9F1BB4 #7CB41B #1BB453
monochromatic
#410B4A #70137F #9F1BB4 #C72DDF #D562E7

Accessibility & contrast

On white

6.38
#9F1BB4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.29
#9F1BB4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1BB4
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1BB4#FFFFFF#000000##FFFFFF
##9F1BB41.006.383.296.38
#FFFFFF6.381.0021.001.00
#0000003.2921.001.0021.00
##FFFFFF6.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0056B8
Deuteranopia (green-blind)
#3364B1
Tritanopia (blue-blind)
#A03F6B
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f1bb4;
/* rgb */ color: rgb(159, 27, 180);
/* oklch */ color: oklch(51.6% 0.229 321.4);
Tailwind
colors: {
  custom: {
    50: '#c06ccb',
    500: '#9f1bb4',
    950: '#000000',
  },
}
SCSS
$custom: #9f1bb4;
$custom-light: #c06ccb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1bb4",
  "rgb": {
    "r": 159,
    "g": 27,
    "b": 180
  },
  "hsl": {
    "h": 291.765,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51629,
    "c": 0.22916,
    "h": 321.4
  },
  "luminance": 0.1145
}

Semantic roles & 50–950 ramp

primary
#9F1BB4
secondary
#6ECC5F
accent
#F13751
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9F1BB4

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

Preview Lab → · Contrast checker → · Palette generator →

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