#9C4BDC#9C4BDC

#9C4BDC is a mid, highly saturated violet. Relative luminance 0.173; OKLCH L 58.3% C 0.214 H 306.5°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#9C4BDC
RGBrgb(156, 75, 220)
HSLhsl(274, 67%, 58%)
HSVhsv(274, 66%, 86%)
CMYKcmyk(29.1%, 65.9%, 0%, 13.7%)
CIE-LABlab(48.60, 58.73, -60.83)
CIE-LCHlch(48.60, 84.55, 313.99°)
OKLaboklab(58.26% 0.1275 -0.1723)
OKLCHoklch(58.26% 0.214 306.5)
XYZxyz(29.1419, 17.2677, 69.4940)
Luminance0.1727 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BDC #8BDC4B
analogous
#534BDC #9C4BDC #DC4BD4
triadic
#9C4BDC #DC9C4B #4BDC9C
tetradic
#9C4BDC #DC534B #8BDC4B #4BD4DC
square
#9C4BDC #DC534B #8BDC4B #4BD4DC
split-complementary
#9C4BDC #D4DC4B #4BDC53
monochromatic
#5D1C91 #7E26C4 #9C4BDC #B87EE6 #D4B1F0

Accessibility & contrast

On white

4.72
#9C4BDC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.45
#9C4BDC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BDC
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BDC#FFFFFF#000000##FFFFFF
##9C4BDC1.004.724.454.72
#FFFFFF4.721.0021.001.00
#0000004.4521.001.0021.00
##FFFFFF4.721.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071E0
Deuteranopia (green-blind)
#2674D9
Tritanopia (blue-blind)
#916A8D
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4bdc;
/* rgb */ color: rgb(156, 75, 220);
/* oklch */ color: oklch(58.3% 0.214 306.5);
Tailwind
colors: {
  custom: {
    50: '#be83e8',
    500: '#9c4bdc',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bdc;
$custom-light: #be83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bdc",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 220
  },
  "hsl": {
    "h": 273.517,
    "s": 67.442,
    "l": 57.843
  },
  "oklch": {
    "l": 0.58255,
    "c": 0.2144,
    "h": 306.5
  },
  "luminance": 0.17267
}

Semantic roles & 50–950 ramp

primary
#9C4BDC
secondary
#BEDEA4
accent
#EA3D8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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