#9F2290#9F2290

#9F2290 is a mid, vivid purple. Relative luminance 0.105; OKLCH L 49.8% C 0.197 H 333.7°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#9F2290
RGBrgb(159, 34, 144)
HSLhsl(307, 65%, 38%)
HSVhsv(307, 79%, 62%)
CMYKcmyk(0%, 78.6%, 9.4%, 37.6%)
CIE-LABlab(38.78, 60.81, -31.77)
CIE-LCHlch(38.78, 68.61, 332.42°)
OKLaboklab(49.84% 0.1763 -0.0872)
OKLCHoklch(49.84% 0.197 333.7)
XYZxyz(19.9043, 10.5304, 27.3644)
Luminance0.1053 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2290 #229F31
analogous
#6F229F #9F2290 #9F2251
triadic
#9F2290 #909F22 #22909F
tetradic
#9F2290 #9F6F22 #229F31 #22519F
square
#9F2290 #9F6F22 #229F31 #22519F
split-complementary
#9F2290 #519F22 #229F6F
monochromatic
#3A0C35 #6D1762 #9F2290 #D12DBE #DD5FCE

Accessibility & contrast

On white

6.76
#9F2290 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#9F2290 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2290
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2290#FFFFFF#000000##FFFFFF
##9F22901.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1D5093
Deuteranopia (green-blind)
#4F628D
Tritanopia (blue-blind)
#A72F58
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #9f2290;
/* rgb */ color: rgb(159, 34, 144);
/* oklch */ color: oklch(49.8% 0.197 333.7);
Tailwind
colors: {
  custom: {
    50: '#bf6cb1',
    500: '#9f2290',
    950: '#000000',
  },
}
SCSS
$custom: #9f2290;
$custom-light: #bf6cb1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2290",
  "rgb": {
    "r": 159,
    "g": 34,
    "b": 144
  },
  "hsl": {
    "h": 307.2,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.49836,
    "c": 0.19666,
    "h": 333.7
  },
  "luminance": 0.10529
}

Semantic roles & 50–950 ramp

primary
#9F2290
secondary
#5BC168
accent
#E85440
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2290

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

Preview Lab → · Contrast checker → · Palette generator →

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