#9C4CDD#9C4CDD

#9C4CDD is a mid, highly saturated violet. Relative luminance 0.175; OKLCH L 58.4% C 0.214 H 306.2°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9C4CDD
RGBrgb(156, 76, 221)
HSLhsl(273, 68%, 58%)
HSVhsv(273, 66%, 87%)
CMYKcmyk(29.4%, 65.6%, 0%, 13.3%)
CIE-LABlab(48.83, 58.48, -61.01)
CIE-LCHlch(48.83, 84.52, 313.79°)
OKLaboklab(58.45% 0.1263 -0.1729)
OKLCHoklch(58.45% 0.214 306.2)
XYZxyz(29.3431, 17.4575, 70.2164)
Luminance0.1746 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4CDD #8DDD4C
analogous
#534CDD #9C4CDD #DD4CD6
triadic
#9C4CDD #DD9C4C #4CDD9C
tetradic
#9C4CDD #DD534C #8DDD4C #4CD6DD
square
#9C4CDD #DD534C #8DDD4C #4CD6DD
split-complementary
#9C4CDD #D6DD4C #4CDD53
monochromatic
#5D1C93 #7E26C6 #9C4CDD #B87FE7 #D5B3F1

Accessibility & contrast

On white

4.68
#9C4CDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#9C4CDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4CDD
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4CDD#FFFFFF#000000##FFFFFF
##9C4CDD1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E1
Deuteranopia (green-blind)
#2674DA
Tritanopia (blue-blind)
#916B8E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c4cdd;
/* rgb */ color: rgb(156, 76, 221);
/* oklch */ color: oklch(58.4% 0.214 306.2);
Tailwind
colors: {
  custom: {
    50: '#be83e8',
    500: '#9c4cdd',
    950: '#000000',
  },
}
SCSS
$custom: #9c4cdd;
$custom-light: #be83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4cdd",
  "rgb": {
    "r": 156,
    "g": 76,
    "b": 221
  },
  "hsl": {
    "h": 273.103,
    "s": 68.075,
    "l": 58.235
  },
  "oklch": {
    "l": 0.58445,
    "c": 0.21415,
    "h": 306.2
  },
  "luminance": 0.17457
}

Semantic roles & 50–950 ramp

primary
#9C4CDD
secondary
#BFDFA6
accent
#EB3D8B
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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