#9C2BE2#9C2BE2

#9C2BE2 is a mid, highly saturated violet. Relative luminance 0.143; OKLCH L 55.6% C 0.254 H 307.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#9C2BE2
RGBrgb(156, 43, 226)
HSLhsl(277, 76%, 53%)
HSVhsv(277, 81%, 89%)
CMYKcmyk(31%, 81%, 0%, 11.4%)
CIE-LABlab(44.64, 72.48, -70.65)
CIE-LCHlch(44.64, 101.22, 315.73°)
OKLaboklab(55.59% 0.1551 -0.201)
OKLCHoklch(55.59% 0.254 307.6)
XYZxyz(28.2987, 14.2871, 73.2037)
Luminance0.1429 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C2BE2 #71E22B
analogous
#402BE2 #9C2BE2 #E22BCD
triadic
#9C2BE2 #E29C2B #2BE29C
tetradic
#9C2BE2 #E2402B #71E22B #2BCDE2
square
#9C2BE2 #E2402B #71E22B #2BCDE2
split-complementary
#9C2BE2 #CDE22B #2BE240
monochromatic
#561281 #7A19B7 #9C2BE2 #B561E9 #CE97F1

Accessibility & contrast

On white

5.44
#9C2BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.86
#9C2BE2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C2BE2
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C2BE2#FFFFFF#000000##FFFFFF
##9C2BE21.005.443.865.44
#FFFFFF5.441.0021.001.00
#0000003.8621.001.0021.00
##FFFFFF5.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0066E7
Deuteranopia (green-blind)
#006ADE
Tritanopia (blue-blind)
#905D89
Achromatopsia (no color)
#6A6A6A

Design tokens & code

CSS
--color: #9c2be2;
/* rgb */ color: rgb(156, 43, 226);
/* oklch */ color: oklch(55.6% 0.254 307.6);
Tailwind
colors: {
  custom: {
    50: '#c073ec',
    500: '#9c2be2',
    950: '#000000',
  },
}
SCSS
$custom: #9c2be2;
$custom-light: #c073ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c2be2",
  "rgb": {
    "r": 156,
    "g": 43,
    "b": 226
  },
  "hsl": {
    "h": 277.049,
    "s": 75.934,
    "l": 52.745
  },
  "oklch": {
    "l": 0.55594,
    "c": 0.25388,
    "h": 307.6
  },
  "luminance": 0.14287
}

Semantic roles & 50–950 ramp

primary
#9C2BE2
secondary
#ABDC8D
accent
#F3357E
background
#FCF7FE
surface
#F8EDFD
border
#D1C8D5
text
#130916
muted
#827B84

Preview Lab

Preview with #9C2BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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