#9C2FBE#9C2FBE

#9C2FBE is a mid, highly saturated purple. Relative luminance 0.128; OKLCH L 53.3% C 0.219 H 316.6°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9C2FBE
RGBrgb(156, 47, 190)
HSLhsl(286, 60%, 46%)
HSVhsv(286, 75%, 75%)
CMYKcmyk(17.9%, 75.3%, 0%, 25.5%)
CIE-LABlab(42.49, 64.00, -53.37)
CIE-LCHlch(42.49, 83.33, 320.18°)
OKLaboklab(53.27% 0.1592 -0.1503)
OKLCHoklch(53.27% 0.219 316.6)
XYZxyz(24.0197, 12.8197, 49.9144)
Luminance0.1282 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2FBE #51BE2F
analogous
#542FBE #9C2FBE #BE2F99
triadic
#9C2FBE #BE9C2F #2FBE9C
tetradic
#9C2FBE #BE542F #51BE2F #2F99BE
square
#9C2FBE #BE542F #51BE2F #2F99BE
split-complementary
#9C2FBE #99BE2F #2FBE54
monochromatic
#4B175C #74238D #9C2FBE #B755D5 #CC86E1

Accessibility & contrast

On white

5.89
#9C2FBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#9C2FBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2FBE
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2FBE#FFFFFF#000000##FFFFFF
##9C2FBE1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005EC2
Deuteranopia (green-blind)
#3067BB
Tritanopia (blue-blind)
#9A4E75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2fbe;
/* rgb */ color: rgb(156, 47, 190);
/* oklch */ color: oklch(53.3% 0.219 316.6);
Tailwind
colors: {
  custom: {
    50: '#bd73d2',
    500: '#9c2fbe',
    950: '#000000',
  },
}
SCSS
$custom: #9c2fbe;
$custom-light: #bd73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2fbe",
  "rgb": {
    "r": 156,
    "g": 47,
    "b": 190
  },
  "hsl": {
    "h": 285.734,
    "s": 60.338,
    "l": 46.471
  },
  "oklch": {
    "l": 0.53268,
    "c": 0.21891,
    "h": 316.6
  },
  "luminance": 0.12819
}

Semantic roles & 50–950 ramp

primary
#9C2FBE
secondary
#90CB7E
accent
#E3446A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2FBE

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

Preview Lab → · Contrast checker → · Palette generator →

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