#A154C8#A154C8

#A154C8 is a mid, vivid violet. Relative luminance 0.181; OKLCH L 58.7% C 0.182 H 312.8°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A154C8
RGBrgb(161, 84, 200)
HSLhsl(280, 51%, 56%)
HSVhsv(280, 58%, 78%)
CMYKcmyk(19.5%, 58%, 0%, 21.6%)
CIE-LABlab(49.60, 51.07, -47.73)
CIE-LCHlch(49.60, 69.91, 316.93°)
OKLaboklab(58.73% 0.1239 -0.1339)
OKLCHoklch(58.73% 0.182 312.8)
XYZxyz(28.2918, 18.0886, 56.6335)
Luminance0.1809 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154C8 #7BC854
analogous
#6754C8 #A154C8 #C854B5
triadic
#A154C8 #C8A154 #54C8A1
tetradic
#A154C8 #C86754 #7BC854 #54B5C8
square
#A154C8 #C86754 #7BC854 #54B5C8
split-complementary
#A154C8 #B5C854 #54C867
monochromatic
#5E277A #8236A9 #A154C8 #BA82D7 #D4B1E6

Accessibility & contrast

On white

4.55
#A154C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A154C8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A154C8
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154C8#FFFFFF#000000##000000
##A154C81.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3072CC
Deuteranopia (green-blind)
#4E78C5
Tritanopia (blue-blind)
#9D6886
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a154c8;
/* rgb */ color: rgb(161, 84, 200);
/* oklch */ color: oklch(58.7% 0.182 312.8);
Tailwind
colors: {
  custom: {
    50: '#c088d9',
    500: '#a154c8',
    950: '#000000',
  },
}
SCSS
$custom: #a154c8;
$custom-light: #c088d9;
$custom-dark: #000000;
JSON
{
  "hex": "#a154c8",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 200
  },
  "hsl": {
    "h": 279.828,
    "s": 51.327,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58728,
    "c": 0.18237,
    "h": 312.8
  },
  "luminance": 0.18088
}

Semantic roles & 50–950 ramp

primary
#A154C8
secondary
#B4D4A4
accent
#DB4D7D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C15
muted
#827D83

Preview Lab

Preview with #A154C8

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

Preview Lab → · Contrast checker → · Palette generator →

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