#9F2295#9F2295

#9F2295 is a mid, highly saturated purple. Relative luminance 0.107; OKLCH L 50.1% C 0.200 H 331.8°. Best body text is #FFFFFF at 6.69:1 contrast (WCAG AA passes).

Color values

HEX#9F2295
RGBrgb(159, 34, 149)
HSLhsl(305, 65%, 38%)
HSVhsv(305, 79%, 62%)
CMYKcmyk(0%, 78.6%, 6.3%, 37.6%)
CIE-LABlab(39.05, 61.58, -34.39)
CIE-LCHlch(39.05, 70.53, 330.82°)
OKLaboklab(50.12% 0.1764 -0.0947)
OKLCHoklch(50.12% 0.2 331.8)
XYZxyz(20.2950, 10.6866, 29.4218)
Luminance0.1069 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2295 #229F2C
analogous
#6A229F #9F2295 #9F2256
triadic
#9F2295 #959F22 #22959F
tetradic
#9F2295 #9F6A22 #229F2C #22569F
square
#9F2295 #9F6A22 #229F2C #22569F
split-complementary
#9F2295 #569F22 #229F6A
monochromatic
#3A0C37 #6D1766 #9F2295 #D12DC4 #DD5FD3

Accessibility & contrast

On white

6.69
#9F2295 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #9F2295
6.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2295#FFFFFF#000000##FFFFFF
##9F22951.006.693.146.69
#FFFFFF6.691.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#165198
Deuteranopia (green-blind)
#4C6292
Tritanopia (blue-blind)
#A6325B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #9f2295;
/* rgb */ color: rgb(159, 34, 149);
/* oklch */ color: oklch(50.1% 0.200 331.8);
Tailwind
colors: {
  custom: {
    50: '#bf6db4',
    500: '#9f2295',
    950: '#000000',
  },
}
SCSS
$custom: #9f2295;
$custom-light: #bf6db4;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2295",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 149
  },
  "hsl": {
    "h": 304.8,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.50116,
    "c": 0.20026,
    "h": 331.8
  },
  "luminance": 0.10685
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #9F2295

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

Preview Lab → · Contrast checker → · Palette generator →

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