#9A4DCD#9A4DCD

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

Color values

HEX#9A4DCD
RGBrgb(154, 77, 205)
HSLhsl(276, 56%, 55%)
HSVhsv(276, 62%, 80%)
CMYKcmyk(24.9%, 62.4%, 0%, 19.6%)
CIE-LABlab(47.73, 53.96, -53.65)
CIE-LCHlch(47.73, 76.09, 315.17°)
OKLaboklab(57.27% 0.1236 -0.1514)
OKLCHoklch(57.27% 0.195 309.2)
XYZxyz(26.9976, 16.5860, 59.5250)
Luminance0.1659 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A4DCD #80CD4D
analogous
#5A4DCD #9A4DCD #CD4DC0
triadic
#9A4DCD #CD9A4D #4DCD9A
tetradic
#9A4DCD #CD5A4D #80CD4D #4DC0CD
square
#9A4DCD #CD5A4D #80CD4D #4DC0CD
split-complementary
#9A4DCD #C0CD4D #4DCD5A
monochromatic
#59237D #7B30AC #9A4DCD #B57DDA #D0ADE8

Accessibility & contrast

On white

4.86
#9A4DCD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.32
#9A4DCD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #9A4DCD
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A4DCD#FFFFFF#000000##FFFFFF
##9A4DCD1.004.864.324.86
#FFFFFF4.861.0021.001.00
#0000004.3221.001.0021.00
##FFFFFF4.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#076ED1
Deuteranopia (green-blind)
#3B72CA
Tritanopia (blue-blind)
#936686
Achromatopsia (no color)
#717171

Design tokens & code

CSS
--color: #9a4dcd;
/* rgb */ color: rgb(154, 77, 205);
/* oklch */ color: oklch(57.3% 0.195 309.2);
Tailwind
colors: {
  custom: {
    50: '#bb83dd',
    500: '#9a4dcd',
    950: '#000000',
  },
}
SCSS
$custom: #9a4dcd;
$custom-light: #bb83dd;
$custom-dark: #000000;
JSON
{
  "hex": "#9a4dcd",
  "rgb": {
    "r": 154,
    "g": 77,
    "b": 205
  },
  "hsl": {
    "h": 276.094,
    "s": 56.14,
    "l": 55.294
  },
  "oklch": {
    "l": 0.57274,
    "c": 0.19543,
    "h": 309.2
  },
  "luminance": 0.16586
}

Semantic roles & 50–950 ramp

primary
#9A4DCD
secondary
#B5D6A0
accent
#DF4885
background
#FBF8FD
surface
#F7EFFB
border
#D0CAD4
text
#120B15
muted
#817C83

Preview Lab

Preview with #9A4DCD

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

Preview Lab → · Contrast checker → · Palette generator →

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