#9F2BA9#9F2BA9

#9F2BA9 is a mid, highly saturated purple. Relative luminance 0.120; OKLCH L 52.0% C 0.207 H 324.5°. Best body text is #FFFFFF at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#9F2BA9
RGBrgb(159, 43, 169)
HSLhsl(295, 59%, 42%)
HSVhsv(295, 75%, 66%)
CMYKcmyk(5.9%, 74.6%, 0%, 33.7%)
CIE-LABlab(41.16, 62.11, -43.07)
CIE-LCHlch(41.16, 75.58, 325.26°)
OKLaboklab(51.99% 0.1683 -0.12)
OKLCHoklch(51.99% 0.207 324.5)
XYZxyz(22.3228, 11.9647, 38.6621)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BA9 #35A92B
analogous
#602BA9 #9F2BA9 #A92B74
triadic
#9F2BA9 #A99F2B #2BA99F
tetradic
#9F2BA9 #A9602B #35A92B #2B74A9
square
#9F2BA9 #A9602B #35A92B #2B74A9
split-complementary
#9F2BA9 #74A92B #2BA960
monochromatic
#431247 #711F78 #9F2BA9 #C442CF #D373DB

Accessibility & contrast

On white

6.19
#9F2BA9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.39
#9F2BA9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BA9
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BA9#FFFFFF#000000##FFFFFF
##9F2BA91.006.193.396.19
#FFFFFF6.191.0021.001.00
#0000003.3921.001.0021.00
##FFFFFF6.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0058AC
Deuteranopia (green-blind)
#4466A6
Tritanopia (blue-blind)
#A24268
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2ba9;
/* rgb */ color: rgb(159, 43, 169);
/* oklch */ color: oklch(52.0% 0.207 324.5);
Tailwind
colors: {
  custom: {
    50: '#bf71c3',
    500: '#9f2ba9',
    950: '#000000',
  },
}
SCSS
$custom: #9f2ba9;
$custom-light: #bf71c3;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2ba9",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 169
  },
  "hsl": {
    "h": 295.238,
    "s": 59.434,
    "l": 41.569
  },
  "oklch": {
    "l": 0.51993,
    "c": 0.20668,
    "h": 324.5
  },
  "luminance": 0.11963
}

Semantic roles & 50–950 ramp

primary
#9F2BA9
secondary
#74C36D
accent
#E34552
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130812
muted
#827B81

Preview Lab

Preview with #9F2BA9

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

Preview Lab → · Contrast checker → · Palette generator →

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