#A154E9#A154E9

#A154E9 is a mid, highly saturated violet. Relative luminance 0.198; OKLCH L 60.8% C 0.218 H 304.4°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A154E9
RGBrgb(161, 84, 233)
HSLhsl(271, 77%, 62%)
HSVhsv(271, 64%, 91%)
CMYKcmyk(30.9%, 63.9%, 0%, 8.6%)
CIE-LABlab(51.61, 58.47, -63.28)
CIE-LCHlch(51.61, 86.16, 312.74°)
OKLaboklab(60.83% 0.123 -0.1794)
OKLCHoklch(60.83% 0.218 304.4)
XYZxyz(32.5730, 19.8010, 79.1810)
Luminance0.1980 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154E9 #9CE954
analogous
#5754E9 #A154E9 #E954E6
triadic
#A154E9 #E9A154 #54E9A1
tetradic
#A154E9 #E95754 #9CE954 #54E6E9
square
#A154E9 #E95754 #9CE954 #54E6E9
split-complementary
#A154E9 #E6E954 #54E957
monochromatic
#6416AC #831EE2 #A154E9 #BF8AF0 #DDC0F7

Accessibility & contrast

On white

4.23
#A154E9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A154E9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A154E9
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154E9#FFFFFF#000000##000000
##A154E91.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EE
Deuteranopia (green-blind)
#287BE6
Tritanopia (blue-blind)
#947497
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a154e9;
/* rgb */ color: rgb(161, 84, 233);
/* oklch */ color: oklch(60.8% 0.218 304.4);
Tailwind
colors: {
  custom: {
    50: '#c188f1',
    500: '#a154e9',
    950: '#000000',
  },
}
SCSS
$custom: #a154e9;
$custom-light: #c188f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a154e9",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 233
  },
  "hsl": {
    "h": 271.007,
    "s": 77.202,
    "l": 62.157
  },
  "oklch": {
    "l": 0.60829,
    "c": 0.21756,
    "h": 304.4
  },
  "luminance": 0.19801
}

Semantic roles & 50–950 ramp

primary
#A154E9
secondary
#CBE8B1
accent
#D90C6F
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A154E9

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

Preview Lab → · Contrast checker → · Palette generator →

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