#9A54DC#9A54DC

#9A54DC is a mid, highly saturated violet. Relative luminance 0.184; OKLCH L 59.2% C 0.202 H 304.6°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#9A54DC
RGBrgb(154, 84, 220)
HSLhsl(271, 66%, 60%)
HSVhsv(271, 62%, 86%)
CMYKcmyk(30%, 61.8%, 0%, 13.7%)
CIE-LABlab(49.95, 53.92, -58.65)
CIE-LCHlch(49.95, 79.67, 312.59°)
OKLaboklab(59.18% 0.1148 -0.1661)
OKLCHoklch(59.18% 0.202 304.6)
XYZxyz(29.4122, 18.3781, 69.6941)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A54DC #96DC54
analogous
#5654DC #9A54DC #DC54DA
triadic
#9A54DC #DC9A54 #54DC9A
tetradic
#9A54DC #DC5654 #96DC54 #54DADC
square
#9A54DC #DC5654 #96DC54 #54DADC
split-complementary
#9A54DC #DADC54 #54DC56
monochromatic
#5D1F97 #7C29CA #9A54DC #B887E6 #D6BAF1

Accessibility & contrast

On white

4.49
#9A54DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#9A54DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9A54DC
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A54DC#FFFFFF#000000##000000
##9A54DC1.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E0
Deuteranopia (green-blind)
#3277D9
Tritanopia (blue-blind)
#8E7090
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #9a54dc;
/* rgb */ color: rgb(154, 84, 220);
/* oklch */ color: oklch(59.2% 0.202 304.6);
Tailwind
colors: {
  custom: {
    50: '#bc88e8',
    500: '#9a54dc',
    950: '#000000',
  },
}
SCSS
$custom: #9a54dc;
$custom-light: #bc88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#9a54dc",
  "rgb": {
    "r": 154,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 270.882,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59181,
    "c": 0.20187,
    "h": 304.6
  },
  "luminance": 0.18378
}

Semantic roles & 50–950 ramp

primary
#9A54DC
secondary
#C5E0AC
accent
#E93F91
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#120C16
muted
#817D84

Preview Lab

Preview with #9A54DC

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

Preview Lab → · Contrast checker → · Palette generator →

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