#9C2EBD#9C2EBD

#9C2EBD is a mid, highly saturated purple. Relative luminance 0.127; OKLCH L 53.1% C 0.219 H 317.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#9C2EBD
RGBrgb(156, 46, 189)
HSLhsl(286, 61%, 46%)
HSVhsv(286, 76%, 74%)
CMYKcmyk(17.5%, 75.7%, 0%, 25.9%)
CIE-LABlab(42.30, 64.16, -53.08)
CIE-LCHlch(42.30, 83.27, 320.40°)
OKLaboklab(53.12% 0.1602 -0.1494)
OKLCHoklch(53.12% 0.219 317)
XYZxyz(23.8712, 12.6971, 49.3276)
Luminance0.1270 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2EBD #4FBD2E
analogous
#542EBD #9C2EBD #BD2E96
triadic
#9C2EBD #BD9C2E #2EBD9C
tetradic
#9C2EBD #BD542E #4FBD2E #2E96BD
square
#9C2EBD #BD542E #4FBD2E #2E96BD
split-complementary
#9C2EBD #96BD2E #2EBD54
monochromatic
#4B165B #73228C #9C2EBD #B753D5 #CC84E1

Accessibility & contrast

On white

5.93
#9C2EBD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#9C2EBD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2EBD
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2EBD#FFFFFF#000000##FFFFFF
##9C2EBD1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#005DC1
Deuteranopia (green-blind)
#3067BA
Tritanopia (blue-blind)
#9A4D74
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #9c2ebd;
/* rgb */ color: rgb(156, 46, 189);
/* oklch */ color: oklch(53.1% 0.219 317.0);
Tailwind
colors: {
  custom: {
    50: '#bd73d2',
    500: '#9c2ebd',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ebd;
$custom-light: #bd73d2;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ebd",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 189
  },
  "hsl": {
    "h": 286.154,
    "s": 60.851,
    "l": 46.078
  },
  "oklch": {
    "l": 0.53115,
    "c": 0.21908,
    "h": 317
  },
  "luminance": 0.12696
}

Semantic roles & 50–950 ramp

primary
#9C2EBD
secondary
#8ECA7C
accent
#E44469
background
#FCF7FD
surface
#F8EDFA
border
#D1C8D3
text
#130914
muted
#827B83

Preview Lab

Preview with #9C2EBD

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

Preview Lab → · Contrast checker → · Palette generator →

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