#9F1895#9F1895

#9F1895 is a mid, highly saturated purple. Relative luminance 0.102; OKLCH L 49.5% C 0.208 H 331.8°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#9F1895
RGBrgb(159, 24, 149)
HSLhsl(304, 74%, 36%)
HSVhsv(304, 85%, 62%)
CMYKcmyk(0%, 84.9%, 6.3%, 37.6%)
CIE-LABlab(38.19, 64.06, -35.75)
CIE-LCHlch(38.19, 73.35, 330.84°)
OKLaboklab(49.51% 0.1836 -0.0986)
OKLCHoklch(49.51% 0.208 331.8)
XYZxyz(20.0496, 10.1959, 29.3400)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F1895 #189F22
analogous
#65189F #9F1895 #9F1852
triadic
#9F1895 #959F18 #18959F
tetradic
#9F1895 #9F6518 #189F22 #18529F
square
#9F1895 #9F6518 #189F22 #18529F
split-complementary
#9F1895 #529F18 #189F65
monochromatic
#350831 #6A1063 #9F1895 #D420C7 #E44DD9

Accessibility & contrast

On white

6.91
#9F1895 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#9F1895 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F1895
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F1895#FFFFFF#000000##FFFFFF
##9F18951.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#034E98
Deuteranopia (green-blind)
#496092
Tritanopia (blue-blind)
#A62C59
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #9f1895;
/* rgb */ color: rgb(159, 24, 149);
/* oklch */ color: oklch(49.5% 0.208 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf69b4',
    500: '#9f1895',
    950: '#000000',
  },
}
SCSS
$custom: #9f1895;
$custom-light: #bf69b4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f1895",
  "rgb": {
    "r": 159,
    "g": 24,
    "b": 149
  },
  "hsl": {
    "h": 304.444,
    "s": 73.77,
    "l": 35.882
  },
  "oklch": {
    "l": 0.49506,
    "c": 0.20844,
    "h": 331.8
  },
  "luminance": 0.10194
}

Semantic roles & 50–950 ramp

primary
#9F1895
secondary
#4DC656
accent
#F04537
background
#FCF6FB
surface
#F8ECF6
border
#D1C7D0
text
#130711
muted
#827A80

Preview Lab

Preview with #9F1895

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

Preview Lab → · Contrast checker → · Palette generator →

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