#9C4BD5#9C4BD5

#9C4BD5 is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 57.8% C 0.207 H 308.2°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#9C4BD5
RGBrgb(156, 75, 213)
HSLhsl(275, 62%, 56%)
HSVhsv(275, 65%, 84%)
CMYKcmyk(26.8%, 64.8%, 0%, 16.5%)
CIE-LABlab(48.14, 57.15, -57.57)
CIE-LCHlch(48.14, 81.12, 314.79°)
OKLaboklab(57.78% 0.1281 -0.1628)
OKLCHoklch(57.78% 0.207 308.2)
XYZxyz(28.2342, 16.9046, 64.7134)
Luminance0.1690 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9C4BD5 #84D54B
analogous
#574BD5 #9C4BD5 #D54BC9
triadic
#9C4BD5 #D59C4B #4BD59C
tetradic
#9C4BD5 #D5574B #84D54B #4BC9D5
square
#9C4BD5 #D5574B #84D54B #4BC9D5
split-complementary
#9C4BD5 #C9D54B #4BD557
monochromatic
#5C1F86 #7E2BB8 #9C4BD5 #B77DE1 #D3AEEC

Accessibility & contrast

On white

4.79
#9C4BD5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#9C4BD5 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9C4BD5
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9C4BD5#FFFFFF#000000##FFFFFF
##9C4BD51.004.794.384.79
#FFFFFF4.791.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006FD9
Deuteranopia (green-blind)
#3173D2
Tritanopia (blue-blind)
#93688A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #9c4bd5;
/* rgb */ color: rgb(156, 75, 213);
/* oklch */ color: oklch(57.8% 0.207 308.2);
Tailwind
colors: {
  custom: {
    50: '#bd82e3',
    500: '#9c4bd5',
    950: '#000000',
  },
}
SCSS
$custom: #9c4bd5;
$custom-light: #bd82e3;
$custom-dark: #000000;
JSON
{
  "hex": "#9c4bd5",
  "rgb": {
    "r": 156,
    "g": 75,
    "b": 213
  },
  "hsl": {
    "h": 275.217,
    "s": 62.162,
    "l": 56.471
  },
  "oklch": {
    "l": 0.57782,
    "c": 0.20715,
    "h": 308.2
  },
  "luminance": 0.16904
}

Semantic roles & 50–950 ramp

primary
#9C4BD5
secondary
#B9DAA2
accent
#E54386
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#120B15
muted
#817C84

Preview Lab

Preview with #9C4BD5

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

Preview Lab → · Contrast checker → · Palette generator →

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