#A154E4#A154E4

#A154E4 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.5% C 0.212 H 305.5°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A154E4
RGBrgb(161, 84, 228)
HSLhsl(272, 73%, 61%)
HSVhsv(272, 63%, 89%)
CMYKcmyk(29.4%, 63.2%, 0%, 10.6%)
CIE-LABlab(51.29, 57.32, -60.98)
CIE-LCHlch(51.29, 83.69, 313.23°)
OKLaboklab(60.49% 0.1234 -0.1727)
OKLCHoklch(60.49% 0.212 305.5)
XYZxyz(31.8688, 19.5194, 75.4725)
Luminance0.1952 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154E4 #97E454
analogous
#5954E4 #A154E4 #E454DF
triadic
#A154E4 #E4A154 #54E4A1
tetradic
#A154E4 #E45954 #97E454 #54DFE4
square
#A154E4 #E45954 #97E454 #54DFE4
split-complementary
#A154E4 #DFE454 #54E459
monochromatic
#641AA4 #8422D9 #A154E4 #BE89EC #DBBEF5

Accessibility & contrast

On white

4.28
#A154E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A154E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A154E4
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154E4#FFFFFF#000000##000000
##A154E41.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0078E8
Deuteranopia (green-blind)
#317AE1
Tritanopia (blue-blind)
#957295
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a154e4;
/* rgb */ color: rgb(161, 84, 228);
/* oklch */ color: oklch(60.5% 0.212 305.5);
Tailwind
colors: {
  custom: {
    50: '#c188ed',
    500: '#a154e4',
    950: '#000000',
  },
}
SCSS
$custom: #a154e4;
$custom-light: #c188ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a154e4",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 228
  },
  "hsl": {
    "h": 272.083,
    "s": 72.727,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60493,
    "c": 0.21223,
    "h": 305.5
  },
  "luminance": 0.19519
}

Semantic roles & 50–950 ramp

primary
#A154E4
secondary
#C8E5AF
accent
#D5116C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A154E4

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

Preview Lab → · Contrast checker → · Palette generator →

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