#A154DB#A154DB

#A154DB is a mid, highly saturated violet. Relative luminance 0.190; OKLCH L 59.9% C 0.203 H 307.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A154DB
RGBrgb(161, 84, 219)
HSLhsl(274, 65%, 59%)
HSVhsv(274, 62%, 86%)
CMYKcmyk(26.5%, 61.6%, 0%, 14.1%)
CIE-LABlab(50.73, 55.27, -56.80)
CIE-LCHlch(50.73, 79.25, 314.22°)
OKLaboklab(59.9% 0.1238 -0.1604)
OKLCHoklch(59.9% 0.203 307.7)
XYZxyz(30.6518, 19.0326, 69.0630)
Luminance0.1903 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A154DB #8EDB54
analogous
#5E54DB #A154DB #DB54D2
triadic
#A154DB #DBA154 #54DBA1
tetradic
#A154DB #DB5E54 #8EDB54 #54D2DB
square
#A154DB #DB5E54 #8EDB54 #54D2DB
split-complementary
#A154DB #D2DB54 #54DB5E
monochromatic
#631F95 #842AC8 #A154DB #BD87E6 #D9B9F0

Accessibility & contrast

On white

4.37
#A154DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A154DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A154DB
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A154DB#FFFFFF#000000##000000
##A154DB1.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0876DF
Deuteranopia (green-blind)
#3C7AD8
Tritanopia (blue-blind)
#986F90
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a154db;
/* rgb */ color: rgb(161, 84, 219);
/* oklch */ color: oklch(59.9% 0.203 307.7);
Tailwind
colors: {
  custom: {
    50: '#c188e7',
    500: '#a154db',
    950: '#000000',
  },
}
SCSS
$custom: #a154db;
$custom-light: #c188e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a154db",
  "rgb": {
    "r": 161,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 274.222,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.20261,
    "h": 307.7
  },
  "luminance": 0.19032
}

Semantic roles & 50–950 ramp

primary
#A154DB
secondary
#C2E0AB
accent
#E84088
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A154DB

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

Preview Lab → · Contrast checker → · Palette generator →

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