#9F2DB3#9F2DB3

#9F2DB3 is a mid, highly saturated purple. Relative luminance 0.125; OKLCH L 52.8% C 0.213 H 321.2°. Best body text is #FFFFFF at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#9F2DB3
RGBrgb(159, 45, 179)
HSLhsl(291, 60%, 44%)
HSVhsv(291, 75%, 70%)
CMYKcmyk(11.2%, 74.9%, 0%, 29.8%)
CIE-LABlab(42.01, 63.23, -47.65)
CIE-LCHlch(42.01, 79.17, 322.99°)
OKLaboklab(52.79% 0.1658 -0.1334)
OKLCHoklch(52.79% 0.213 321.2)
XYZxyz(23.3722, 12.5036, 43.8214)
Luminance0.1250 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2DB3 #41B32D
analogous
#5C2DB3 #9F2DB3 #B32D84
triadic
#9F2DB3 #B39F2D #2DB39F
tetradic
#9F2DB3 #B35C2D #41B32D #2D84B3
square
#9F2DB3 #B35C2D #41B32D #2D84B3
split-complementary
#9F2DB3 #84B32D #2DB35C
monochromatic
#481451 #742182 #9F2DB3 #BE4BD2 #D07CDE

Accessibility & contrast

On white

6.00
#9F2DB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.50
#9F2DB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2DB3
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2DB3#FFFFFF#000000##FFFFFF
##9F2DB31.006.003.506.00
#FFFFFF6.001.0021.001.00
#0000003.5021.001.0021.00
##FFFFFF6.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005BB7
Deuteranopia (green-blind)
#3D67B0
Tritanopia (blue-blind)
#A0476E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2db3;
/* rgb */ color: rgb(159, 45, 179);
/* oklch */ color: oklch(52.8% 0.213 321.2);
Tailwind
colors: {
  custom: {
    50: '#bf72ca',
    500: '#9f2db3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2db3;
$custom-light: #bf72ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2db3",
  "rgb": {
    "r": 159,
    "g": 45,
    "b": 179
  },
  "hsl": {
    "h": 291.045,
    "s": 59.821,
    "l": 43.922
  },
  "oklch": {
    "l": 0.52791,
    "c": 0.2128,
    "h": 321.2
  },
  "luminance": 0.12502
}

Semantic roles & 50–950 ramp

primary
#9F2DB3
secondary
#81C775
accent
#E3455C
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2DB3

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

Preview Lab → · Contrast checker → · Palette generator →

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