#9C2EBE#9C2EBE

#9C2EBE is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.2% C 0.220 H 316.7°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#9C2EBE
RGBrgb(156, 46, 190)
HSLhsl(286, 61%, 46%)
HSVhsv(286, 76%, 75%)
CMYKcmyk(17.9%, 75.8%, 0%, 25.5%)
CIE-LABlab(42.37, 64.35, -53.56)
CIE-LCHlch(42.37, 83.72, 320.23°)
OKLaboklab(53.18% 0.1601 -0.1509)
OKLCHoklch(53.18% 0.22 316.7)
XYZxyz(23.9802, 12.7406, 49.9012)
Luminance0.1274 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EBE #50BE2E
analogous
#542EBE #9C2EBE #BE2E98
triadic
#9C2EBE #BE9C2E #2EBE9C
tetradic
#9C2EBE #BE542E #50BE2E #2E98BE
square
#9C2EBE #BE542E #50BE2E #2E98BE
split-complementary
#9C2EBE #98BE2E #2EBE54
monochromatic
#4B165B #74228D #9C2EBE #B754D6 #CC85E1

Accessibility & contrast

On white

5.92
#9C2EBE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.55
#9C2EBE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EBE
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EBE#FFFFFF#000000##FFFFFF
##9C2EBE1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC2
Deuteranopia (green-blind)
#2F67BB
Tritanopia (blue-blind)
#9A4E75
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2ebe;
/* rgb */ color: rgb(156, 46, 190);
/* oklch */ color: oklch(53.2% 0.220 316.7);
Tailwind
colors: {
  custom: {
    50: '#be73d2',
    500: '#9c2ebe',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ebe;
$custom-light: #be73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ebe",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 190
  },
  "hsl": {
    "h": 285.833,
    "s": 61.017,
    "l": 46.275
  },
  "oklch": {
    "l": 0.53183,
    "c": 0.21995,
    "h": 316.7
  },
  "luminance": 0.1274
}

Semantic roles & 50–950 ramp

primary
#9C2EBE
secondary
#8FCB7D
accent
#E4446A
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2EBE

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

Preview Lab → · Contrast checker → · Palette generator →

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