#9F19B4#9F19B4

#9F19B4 is a mid, highly saturated purple. Relative luminance 0.114; OKLCH L 51.5% C 0.230 H 321.5°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#9F19B4
RGBrgb(159, 25, 180)
HSLhsl(292, 76%, 40%)
HSVhsv(292, 86%, 71%)
CMYKcmyk(11.7%, 86.1%, 0%, 29.4%)
CIE-LABlab(40.18, 68.87, -51.17)
CIE-LCHlch(40.18, 85.80, 323.39°)
OKLaboklab(51.53% 0.1803 -0.1436)
OKLCHoklch(51.53% 0.23 321.5)
XYZxyz(22.8830, 11.3628, 44.1591)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F19B4 #2EB419
analogous
#5119B4 #9F19B4 #B4197B
triadic
#9F19B4 #B49F19 #19B49F
tetradic
#9F19B4 #B45119 #2EB419 #197BB4
square
#9F19B4 #B45119 #2EB419 #197BB4
split-complementary
#9F19B4 #7BB419 #19B451
monochromatic
#400A49 #70127E #9F19B4 #C829E1 #D65FE9

Accessibility & contrast

On white

6.42
#9F19B4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#9F19B4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F19B4
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F19B4#FFFFFF#000000##FFFFFF
##9F19B41.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f19b4;
/* rgb */ color: rgb(159, 25, 180);
/* oklch */ color: oklch(51.5% 0.230 321.5);
Tailwind
colors: {
  custom: {
    50: '#c06bcb',
    500: '#9f19b4',
    950: '#000000',
  },
}
SCSS
$custom: #9f19b4;
$custom-light: #c06bcb;
$custom-dark: #000000;
JSON
{
  "hex": "#9f19b4",
  "rgb": {
    "r": 159,
    "g": 25,
    "b": 180
  },
  "hsl": {
    "h": 291.871,
    "s": 75.61,
    "l": 40.196
  },
  "oklch": {
    "l": 0.51527,
    "c": 0.23047,
    "h": 321.5
  },
  "luminance": 0.11361
}

Semantic roles & 50–950 ramp

primary
#9F19B4
secondary
#6BCD5C
accent
#F2364F
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130813
muted
#827B82

Preview Lab

Preview with #9F19B4

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

Preview Lab → · Contrast checker → · Palette generator →

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