#9A4BCB#9A4BCB

#9A4BCB is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.9% C 0.196 H 310.0°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#9A4BCB
RGBrgb(154, 75, 203)
HSLhsl(277, 55%, 55%)
HSVhsv(277, 63%, 80%)
CMYKcmyk(24.1%, 63.1%, 0%, 20.4%)
CIE-LABlab(47.25, 54.48, -53.27)
CIE-LCHlch(47.25, 76.20, 315.65°)
OKLaboklab(56.89% 0.1261 -0.1502)
OKLCHoklch(56.89% 0.196 310)
XYZxyz(26.6199, 16.2145, 58.2157)
Luminance0.1621 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BCB #7CCB4B
analogous
#5A4BCB #9A4BCB #CB4BBC
triadic
#9A4BCB #CB9A4B #4BCB9A
tetradic
#9A4BCB #CB5A4B #7CCB4B #4BBCCB
square
#9A4BCB #CB5A4B #7CCB4B #4BBCCB
split-complementary
#9A4BCB #BCCB4B #4BCB5A
monochromatic
#582379 #7A31A8 #9A4BCB #B57AD9 #CFAAE6

Accessibility & contrast

On white

4.95
#9A4BCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#9A4BCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BCB
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BCB#FFFFFF#000000##FFFFFF
##9A4BCB1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036DCF
Deuteranopia (green-blind)
#3B71C8
Tritanopia (blue-blind)
#936484
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a4bcb;
/* rgb */ color: rgb(154, 75, 203);
/* oklch */ color: oklch(56.9% 0.196 310.0);
Tailwind
colors: {
  custom: {
    50: '#bb82db',
    500: '#9a4bcb',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bcb;
$custom-light: #bb82db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bcb",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 203
  },
  "hsl": {
    "h": 277.031,
    "s": 55.172,
    "l": 54.51
  },
  "oklch": {
    "l": 0.56887,
    "c": 0.19613,
    "h": 310
  },
  "luminance": 0.16214
}

Semantic roles & 50–950 ramp

primary
#9A4BCB
secondary
#B3D49E
accent
#DF4982
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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