#A154DC#A154DC

#A154DC is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.0% C 0.204 H 307.4°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#A154DC
RGBrgb(161, 84, 220)
HSLhsl(274, 66%, 60%)
HSVhsv(274, 62%, 86%)
CMYKcmyk(26.8%, 61.8%, 0%, 13.7%)
CIE-LABlab(50.79, 55.50, -57.27)
CIE-LCHlch(50.79, 79.74, 314.10°)
OKLaboklab(59.97% 0.1238 -0.1618)
OKLCHoklch(59.97% 0.204 307.4)
XYZxyz(30.7839, 19.0854, 69.7584)
Luminance0.1908 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154DC #8FDC54
analogous
#5D54DC #A154DC #DC54D3
triadic
#A154DC #DCA154 #54DCA1
tetradic
#A154DC #DC5D54 #8FDC54 #54D3DC
square
#A154DC #DC5D54 #8FDC54 #54D3DC
split-complementary
#A154DC #D3DC54 #54DC5D
monochromatic
#631F97 #8429CA #A154DC #BD87E6 #D9BAF1

Accessibility & contrast

On white

4.36
#A154DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.82
#A154DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A154DC
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154DC#FFFFFF#000000##000000
##A154DC1.004.364.824.82
#FFFFFF4.361.0021.0021.00
#0000004.8221.001.001.00
##0000004.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0376E0
Deuteranopia (green-blind)
#3B7AD9
Tritanopia (blue-blind)
#986F90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a154dc;
/* rgb */ color: rgb(161, 84, 220);
/* oklch */ color: oklch(60.0% 0.204 307.4);
Tailwind
colors: {
  custom: {
    50: '#c188e8',
    500: '#a154dc',
    950: '#000000',
  },
}
SCSS
$custom: #a154dc;
$custom-light: #c188e8;
$custom-dark: #000000;
JSON
{
  "hex": "#a154dc",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 273.971,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.59969,
    "c": 0.20369,
    "h": 307.4
  },
  "luminance": 0.19085
}

Semantic roles & 50–950 ramp

primary
#A154DC
secondary
#C2E0AC
accent
#E93F89
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A154DC

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

Preview Lab → · Contrast checker → · Palette generator →

#A154DC Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva