#9C4AE6#9C4AE6

#9C4AE6 is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.8% C 0.226 H 304.3°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).

Color values

HEX#9C4AE6
RGBrgb(156, 74, 230)
HSLhsl(272, 76%, 60%)
HSVhsv(272, 68%, 90%)
CMYKcmyk(32.2%, 67.8%, 0%, 9.8%)
CIE-LABlab(49.10, 61.46, -65.67)
CIE-LCHlch(49.10, 89.95, 313.10°)
OKLaboklab(58.83% 0.1275 -0.1866)
OKLCHoklch(58.83% 0.226 304.3)
XYZxyz(30.4388, 17.6788, 76.6563)
Luminance0.1768 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4AE6 #94E64A
analogous
#4E4AE6 #9C4AE6 #E64AE2
triadic
#9C4AE6 #E69C4A #4AE69C
tetradic
#9C4AE6 #E64E4A #94E64A #4AE2E6
square
#9C4AE6 #E64E4A #94E64A #4AE2E6
split-complementary
#9C4AE6 #E2E64A #4AE64E
monochromatic
#5E16A0 #7E1DD5 #9C4AE6 #B980ED #D7B6F5

Accessibility & contrast

On white

4.63
#9C4AE6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.54
#9C4AE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4AE6
4.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4AE6#FFFFFF#000000##FFFFFF
##9C4AE61.004.634.544.63
#FFFFFF4.631.0021.001.00
#0000004.5421.001.0021.00
##FFFFFF4.631.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9c4ae6;
/* rgb */ color: rgb(156, 74, 230);
/* oklch */ color: oklch(58.8% 0.226 304.3);
Tailwind
colors: {
  custom: {
    50: '#be82ef',
    500: '#9c4ae6',
    950: '#000000',
  },
}
SCSS
$custom: #9c4ae6;
$custom-light: #be82ef;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4ae6",
  "rgb": {
    "r": 156,
    "g": 74,
    "b": 230
  },
  "hsl": {
    "h": 271.538,
    "s": 75.728,
    "l": 59.608
  },
  "oklch": {
    "l": 0.58833,
    "c": 0.22598,
    "h": 304.3
  },
  "luminance": 0.17679
}

Semantic roles & 50–950 ramp

primary
#9C4AE6
secondary
#C4E4A8
accent
#F2358F
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #9C4AE6

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

Preview Lab → · Contrast checker → · Palette generator →

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