#9C2EBC#9C2EBC

#9C2EBC is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.0% C 0.218 H 317.3°. Best body text is #FFFFFF at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#9C2EBC
RGBrgb(156, 46, 188)
HSLhsl(286, 61%, 46%)
HSVhsv(286, 76%, 74%)
CMYKcmyk(17%, 75.5%, 0%, 26.3%)
CIE-LABlab(42.24, 63.97, -52.60)
CIE-LCHlch(42.24, 82.82, 320.57°)
OKLaboklab(53.05% 0.1603 -0.148)
OKLCHoklch(53.05% 0.218 317.3)
XYZxyz(23.7631, 12.6538, 48.7579)
Luminance0.1265 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EBC #4EBC2E
analogous
#552EBC #9C2EBC #BC2E95
triadic
#9C2EBC #BC9C2E #2EBC9C
tetradic
#9C2EBC #BC552E #4EBC2E #2E95BC
square
#9C2EBC #BC552E #4EBC2E #2E95BC
split-complementary
#9C2EBC #95BC2E #2EBC55
monochromatic
#4A165A #73228B #9C2EBC #B752D5 #CC84E1

Accessibility & contrast

On white

5.95
#9C2EBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#9C2EBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EBC
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EBC#FFFFFF#000000##FFFFFF
##9C2EBC1.005.953.535.95
#FFFFFF5.951.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC0
Deuteranopia (green-blind)
#3167B9
Tritanopia (blue-blind)
#9A4D74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2ebc;
/* rgb */ color: rgb(156, 46, 188);
/* oklch */ color: oklch(53.0% 0.218 317.3);
Tailwind
colors: {
  custom: {
    50: '#bd73d1',
    500: '#9c2ebc',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ebc;
$custom-light: #bd73d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ebc",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 188
  },
  "hsl": {
    "h": 286.479,
    "s": 60.684,
    "l": 45.882
  },
  "oklch": {
    "l": 0.53047,
    "c": 0.21822,
    "h": 317.3
  },
  "luminance": 0.12653
}

Semantic roles & 50–950 ramp

primary
#9C2EBC
secondary
#8DCA7C
accent
#E44468
background
#FCF7FC
surface
#F8EDF9
border
#D1C8D2
text
#130914
muted
#827B82

Preview Lab

Preview with #9C2EBC

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

Preview Lab → · Contrast checker → · Palette generator →

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