#9F2294#9F2294

#9F2294 is a mid, vivid purple. Relative luminance 0.107; OKLCH L 50.1% C 0.200 H 332.1°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9F2294
RGBrgb(159, 34, 148)
HSLhsl(305, 65%, 38%)
HSVhsv(305, 79%, 62%)
CMYKcmyk(0%, 78.6%, 6.9%, 37.6%)
CIE-LABlab(38.99, 61.42, -33.87)
CIE-LCHlch(38.99, 70.14, 331.13°)
OKLaboklab(50.06% 0.1764 -0.0932)
OKLCHoklch(50.06% 0.2 332.1)
XYZxyz(20.2155, 10.6548, 29.0031)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2294 #229F2D
analogous
#6B229F #9F2294 #9F2255
triadic
#9F2294 #949F22 #22949F
tetradic
#9F2294 #9F6B22 #229F2D #22559F
square
#9F2294 #9F6B22 #229F2D #22559F
split-complementary
#9F2294 #559F22 #229F6B
monochromatic
#3A0C36 #6D1765 #9F2294 #D12DC3 #DD5FD2

Accessibility & contrast

On white

6.71
#9F2294 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#9F2294 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2294
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2294#FFFFFF#000000##FFFFFF
##9F22941.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#185197
Deuteranopia (green-blind)
#4D6291
Tritanopia (blue-blind)
#A6325A
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2294;
/* rgb */ color: rgb(159, 34, 148);
/* oklch */ color: oklch(50.1% 0.200 332.1);
Tailwind
colors: {
  custom: {
    50: '#bf6db4',
    500: '#9f2294',
    950: '#000000',
  },
}
SCSS
$custom: #9f2294;
$custom-light: #bf6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2294",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 148
  },
  "hsl": {
    "h": 305.28,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50059,
    "c": 0.19953,
    "h": 332.1
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#9F2294
secondary
#5BC164
accent
#E84F40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2294

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

Preview Lab → · Contrast checker → · Palette generator →

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