#9F2BB2#9F2BB2

#9F2BB2 is a mid, highly saturated purple. Relative luminance 0.123; OKLCH L 52.6% C 0.214 H 321.6°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#9F2BB2
RGBrgb(159, 43, 178)
HSLhsl(292, 61%, 43%)
HSVhsv(292, 76%, 70%)
CMYKcmyk(10.7%, 75.8%, 0%, 30.2%)
CIE-LABlab(41.71, 63.71, -47.53)
CIE-LCHlch(41.71, 79.49, 323.27°)
OKLaboklab(52.56% 0.1676 -0.1331)
OKLCHoklch(52.56% 0.214 321.6)
XYZxyz(23.1969, 12.3143, 43.2659)
Luminance0.1231 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BB2 #3EB22B
analogous
#5C2BB2 #9F2BB2 #B22B81
triadic
#9F2BB2 #B29F2B #2BB29F
tetradic
#9F2BB2 #B25C2B #3EB22B #2B81B2
square
#9F2BB2 #B25C2B #3EB22B #2B81B2
split-complementary
#9F2BB2 #81B22B #2BB25C
monochromatic
#47134F #731F81 #9F2BB2 #BF48D3 #D079DF

Accessibility & contrast

On white

6.06
#9F2BB2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.46
#9F2BB2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BB2
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BB2#FFFFFF#000000##FFFFFF
##9F2BB21.006.063.466.06
#FFFFFF6.061.0021.001.00
#0000003.4621.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005AB6
Deuteranopia (green-blind)
#3D67AF
Tritanopia (blue-blind)
#A0466D
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #9f2bb2;
/* rgb */ color: rgb(159, 43, 178);
/* oklch */ color: oklch(52.6% 0.214 321.6);
Tailwind
colors: {
  custom: {
    50: '#bf71ca',
    500: '#9f2bb2',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bb2;
$custom-light: #bf71ca;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bb2",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 178
  },
  "hsl": {
    "h": 291.556,
    "s": 61.086,
    "l": 43.333
  },
  "oklch": {
    "l": 0.52562,
    "c": 0.21403,
    "h": 321.6
  },
  "luminance": 0.12313
}

Semantic roles & 50–950 ramp

primary
#9F2BB2
secondary
#7EC772
accent
#E4445A
background
#FCF7FC
surface
#F8EDF8
border
#D1C8D1
text
#130913
muted
#827B82

Preview Lab

Preview with #9F2BB2

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

Preview Lab → · Contrast checker → · Palette generator →

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