#9C4BCA#9C4BCA

#9C4BCA is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.1% C 0.196 H 311.1°. Best body text is #FFFFFF at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#9C4BCA
RGBrgb(156, 75, 202)
HSLhsl(278, 55%, 54%)
HSVhsv(278, 63%, 79%)
CMYKcmyk(22.8%, 62.9%, 0%, 20.8%)
CIE-LABlab(47.45, 54.73, -52.36)
CIE-LCHlch(47.45, 75.74, 316.26°)
OKLaboklab(57.06% 0.1287 -0.1475)
OKLCHoklch(57.06% 0.196 311.1)
XYZxyz(26.8851, 16.3650, 57.6081)
Luminance0.1636 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BCA #79CA4B
analogous
#5D4BCA #9C4BCA #CA4BB8
triadic
#9C4BCA #CA9C4B #4BCA9C
tetradic
#9C4BCA #CA5D4B #79CA4B #4BB8CA
square
#9C4BCA #CA5D4B #79CA4B #4BB8CA
split-complementary
#9C4BCA #B8CA4B #4BCA5D
monochromatic
#592377 #7C31A7 #9C4BCA #B67AD8 #D0AAE6

Accessibility & contrast

On white

4.91
#9C4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9C4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BCA
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BCA#FFFFFF#000000##FFFFFF
##9C4BCA1.004.914.274.91
#FFFFFF4.911.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0C6DCE
Deuteranopia (green-blind)
#3E72C7
Tritanopia (blue-blind)
#966484
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9c4bca;
/* rgb */ color: rgb(156, 75, 202);
/* oklch */ color: oklch(57.1% 0.196 311.1);
Tailwind
colors: {
  custom: {
    50: '#bd82db',
    500: '#9c4bca',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bca;
$custom-light: #bd82db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bca",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 278.268,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.57063,
    "c": 0.19575,
    "h": 311.1
  },
  "luminance": 0.16364
}

Semantic roles & 50–950 ramp

primary
#9C4BCA
secondary
#B1D39D
accent
#DE4A80
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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