#9A4CBC#9A4CBC

#9A4CBC is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.1% C 0.179 H 314.3°. Best body text is #FFFFFF at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#9A4CBC
RGBrgb(154, 76, 188)
HSLhsl(282, 46%, 52%)
HSVhsv(282, 60%, 74%)
CMYKcmyk(18.1%, 59.6%, 0%, 26.3%)
CIE-LABlab(46.54, 50.74, -45.73)
CIE-LCHlch(46.54, 68.30, 317.97°)
OKLaboklab(56.08% 0.125 -0.1281)
OKLCHoklch(56.08% 0.179 314.3)
XYZxyz(24.9865, 15.6705, 49.2757)
Luminance0.1567 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CBC #6EBC4C
analogous
#624CBC #9A4CBC #BC4CA6
triadic
#9A4CBC #BC9A4C #4CBC9A
tetradic
#9A4CBC #BC624C #6EBC4C #4CA6BC
square
#9A4CBC #BC624C #6EBC4C #4CA6BC
split-complementary
#9A4CBC #A6BC4C #4CBC62
monochromatic
#532767 #783794 #9A4CBC #B379CD #CCA5DD

Accessibility & contrast

On white

5.08
#9A4CBC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.13
#9A4CBC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CBC
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CBC#FFFFFF#000000##FFFFFF
##9A4CBC1.005.084.135.08
#FFFFFF5.081.0021.001.00
#0000004.1321.001.0021.00
##FFFFFF5.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296AC0
Deuteranopia (green-blind)
#4970B9
Tritanopia (blue-blind)
#97607D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #9a4cbc;
/* rgb */ color: rgb(154, 76, 188);
/* oklch */ color: oklch(56.1% 0.179 314.3);
Tailwind
colors: {
  custom: {
    50: '#bb82d1',
    500: '#9a4cbc',
    950: '#000000',
  },
}
SCSS
$custom: #9a4cbc;
$custom-light: #bb82d1;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4cbc",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 188
  },
  "hsl": {
    "h": 281.786,
    "s": 45.528,
    "l": 51.765
  },
  "oklch": {
    "l": 0.5608,
    "c": 0.17903,
    "h": 314.3
  },
  "luminance": 0.1567
}

Semantic roles & 50–950 ramp

primary
#9A4CBC
secondary
#A8CA99
accent
#D5537A
background
#FBF8FC
surface
#F7EFF9
border
#D0CAD2
text
#120B14
muted
#817C82

Preview Lab

Preview with #9A4CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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