#9A4BCA#9A4BCA

#9A4BCA is a mid, vivid violet. Relative luminance 0.162; OKLCH L 56.8% C 0.195 H 310.3°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#9A4BCA
RGBrgb(154, 75, 202)
HSLhsl(277, 55%, 54%)
HSVhsv(277, 63%, 79%)
CMYKcmyk(23.8%, 62.9%, 0%, 20.8%)
CIE-LABlab(47.19, 54.26, -52.79)
CIE-LCHlch(47.19, 75.71, 315.79°)
OKLaboklab(56.82% 0.1261 -0.1488)
OKLCHoklch(56.82% 0.195 310.3)
XYZxyz(26.5011, 16.1670, 57.5901)
Luminance0.1617 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4BCA #7BCA4B
analogous
#5B4BCA #9A4BCA #CA4BBA
triadic
#9A4BCA #CA9A4B #4BCA9A
tetradic
#9A4BCA #CA5B4B #7BCA4B #4BBACA
square
#9A4BCA #CA5B4B #7BCA4B #4BBACA
split-complementary
#9A4BCA #BACA4B #4BCA5B
monochromatic
#582377 #7A31A7 #9A4BCA #B57AD8 #CFAAE6

Accessibility & contrast

On white

4.96
#9A4BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#9A4BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4BCA
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4BCA#FFFFFF#000000##FFFFFF
##9A4BCA1.004.964.234.96
#FFFFFF4.961.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076CCE
Deuteranopia (green-blind)
#3C71C7
Tritanopia (blue-blind)
#946484
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #9a4bca;
/* rgb */ color: rgb(154, 75, 202);
/* oklch */ color: oklch(56.8% 0.195 310.3);
Tailwind
colors: {
  custom: {
    50: '#bb82db',
    500: '#9a4bca',
    950: '#000000',
  },
}
SCSS
$custom: #9a4bca;
$custom-light: #bb82db;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4bca",
  "rgb": {
    "r": 154,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 277.323,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.56822,
    "c": 0.19509,
    "h": 310.3
  },
  "luminance": 0.16166
}

Semantic roles & 50–950 ramp

primary
#9A4BCA
secondary
#B2D39D
accent
#DE4A82
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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