#9A4DCE#9A4DCE

#9A4DCE is a mid, vivid violet. Relative luminance 0.166; OKLCH L 57.3% C 0.197 H 309.0°. Best body text is #FFFFFF at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#9A4DCE
RGBrgb(154, 77, 206)
HSLhsl(276, 57%, 55%)
HSVhsv(276, 63%, 81%)
CMYKcmyk(25.2%, 62.6%, 0%, 19.2%)
CIE-LABlab(47.80, 54.18, -54.12)
CIE-LCHlch(47.80, 76.58, 315.03°)
OKLaboklab(57.34% 0.1236 -0.1527)
OKLCHoklch(57.34% 0.197 309)
XYZxyz(27.1187, 16.6345, 60.1627)
Luminance0.1663 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4DCE #81CE4D
analogous
#594DCE #9A4DCE #CE4DC1
triadic
#9A4DCE #CE9A4D #4DCE9A
tetradic
#9A4DCE #CE594D #81CE4D #4DC1CE
square
#9A4DCE #CE594D #81CE4D #4DC1CE
split-complementary
#9A4DCE #C1CE4D #4DCE59
monochromatic
#59237E #7B30AE #9A4DCE #B57DDB #D0ADE8

Accessibility & contrast

On white

4.85
#9A4DCE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.33
#9A4DCE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4DCE
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4DCE#FFFFFF#000000##FFFFFF
##9A4DCE1.004.854.334.85
#FFFFFF4.851.0021.001.00
#0000004.3321.001.0021.00
##FFFFFF4.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#036ED2
Deuteranopia (green-blind)
#3A72CB
Tritanopia (blue-blind)
#936787
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a4dce;
/* rgb */ color: rgb(154, 77, 206);
/* oklch */ color: oklch(57.3% 0.197 309.0);
Tailwind
colors: {
  custom: {
    50: '#bb83de',
    500: '#9a4dce',
    950: '#000000',
  },
}
SCSS
$custom: #9a4dce;
$custom-light: #bb83de;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4dce",
  "rgb": {
    "r": 154,
    "g": 77,
    "b": 206
  },
  "hsl": {
    "h": 275.814,
    "s": 56.828,
    "l": 55.49
  },
  "oklch": {
    "l": 0.57338,
    "c": 0.1965,
    "h": 309
  },
  "luminance": 0.16634
}

Semantic roles & 50–950 ramp

primary
#9A4DCE
secondary
#B6D6A1
accent
#E04885
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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