#9C4BE2#9C4BE2

#9C4BE2 is a mid, highly saturated violet. Relative luminance 0.176; OKLCH L 58.7% C 0.221 H 305.1°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).

Color values

HEX#9C4BE2
RGBrgb(156, 75, 226)
HSLhsl(272, 72%, 59%)
HSVhsv(272, 67%, 89%)
CMYKcmyk(31%, 66.8%, 0%, 11.4%)
CIE-LABlab(49.00, 60.09, -63.58)
CIE-LCHlch(49.00, 87.48, 313.38°)
OKLaboklab(58.67% 0.1269 -0.1805)
OKLCHoklch(58.67% 0.221 305.1)
XYZxyz(29.9508, 17.5912, 73.7544)
Luminance0.1759 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BE2 #91E24B
analogous
#514BE2 #9C4BE2 #E24BDD
triadic
#9C4BE2 #E29C4B #4BE29C
tetradic
#9C4BE2 #E2514B #91E24B #4BDDE2
square
#9C4BE2 #E2514B #91E24B #4BDDE2
split-complementary
#9C4BE2 #DDE24B #4BE251
monochromatic
#5E199A #7E21CF #9C4BE2 #B980EA #D6B4F3

Accessibility & contrast

On white

4.65
#9C4BE2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#9C4BE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BE2
4.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BE2#FFFFFF#000000##FFFFFF
##9C4BE21.004.654.524.65
#FFFFFF4.651.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0072E7
Deuteranopia (green-blind)
#1875DF
Tritanopia (blue-blind)
#8F6D91
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #9c4be2;
/* rgb */ color: rgb(156, 75, 226);
/* oklch */ color: oklch(58.7% 0.221 305.1);
Tailwind
colors: {
  custom: {
    50: '#be83ec',
    500: '#9c4be2',
    950: '#000000',
  },
}
SCSS
$custom: #9c4be2;
$custom-light: #be83ec;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4be2",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 226
  },
  "hsl": {
    "h": 272.185,
    "s": 72.249,
    "l": 59.02
  },
  "oklch": {
    "l": 0.5867,
    "c": 0.22062,
    "h": 305.1
  },
  "luminance": 0.17591
}

Semantic roles & 50–950 ramp

primary
#9C4BE2
secondary
#C2E2A7
accent
#EF398D
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4BE2

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

Preview Lab → · Contrast checker → · Palette generator →

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