#9C2ECB#9C2ECB

#9C2ECB is a mid, highly saturated purple. Relative luminance 0.133; OKLCH L 54.1% C 0.231 H 313.1°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).

Color values

HEX#9C2ECB
RGBrgb(156, 46, 203)
HSLhsl(282, 63%, 49%)
HSVhsv(282, 77%, 80%)
CMYKcmyk(23.2%, 77.3%, 0%, 20.4%)
CIE-LABlab(43.26, 66.89, -59.69)
CIE-LCHlch(43.26, 89.65, 318.26°)
OKLaboklab(54.1% 0.158 -0.1688)
OKLCHoklch(54.1% 0.231 313.1)
XYZxyz(25.4649, 13.3345, 57.7207)
Luminance0.1333 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2ECB #5DCB2E
analogous
#4E2ECB #9C2ECB #CB2EAC
triadic
#9C2ECB #CB9C2E #2ECB9C
tetradic
#9C2ECB #CB4E2E #5DCB2E #2EACCB
square
#9C2ECB #CB4E2E #5DCB2E #2EACCB
split-complementary
#9C2ECB #ACCB2E #2ECB4E
monochromatic
#4F1767 #762399 #9C2ECB #B45CDA #CB8EE5

Accessibility & contrast

On white

5.73
#9C2ECB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.67
#9C2ECB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2ECB
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2ECB#FFFFFF#000000##FFFFFF
##9C2ECB1.005.733.675.73
#FFFFFF5.731.0021.001.00
#0000003.6721.001.0021.00
##FFFFFF5.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0061CF
Deuteranopia (green-blind)
#1968C8
Tritanopia (blue-blind)
#97537C
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #9c2ecb;
/* rgb */ color: rgb(156, 46, 203);
/* oklch */ color: oklch(54.1% 0.231 313.1);
Tailwind
colors: {
  custom: {
    50: '#be73dc',
    500: '#9c2ecb',
    950: '#000000',
  },
}
SCSS
$custom: #9c2ecb;
$custom-light: #be73dc;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2ecb",
  "rgb": {
    "r": 156,
    "g": 46,
    "b": 203
  },
  "hsl": {
    "h": 282.038,
    "s": 63.052,
    "l": 48.824
  },
  "oklch": {
    "l": 0.54096,
    "c": 0.23123,
    "h": 313.1
  },
  "luminance": 0.13334
}

Semantic roles & 50–950 ramp

primary
#9C2ECB
secondary
#9BD085
accent
#E64273
background
#FCF7FD
surface
#F8EDFB
border
#D1C8D4
text
#130915
muted
#827B83

Preview Lab

Preview with #9C2ECB

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

Preview Lab → · Contrast checker → · Palette generator →

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