#9C4BE6#9C4BE6

#9C4BE6 is a mid, highly saturated violet. Relative luminance 0.178; OKLCH L 59.0% C 0.225 H 304.2°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#9C4BE6
RGBrgb(156, 75, 230)
HSLhsl(271, 76%, 60%)
HSVhsv(271, 67%, 90%)
CMYKcmyk(32.2%, 67.4%, 0%, 9.8%)
CIE-LABlab(49.27, 61.00, -65.41)
CIE-LCHlch(49.27, 89.44, 313.01°)
OKLaboklab(58.95% 0.1265 -0.1858)
OKLCHoklch(58.95% 0.225 304.2)
XYZxyz(30.5061, 17.8134, 76.6788)
Luminance0.1781 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BE6 #95E64B
analogous
#4F4BE6 #9C4BE6 #E64BE2
triadic
#9C4BE6 #E69C4B #4BE69C
tetradic
#9C4BE6 #E64F4B #95E64B #4BE2E6
square
#9C4BE6 #E64F4B #95E64B #4BE2E6
split-complementary
#9C4BE6 #E2E64B #4BE64F
monochromatic
#5E16A0 #7E1ED6 #9C4BE6 #BA81ED #D7B6F5

Accessibility & contrast

On white

4.60
#9C4BE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.56
#9C4BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BE6
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BE6#FFFFFF#000000##FFFFFF
##9C4BE61.004.604.564.60
#FFFFFF4.601.0021.001.00
#0000004.5621.001.0021.00
##FFFFFF4.601.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0073EB
Deuteranopia (green-blind)
#0875E3
Tritanopia (blue-blind)
#8E6E93
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #9c4be6;
/* rgb */ color: rgb(156, 75, 230);
/* oklch */ color: oklch(59.0% 0.225 304.2);
Tailwind
colors: {
  custom: {
    50: '#be83ef',
    500: '#9c4be6',
    950: '#000000',
  },
}
SCSS
$custom: #9c4be6;
$custom-light: #be83ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4be6",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 230
  },
  "hsl": {
    "h": 271.355,
    "s": 75.61,
    "l": 59.804
  },
  "oklch": {
    "l": 0.58951,
    "c": 0.22476,
    "h": 304.2
  },
  "luminance": 0.17813
}

Semantic roles & 50–950 ramp

primary
#9C4BE6
secondary
#C5E4A8
accent
#F23690
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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