#9C4BD9#9C4BD9

#9C4BD9 is a mid, highly saturated violet. Relative luminance 0.171; OKLCH L 58.1% C 0.211 H 307.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#9C4BD9
RGBrgb(156, 75, 217)
HSLhsl(274, 65%, 57%)
HSVhsv(274, 65%, 85%)
CMYKcmyk(28.1%, 65.4%, 0%, 14.9%)
CIE-LABlab(48.40, 58.05, -59.43)
CIE-LCHlch(48.40, 83.08, 314.32°)
OKLaboklab(58.05% 0.1278 -0.1683)
OKLCHoklch(58.05% 0.211 307.2)
XYZxyz(28.7481, 17.1102, 67.4203)
Luminance0.1711 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BD9 #88D94B
analogous
#554BD9 #9C4BD9 #D94BCF
triadic
#9C4BD9 #D99C4B #4BD99C
tetradic
#9C4BD9 #D9554B #88D94B #4BCFD9
square
#9C4BD9 #D9554B #88D94B #4BCFD9
split-complementary
#9C4BD9 #CFD94B #4BD955
monochromatic
#5D1E8C #7E28BF #9C4BD9 #B87EE4 #D4B0EE

Accessibility & contrast

On white

4.75
#9C4BD9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#9C4BD9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BD9
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BD9#FFFFFF#000000##FFFFFF
##9C4BD91.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0070DD
Deuteranopia (green-blind)
#2B74D6
Tritanopia (blue-blind)
#92698C
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #9c4bd9;
/* rgb */ color: rgb(156, 75, 217);
/* oklch */ color: oklch(58.1% 0.211 307.2);
Tailwind
colors: {
  custom: {
    50: '#be82e5',
    500: '#9c4bd9',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bd9;
$custom-light: #be82e5;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bd9",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 217
  },
  "hsl": {
    "h": 274.225,
    "s": 65.138,
    "l": 57.255
  },
  "oklch": {
    "l": 0.58051,
    "c": 0.21129,
    "h": 307.2
  },
  "luminance": 0.1711
}

Semantic roles & 50–950 ramp

primary
#9C4BD9
secondary
#BCDDA3
accent
#E84088
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #9C4BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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