#A154D8#A154D8

#A154D8 is a mid, vivid violet. Relative luminance 0.189; OKLCH L 59.7% C 0.199 H 308.4°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A154D8
RGBrgb(161, 84, 216)
HSLhsl(275, 63%, 59%)
HSVhsv(275, 61%, 85%)
CMYKcmyk(25.5%, 61.1%, 0%, 15.3%)
CIE-LABlab(50.54, 54.60, -55.39)
CIE-LCHlch(50.54, 77.77, 314.59°)
OKLaboklab(59.71% 0.1239 -0.1563)
OKLCHoklch(59.71% 0.199 308.4)
XYZxyz(30.2604, 18.8760, 67.0018)
Luminance0.1888 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154D8 #8BD854
analogous
#5F54D8 #A154D8 #D854CD
triadic
#A154D8 #D8A154 #54D8A1
tetradic
#A154D8 #D85F54 #8BD854 #54CDD8
square
#A154D8 #D85F54 #8BD854 #54CDD8
split-complementary
#A154D8 #CDD854 #54D85F
monochromatic
#622191 #842CC2 #A154D8 #BC86E3 #D8B8EF

Accessibility & contrast

On white

4.40
#A154D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A154D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A154D8
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154D8#FFFFFF#000000##000000
##A154D81.004.404.784.78
#FFFFFF4.401.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#1475DC
Deuteranopia (green-blind)
#4079D5
Tritanopia (blue-blind)
#996E8E
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a154d8;
/* rgb */ color: rgb(161, 84, 216);
/* oklch */ color: oklch(59.7% 0.199 308.4);
Tailwind
colors: {
  custom: {
    50: '#c088e5',
    500: '#a154d8',
    950: '#000000',
  },
}
SCSS
$custom: #a154d8;
$custom-light: #c088e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a154d8",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 275,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.59713,
    "c": 0.19942,
    "h": 308.4
  },
  "luminance": 0.18876
}

Semantic roles & 50–950 ramp

primary
#A154D8
secondary
#C0DEAA
accent
#E64286
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A154D8

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

Preview Lab → · Contrast checker → · Palette generator →

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