#9F2296#9F2296

#9F2296 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.2% C 0.201 H 331.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#9F2296
RGBrgb(159, 34, 150)
HSLhsl(304, 65%, 38%)
HSVhsv(304, 79%, 62%)
CMYKcmyk(0%, 78.6%, 5.7%, 37.6%)
CIE-LABlab(39.10, 61.73, -34.91)
CIE-LCHlch(39.10, 70.92, 330.51°)
OKLaboklab(50.17% 0.1765 -0.0962)
OKLCHoklch(50.17% 0.201 331.4)
XYZxyz(20.3751, 10.7187, 29.8440)
Luminance0.1072 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2296 #229F2B
analogous
#69229F #9F2296 #9F2257
triadic
#9F2296 #969F22 #22969F
tetradic
#9F2296 #9F6922 #229F2B #22579F
square
#9F2296 #9F6922 #229F2B #22579F
split-complementary
#9F2296 #579F22 #229F69
monochromatic
#3A0C37 #6D1766 #9F2296 #D12DC6 #DD5FD4

Accessibility & contrast

On white

6.68
#9F2296 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#9F2296 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2296
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2296#FFFFFF#000000##FFFFFF
##9F22961.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#145199
Deuteranopia (green-blind)
#4C6293
Tritanopia (blue-blind)
#A6335B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2296;
/* rgb */ color: rgb(159, 34, 150);
/* oklch */ color: oklch(50.2% 0.201 331.4);
Tailwind
colors: {
  custom: {
    50: '#bf6db5',
    500: '#9f2296',
    950: '#000000',
  },
}
SCSS
$custom: #9f2296;
$custom-light: #bf6db5;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2296",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 150
  },
  "hsl": {
    "h": 304.32,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50173,
    "c": 0.20099,
    "h": 331.4
  },
  "luminance": 0.10717
}

Semantic roles & 50–950 ramp

primary
#9F2296
secondary
#5BC163
accent
#E84C40
background
#FCF7FB
surface
#F8EDF6
border
#D1C8D0
text
#130811
muted
#827B80

Preview Lab

Preview with #9F2296

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

Preview Lab → · Contrast checker → · Palette generator →

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