#9F2BB3#9F2BB3

#9F2BB3 is a mid, highly saturated purple. Relative luminance 0.124; OKLCH L 52.6% C 0.215 H 321.2°. Best body text is #FFFFFF at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#9F2BB3
RGBrgb(159, 43, 179)
HSLhsl(291, 61%, 44%)
HSVhsv(291, 76%, 70%)
CMYKcmyk(11.2%, 76%, 0%, 29.8%)
CIE-LABlab(41.77, 63.89, -48.02)
CIE-LCHlch(41.77, 79.93, 323.07°)
OKLaboklab(52.63% 0.1675 -0.1345)
OKLCHoklch(52.63% 0.215 321.2)
XYZxyz(23.2977, 12.3546, 43.7966)
Luminance0.1235 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BB3 #3FB32B
analogous
#5B2BB3 #9F2BB3 #B32B83
triadic
#9F2BB3 #B39F2B #2BB39F
tetradic
#9F2BB3 #B35B2B #3FB32B #2B83B3
square
#9F2BB3 #B35B2B #3FB32B #2B83B3
split-complementary
#9F2BB3 #83B32B #2BB35B
monochromatic
#471350 #731F82 #9F2BB3 #BF48D3 #D079DF

Accessibility & contrast

On white

6.05
#9F2BB3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#9F2BB3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BB3
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BB3#FFFFFF#000000##FFFFFF
##9F2BB31.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB7
Deuteranopia (green-blind)
#3C67B0
Tritanopia (blue-blind)
#A0466E
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #9f2bb3;
/* rgb */ color: rgb(159, 43, 179);
/* oklch */ color: oklch(52.6% 0.215 321.2);
Tailwind
colors: {
  custom: {
    50: '#bf71ca',
    500: '#9f2bb3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bb3;
$custom-light: #bf71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bb3",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 179
  },
  "hsl": {
    "h": 291.176,
    "s": 61.261,
    "l": 43.529
  },
  "oklch": {
    "l": 0.52627,
    "c": 0.21485,
    "h": 321.2
  },
  "luminance": 0.12353
}

Semantic roles & 50–950 ramp

primary
#9F2BB3
secondary
#7FC773
accent
#E4435B
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2BB3

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

Preview Lab → · Contrast checker → · Palette generator →

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