#9F2DA6#9F2DA6

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

Color values

HEX#9F2DA6
RGBrgb(159, 45, 166)
HSLhsl(297, 57%, 41%)
HSVhsv(297, 73%, 65%)
CMYKcmyk(4.2%, 72.9%, 0%, 34.9%)
CIE-LABlab(41.22, 60.91, -41.19)
CIE-LCHlch(41.22, 73.53, 325.93°)
OKLaboklab(51.98% 0.1665 -0.1145)
OKLCHoklch(51.98% 0.202 325.5)
XYZxyz(22.1189, 12.0023, 37.2207)
Luminance0.1200 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DA6 #34A62D
analogous
#632DA6 #9F2DA6 #A62D71
triadic
#9F2DA6 #A69F2D #2DA69F
tetradic
#9F2DA6 #A6632D #34A62D #2D71A6
square
#9F2DA6 #A6632D #34A62D #2D71A6
split-complementary
#9F2DA6 #71A62D #2DA663
monochromatic
#431346 #712076 #9F2DA6 #C444CC #D374D9

Accessibility & contrast

On white

6.18
#9F2DA6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#9F2DA6 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DA6
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DA6#FFFFFF#000000##FFFFFF
##9F2DA61.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0858A9
Deuteranopia (green-blind)
#4766A3
Tritanopia (blue-blind)
#A34167
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #9f2da6;
/* rgb */ color: rgb(159, 45, 166);
/* oklch */ color: oklch(52.0% 0.202 325.5);
Tailwind
colors: {
  custom: {
    50: '#bf72c1',
    500: '#9f2da6',
    950: '#000000',
  },
}
SCSS
$custom: #9f2da6;
$custom-light: #bf72c1;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2da6",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 166
  },
  "hsl": {
    "h": 296.529,
    "s": 57.346,
    "l": 41.373
  },
  "oklch": {
    "l": 0.51979,
    "c": 0.20209,
    "h": 325.5
  },
  "luminance": 0.12001
}

Semantic roles & 50–950 ramp

primary
#9F2DA6
secondary
#73C16E
accent
#E14750
background
#FCF7FB
surface
#F8EDF7
border
#D1C8D0
text
#130912
muted
#827B81

Preview Lab

Preview with #9F2DA6

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

Preview Lab → · Contrast checker → · Palette generator →

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