#9F2F90#9F2F90

#9F2F90 is a mid, vivid purple. Relative luminance 0.114; OKLCH L 50.9% C 0.182 H 333.8°. Best body text is #FFFFFF at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9F2F90
RGBrgb(159, 47, 144)
HSLhsl(308, 54%, 40%)
HSVhsv(308, 70%, 62%)
CMYKcmyk(0%, 70.4%, 9.4%, 37.6%)
CIE-LABlab(40.28, 56.54, -29.41)
CIE-LCHlch(40.28, 63.73, 332.52°)
OKLaboklab(50.92% 0.1637 -0.0805)
OKLCHoklch(50.92% 0.182 333.8)
XYZxyz(20.3488, 11.4193, 27.5126)
Luminance0.1142 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2F90 #2F9F3E
analogous
#762F9F #9F2F90 #9F2F58
triadic
#9F2F90 #909F2F #2F909F
tetradic
#9F2F90 #9F762F #2F9F3E #2F589F
square
#9F2F90 #9F762F #2F9F3E #2F589F
split-complementary
#9F2F90 #589F2F #2F9F76
monochromatic
#41133A #702165 #9F2F90 #C844B6 #D673C8

Accessibility & contrast

On white

6.40
#9F2F90 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#9F2F90 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2F90
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2F90#FFFFFF#000000##FFFFFF
##9F2F901.006.403.286.40
#FFFFFF6.401.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C5493
Deuteranopia (green-blind)
#54658D
Tritanopia (blue-blind)
#A6395C
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #9f2f90;
/* rgb */ color: rgb(159, 47, 144);
/* oklch */ color: oklch(50.9% 0.182 333.8);
Tailwind
colors: {
  custom: {
    50: '#bf72b1',
    500: '#9f2f90',
    950: '#000000',
  },
}
SCSS
$custom: #9f2f90;
$custom-light: #bf72b1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2f90",
  "rgb": {
    "r": 159,
    "g": 47,
    "b": 144
  },
  "hsl": {
    "h": 308.036,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.50915,
    "c": 0.18245,
    "h": 333.8
  },
  "luminance": 0.11418
}

Semantic roles & 50–950 ramp

primary
#9F2F90
secondary
#6DBD77
accent
#DE5E4A
background
#FCF7FA
surface
#F8EDF5
border
#D1C8CF
text
#130810
muted
#827B7F

Preview Lab

Preview with #9F2F90

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

Preview Lab → · Contrast checker → · Palette generator →

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