#A154E7#A154E7

#A154E7 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.215 H 304.9°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A154E7
RGBrgb(161, 84, 231)
HSLhsl(271, 75%, 62%)
HSVhsv(271, 64%, 91%)
CMYKcmyk(30.3%, 63.6%, 0%, 9.4%)
CIE-LABlab(51.48, 58.01, -62.36)
CIE-LCHlch(51.48, 85.17, 312.93°)
OKLaboklab(60.69% 0.1232 -0.1767)
OKLCHoklch(60.69% 0.215 304.9)
XYZxyz(32.2889, 19.6874, 77.6848)
Luminance0.1969 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154E7 #9AE754
analogous
#5854E7 #A154E7 #E754E3
triadic
#A154E7 #E7A154 #54E7A1
tetradic
#A154E7 #E75854 #9AE754 #54E3E7
square
#A154E7 #E75854 #9AE754 #54E3E7
split-complementary
#A154E7 #E3E754 #54E758
monochromatic
#6418A9 #831FDF #A154E7 #BF8AEF #DCBFF6

Accessibility & contrast

On white

4.25
#A154E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A154E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A154E7
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154E7#FFFFFF#000000##000000
##A154E71.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0079EC
Deuteranopia (green-blind)
#2C7BE4
Tritanopia (blue-blind)
#947396
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a154e7;
/* rgb */ color: rgb(161, 84, 231);
/* oklch */ color: oklch(60.7% 0.215 304.9);
Tailwind
colors: {
  custom: {
    50: '#c188ef',
    500: '#a154e7',
    950: '#000000',
  },
}
SCSS
$custom: #a154e7;
$custom-light: #c188ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a154e7",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 231
  },
  "hsl": {
    "h": 271.429,
    "s": 75.385,
    "l": 61.765
  },
  "oklch": {
    "l": 0.60694,
    "c": 0.21542,
    "h": 304.9
  },
  "luminance": 0.19687
}

Semantic roles & 50–950 ramp

primary
#A154E7
secondary
#CAE7B0
accent
#D80E6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A154E7

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

Preview Lab → · Contrast checker → · Palette generator →

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