#9C4BDD#9C4BDD

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

Color values

HEX#9C4BDD
RGBrgb(156, 75, 221)
HSLhsl(273, 68%, 58%)
HSVhsv(273, 66%, 87%)
CMYKcmyk(29.4%, 66.1%, 0%, 13.3%)
CIE-LABlab(48.66, 58.95, -61.29)
CIE-LCHlch(48.66, 85.04, 313.89°)
OKLaboklab(58.32% 0.1274 -0.1737)
OKLCHoklch(58.32% 0.215 306.3)
XYZxyz(29.2747, 17.3208, 70.1936)
Luminance0.1732 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BDD #8CDD4B
analogous
#534BDD #9C4BDD #DD4BD5
triadic
#9C4BDD #DD9C4B #4BDD9C
tetradic
#9C4BDD #DD534B #8CDD4B #4BD5DD
square
#9C4BDD #DD534B #8CDD4B #4BD5DD
split-complementary
#9C4BDD #D5DD4B #4BDD53
monochromatic
#5D1C92 #7E25C5 #9C4BDD #B87EE7 #D5B2F0

Accessibility & contrast

On white

4.70
#9C4BDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#9C4BDD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BDD
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BDD#FFFFFF#000000##FFFFFF
##9C4BDD1.004.704.464.70
#FFFFFF4.701.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c4bdd;
/* rgb */ color: rgb(156, 75, 221);
/* oklch */ color: oklch(58.3% 0.215 306.3);
Tailwind
colors: {
  custom: {
    50: '#be83e8',
    500: '#9c4bdd',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bdd;
$custom-light: #be83e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bdd",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 221
  },
  "hsl": {
    "h": 273.288,
    "s": 68.224,
    "l": 58.039
  },
  "oklch": {
    "l": 0.58323,
    "c": 0.21544,
    "h": 306.3
  },
  "luminance": 0.17321
}

Semantic roles & 50–950 ramp

primary
#9C4BDD
secondary
#BFDFA5
accent
#EB3D8A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4BDD

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

Preview Lab → · Contrast checker → · Palette generator →

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