#9F2BC4#9F2BC4

#9F2BC4 is a mid, highly saturated purple. Relative luminance 0.131; OKLCH L 53.8% C 0.229 H 316.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9F2BC4
RGBrgb(159, 43, 196)
HSLhsl(285, 64%, 47%)
HSVhsv(285, 78%, 77%)
CMYKcmyk(18.9%, 78.1%, 0%, 23.1%)
CIE-LABlab(42.89, 67.05, -56.20)
CIE-LCHlch(42.89, 87.49, 320.03°)
OKLaboklab(53.77% 0.1654 -0.1585)
OKLCHoklch(53.77% 0.229 316.2)
XYZxyz(25.1242, 13.0852, 53.4161)
Luminance0.1308 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F2BC4 #50C42B
analogous
#522BC4 #9F2BC4 #C42B9D
triadic
#9F2BC4 #C49F2B #2BC49F
tetradic
#9F2BC4 #C4522B #50C42B #2B9DC4
square
#9F2BC4 #C4522B #50C42B #2B9DC4
split-complementary
#9F2BC4 #9DC42B #2BC452
monochromatic
#4E1560 #762092 #9F2BC4 #B953D9 #CD85E4

Accessibility & contrast

On white

5.81
#9F2BC4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.62
#9F2BC4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9F2BC4
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F2BC4#FFFFFF#000000##FFFFFF
##9F2BC41.005.813.625.81
#FFFFFF5.811.0021.001.00
#0000003.6221.001.0021.00
##FFFFFF5.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005FC8
Deuteranopia (green-blind)
#2968C1
Tritanopia (blue-blind)
#9C4E77
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #9f2bc4;
/* rgb */ color: rgb(159, 43, 196);
/* oklch */ color: oklch(53.8% 0.229 316.2);
Tailwind
colors: {
  custom: {
    50: '#c072d7',
    500: '#9f2bc4',
    950: '#000000',
  },
}
SCSS
$custom: #9f2bc4;
$custom-light: #c072d7;
$custom-dark: #000000;
JSON
{
  "hex": "#9f2bc4",
  "rgb": {
    "r": 159,
    "g": 43,
    "b": 196
  },
  "hsl": {
    "h": 285.49,
    "s": 64.017,
    "l": 46.863
  },
  "oklch": {
    "l": 0.53772,
    "c": 0.22905,
    "h": 316.2
  },
  "luminance": 0.13084
}

Semantic roles & 50–950 ramp

primary
#9F2BC4
secondary
#91CE7D
accent
#E74169
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9F2BC4

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

Preview Lab → · Contrast checker → · Palette generator →

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