#9F2BC3#9F2BC3

#9F2BC3 is a mid, highly saturated purple. Relative luminance 0.130; OKLCH L 53.7% C 0.228 H 316.5°. Best body text is #FFFFFF at 5.82:1 contrast (WCAG AA passes).

Color values

HEX#9F2BC3
RGBrgb(159, 43, 195)
HSLhsl(286, 64%, 47%)
HSVhsv(286, 78%, 76%)
CMYKcmyk(18.5%, 77.9%, 0%, 23.5%)
CIE-LABlab(42.82, 66.86, -55.73)
CIE-LCHlch(42.82, 87.04, 320.19°)
OKLaboklab(53.7% 0.1655 -0.1571)
OKLCHoklch(53.7% 0.228 316.5)
XYZxyz(25.0108, 13.0399, 52.8187)
Luminance0.1304 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BC3 #4FC32B
analogous
#532BC3 #9F2BC3 #C32B9B
triadic
#9F2BC3 #C39F2B #2BC39F
tetradic
#9F2BC3 #C3532B #4FC32B #2B9BC3
square
#9F2BC3 #C3532B #4FC32B #2B9BC3
split-complementary
#9F2BC3 #9BC32B #2BC353
monochromatic
#4D155F #762091 #9F2BC3 #B952D9 #CD84E4

Accessibility & contrast

On white

5.82
#9F2BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.61
#9F2BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BC3
5.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BC3#FFFFFF#000000##FFFFFF
##9F2BC31.005.823.615.82
#FFFFFF5.821.0021.001.00
#0000003.6121.001.0021.00
##FFFFFF5.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC7
Deuteranopia (green-blind)
#2B68C0
Tritanopia (blue-blind)
#9D4E77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2bc3;
/* rgb */ color: rgb(159, 43, 195);
/* oklch */ color: oklch(53.7% 0.228 316.5);
Tailwind
colors: {
  custom: {
    50: '#c072d6',
    500: '#9f2bc3',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bc3;
$custom-light: #c072d6;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bc3",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 195
  },
  "hsl": {
    "h": 285.789,
    "s": 63.866,
    "l": 46.667
  },
  "oklch": {
    "l": 0.53702,
    "c": 0.2282,
    "h": 316.5
  },
  "luminance": 0.13039
}

Semantic roles & 50–950 ramp

primary
#9F2BC3
secondary
#90CD7D
accent
#E74168
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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