#9A4CCB#9A4CCB

#9A4CCB is a mid, vivid violet. Relative luminance 0.164; OKLCH L 57.0% C 0.195 H 309.9°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#9A4CCB
RGBrgb(154, 76, 203)
HSLhsl(277, 55%, 55%)
HSVhsv(277, 63%, 80%)
CMYKcmyk(24.1%, 62.6%, 0%, 20.4%)
CIE-LABlab(47.43, 54.00, -52.98)
CIE-LCHlch(47.43, 75.65, 315.55°)
OKLaboklab(57.02% 0.1249 -0.1494)
OKLCHoklch(57.02% 0.195 309.9)
XYZxyz(26.6883, 16.3512, 58.2385)
Luminance0.1635 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4CCB #7DCB4C
analogous
#5A4CCB #9A4CCB #CB4CBD
triadic
#9A4CCB #CB9A4C #4CCB9A
tetradic
#9A4CCB #CB5A4C #7DCB4C #4CBDCB
square
#9A4CCB #CB5A4C #7DCB4C #4CBDCB
split-complementary
#9A4CCB #BDCB4C #4CCB5A
monochromatic
#582379 #7B31A9 #9A4CCB #B57BD9 #D0ABE7

Accessibility & contrast

On white

4.92
#9A4CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#9A4CCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4CCB
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4CCB#FFFFFF#000000##FFFFFF
##9A4CCB1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A6DCF
Deuteranopia (green-blind)
#3C72C8
Tritanopia (blue-blind)
#936585
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a4ccb;
/* rgb */ color: rgb(154, 76, 203);
/* oklch */ color: oklch(57.0% 0.195 309.9);
Tailwind
colors: {
  custom: {
    50: '#bb82db',
    500: '#9a4ccb',
    950: '#000000',
  },
}
SCSS
$custom: #9a4ccb;
$custom-light: #bb82db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4ccb",
  "rgb": {
    "r": 154,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 276.85,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.57015,
    "c": 0.19473,
    "h": 309.9
  },
  "luminance": 0.16351
}

Semantic roles & 50–950 ramp

primary
#9A4CCB
secondary
#B3D49F
accent
#DE4983
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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