#9C4FDD#9C4FDD

#9C4FDD is a mid, highly saturated violet. Relative luminance 0.179; OKLCH L 58.8% C 0.210 H 305.8°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#9C4FDD
RGBrgb(156, 79, 221)
HSLhsl(273, 68%, 59%)
HSVhsv(273, 64%, 87%)
CMYKcmyk(29.4%, 64.3%, 0%, 13.3%)
CIE-LABlab(49.35, 57.05, -60.18)
CIE-LCHlch(49.35, 82.92, 313.47°)
OKLaboklab(58.82% 0.123 -0.1705)
OKLCHoklch(58.82% 0.21 305.8)
XYZxyz(29.5546, 17.8806, 70.2869)
Luminance0.1788 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FDD #90DD4F
analogous
#554FDD #9C4FDD #DD4FD7
triadic
#9C4FDD #DD9C4F #4FDD9C
tetradic
#9C4FDD #DD554F #90DD4F #4FD7DD
square
#9C4FDD #DD554F #90DD4F #4FD7DD
split-complementary
#9C4FDD #D7DD4F #4FDD55
monochromatic
#5E1D95 #7E27C8 #9C4FDD #B982E7 #D6B6F1

Accessibility & contrast

On white

4.59
#9C4FDD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#9C4FDD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FDD
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FDD#FFFFFF#000000##FFFFFF
##9C4FDD1.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073E1
Deuteranopia (green-blind)
#2B76DA
Tritanopia (blue-blind)
#916D8F
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c4fdd;
/* rgb */ color: rgb(156, 79, 221);
/* oklch */ color: oklch(58.8% 0.210 305.8);
Tailwind
colors: {
  custom: {
    50: '#be85e8',
    500: '#9c4fdd',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fdd;
$custom-light: #be85e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fdd",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 221
  },
  "hsl": {
    "h": 272.535,
    "s": 67.619,
    "l": 58.824
  },
  "oklch": {
    "l": 0.58819,
    "c": 0.21022,
    "h": 305.8
  },
  "luminance": 0.1788
}

Semantic roles & 50–950 ramp

primary
#9C4FDD
secondary
#C2E0A8
accent
#EA3D8D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4FDD

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

Preview Lab → · Contrast checker → · Palette generator →

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