#9F2DA5#9F2DA5

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

Color values

HEX#9F2DA5
RGBrgb(159, 45, 165)
HSLhsl(297, 57%, 41%)
HSVhsv(297, 73%, 65%)
CMYKcmyk(3.6%, 72.7%, 0%, 35.3%)
CIE-LABlab(41.16, 60.74, -40.68)
CIE-LCHlch(41.16, 73.10, 326.19°)
OKLaboklab(51.92% 0.1665 -0.1131)
OKLCHoklch(51.92% 0.201 325.8)
XYZxyz(22.0275, 11.9658, 36.7394)
Luminance0.1196 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DA5 #33A52D
analogous
#632DA5 #9F2DA5 #A52D6F
triadic
#9F2DA5 #A59F2D #2DA59F
tetradic
#9F2DA5 #A5632D #33A52D #2D6FA5
square
#9F2DA5 #A5632D #33A52D #2D6FA5
split-complementary
#9F2DA5 #6FA52D #2DA563
monochromatic
#421345 #712075 #9F2DA5 #C543CC #D473D9

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F2DA5#FFFFFF#000000##FFFFFF
##9F2DA51.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)
#0B58A8
Deuteranopia (green-blind)
#4866A2
Tritanopia (blue-blind)
#A34166
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2da5;
/* rgb */ color: rgb(159, 45, 165);
/* oklch */ color: oklch(51.9% 0.201 325.8);
Tailwind
colors: {
  custom: {
    50: '#bf72c0',
    500: '#9f2da5',
    950: '#000000',
  },
}
SCSS
$custom: #9f2da5;
$custom-light: #bf72c0;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2da5",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 165
  },
  "hsl": {
    "h": 297,
    "s": 57.143,
    "l": 41.176
  },
  "oklch": {
    "l": 0.51919,
    "c": 0.20129,
    "h": 325.8
  },
  "luminance": 0.11964
}

Semantic roles & 50–950 ramp

primary
#9F2DA5
secondary
#71C16D
accent
#E0474F
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2DA5

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

Preview Lab → · Contrast checker → · Palette generator →

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