#9F2893#9F2893

#9F2893 is a mid, vivid purple. Relative luminance 0.110; OKLCH L 50.5% C 0.193 H 332.6°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#9F2893
RGBrgb(159, 40, 147)
HSLhsl(306, 60%, 39%)
HSVhsv(306, 75%, 62%)
CMYKcmyk(0%, 74.8%, 7.5%, 37.6%)
CIE-LABlab(39.58, 59.44, -32.34)
CIE-LCHlch(39.58, 67.67, 331.45°)
OKLaboklab(50.46% 0.1711 -0.0889)
OKLCHoklch(50.46% 0.193 332.6)
XYZxyz(20.3234, 10.9968, 28.6503)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2893 #289F34
analogous
#70289F #9F2893 #9F2858
triadic
#9F2893 #939F28 #28939F
tetradic
#9F2893 #9F7028 #289F34 #28589F
square
#9F2893 #9F7028 #289F34 #28589F
split-complementary
#9F2893 #589F28 #289F70
monochromatic
#3D0F39 #6E1C66 #9F2893 #CD37BE #D968CE

Accessibility & contrast

On white

6.56
#9F2893 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#9F2893 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2893
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2893#FFFFFF#000000##FFFFFF
##9F28931.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#215296
Deuteranopia (green-blind)
#4F6390
Tritanopia (blue-blind)
#A6355B
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #9f2893;
/* rgb */ color: rgb(159, 40, 147);
/* oklch */ color: oklch(50.5% 0.193 332.6);
Tailwind
colors: {
  custom: {
    50: '#bf6fb3',
    500: '#9f2893',
    950: '#000000',
  },
}
SCSS
$custom: #9f2893;
$custom-light: #bf6fb3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2893",
  "rgb": {
    "r": 159,
    "g": 40,
    "b": 147
  },
  "hsl": {
    "h": 306.05,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.50459,
    "c": 0.19277,
    "h": 332.6
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#9F2893
secondary
#64BF6D
accent
#E35545
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2893

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

Preview Lab → · Contrast checker → · Palette generator →

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