#A154E5#A154E5

#A154E5 is a mid, highly saturated violet. Relative luminance 0.196; OKLCH L 60.6% C 0.213 H 305.3°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A154E5
RGBrgb(161, 84, 229)
HSLhsl(272, 74%, 61%)
HSVhsv(272, 63%, 90%)
CMYKcmyk(29.7%, 63.3%, 0%, 10.2%)
CIE-LABlab(51.35, 57.55, -61.44)
CIE-LCHlch(51.35, 84.19, 313.12°)
OKLaboklab(60.56% 0.1233 -0.174)
OKLCHoklch(60.56% 0.213 305.3)
XYZxyz(32.0080, 19.5751, 76.2057)
Luminance0.1958 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154E5 #98E554
analogous
#5954E5 #A154E5 #E554E1
triadic
#A154E5 #E5A154 #54E5A1
tetradic
#A154E5 #E55954 #98E554 #54E1E5
square
#A154E5 #E55954 #98E554 #54E1E5
split-complementary
#A154E5 #E1E554 #54E559
monochromatic
#6419A5 #8421DB #A154E5 #BE89ED #DBBEF5

Accessibility & contrast

On white

4.27
#A154E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A154E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A154E5
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154E5#FFFFFF#000000##000000
##A154E51.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E9
Deuteranopia (green-blind)
#2F7BE2
Tritanopia (blue-blind)
#957395
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a154e5;
/* rgb */ color: rgb(161, 84, 229);
/* oklch */ color: oklch(60.6% 0.213 305.3);
Tailwind
colors: {
  custom: {
    50: '#c188ee',
    500: '#a154e5',
    950: '#000000',
  },
}
SCSS
$custom: #a154e5;
$custom-light: #c188ee;
$custom-dark: #000000;
JSON
{
  "hex": "#a154e5",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 229
  },
  "hsl": {
    "h": 271.862,
    "s": 73.604,
    "l": 61.373
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.21329,
    "h": 305.3
  },
  "luminance": 0.19575
}

Semantic roles & 50–950 ramp

primary
#A154E5
secondary
#C9E6AF
accent
#D6106D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A154E5

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

Preview Lab → · Contrast checker → · Palette generator →

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