#9C4FCB#9C4FCB

#9C4FCB is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.6% C 0.191 H 310.4°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#9C4FCB
RGBrgb(156, 79, 203)
HSLhsl(277, 54%, 55%)
HSVhsv(277, 61%, 80%)
CMYKcmyk(23.2%, 61.1%, 0%, 20.4%)
CIE-LABlab(48.23, 53.00, -51.70)
CIE-LCHlch(48.23, 74.04, 315.71°)
OKLaboklab(57.65% 0.1238 -0.1456)
OKLCHoklch(57.65% 0.191 310.4)
XYZxyz(27.2837, 16.9722, 58.3270)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4FCB #7ECB4F
analogous
#5E4FCB #9C4FCB #CB4FBC
triadic
#9C4FCB #CB9C4F #4FCB9C
tetradic
#9C4FCB #CB5E4F #7ECB4F #4FBCCB
square
#9C4FCB #CB5E4F #7ECB4F #4FBCCB
split-complementary
#9C4FCB #BCCB4F #4FCB5E
monochromatic
#5A247B #7D32AA #9C4FCB #B77ED9 #D1ADE7

Accessibility & contrast

On white

4.78
#9C4FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#9C4FCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4FCB
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4FCB#FFFFFF#000000##FFFFFF
##9C4FCB1.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6FCF
Deuteranopia (green-blind)
#4174C8
Tritanopia (blue-blind)
#966786
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c4fcb;
/* rgb */ color: rgb(156, 79, 203);
/* oklch */ color: oklch(57.6% 0.191 310.4);
Tailwind
colors: {
  custom: {
    50: '#bd84db',
    500: '#9c4fcb',
    950: '#000000',
  },
}
SCSS
$custom: #9c4fcb;
$custom-light: #bd84db;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4fcb",
  "rgb": {
    "r": 156,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 277.258,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57645,
    "c": 0.19113,
    "h": 310.4
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#9C4FCB
secondary
#B5D5A1
accent
#DE4A82
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9C4FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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