#A154D4#A154D4

#A154D4 is a mid, vivid violet. Relative luminance 0.187; OKLCH L 59.5% C 0.195 H 309.4°. Best body text is #000000 at 4.73:1 contrast (WCAG AA passes).

Color values

HEX#A154D4
RGBrgb(161, 84, 212)
HSLhsl(276, 60%, 58%)
HSVhsv(276, 60%, 83%)
CMYKcmyk(24.1%, 60.4%, 0%, 16.9%)
CIE-LABlab(50.30, 53.70, -53.49)
CIE-LCHlch(50.30, 75.80, 315.11°)
OKLaboklab(59.46% 0.124 -0.1507)
OKLCHoklch(59.46% 0.195 309.4)
XYZxyz(29.7496, 18.6717, 64.3114)
Luminance0.1867 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154D4 #87D454
analogous
#6154D4 #A154D4 #D454C7
triadic
#A154D4 #D4A154 #54D4A1
tetradic
#A154D4 #D46154 #87D454 #54C7D4
square
#A154D4 #D46154 #87D454 #54C7D4
split-complementary
#A154D4 #C7D454 #54D461
monochromatic
#61238B #842FBC #A154D4 #BC85E0 #D7B6ED

Accessibility & contrast

On white

4.44
#A154D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.73
#A154D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A154D4
4.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154D4#FFFFFF#000000##000000
##A154D41.004.444.734.73
#FFFFFF4.441.0021.0021.00
#0000004.7321.001.001.00
##0000004.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1E74D8
Deuteranopia (green-blind)
#4479D1
Tritanopia (blue-blind)
#9A6D8C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a154d4;
/* rgb */ color: rgb(161, 84, 212);
/* oklch */ color: oklch(59.5% 0.195 309.4);
Tailwind
colors: {
  custom: {
    50: '#c088e2',
    500: '#a154d4',
    950: '#000000',
  },
}
SCSS
$custom: #a154d4;
$custom-light: #c088e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a154d4",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 276.094,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.59461,
    "c": 0.19515,
    "h": 309.4
  },
  "luminance": 0.18671
}

Semantic roles & 50–950 ramp

primary
#A154D4
secondary
#BDDBA8
accent
#E34584
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A154D4

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

Preview Lab → · Contrast checker → · Palette generator →

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