#A54DBF#A54DBF

#A54DBF is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.8% C 0.185 H 317.9°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A54DBF
RGBrgb(165, 77, 191)
HSLhsl(286, 47%, 53%)
HSVhsv(286, 60%, 75%)
CMYKcmyk(13.6%, 59.7%, 0%, 25.1%)
CIE-LABlab(48.35, 53.63, -44.50)
CIE-LCHlch(48.35, 69.69, 320.32°)
OKLaboklab(57.76% 0.1374 -0.1243)
OKLCHoklch(57.76% 0.185 317.9)
XYZxyz(27.5736, 17.0698, 51.1225)
Luminance0.1707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DBF #67BF4D
analogous
#6C4DBF #A54DBF #BF4DA0
triadic
#A54DBF #BFA54D #4DBFA5
tetradic
#A54DBF #BF6C4D #67BF4D #4DA0BF
square
#A54DBF #BF6C4D #67BF4D #4DA0BF
split-complementary
#A54DBF #A0BF4D #4DBF6C
monochromatic
#5B276B #823798 #A54DBF #BC7ACF #D3A7DF

Accessibility & contrast

On white

4.76
#A54DBF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#A54DBF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54DBF
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DBF#FFFFFF#000000##FFFFFF
##A54DBF1.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6DC3
Deuteranopia (green-blind)
#5176BC
Tritanopia (blue-blind)
#A4607F
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54dbf;
/* rgb */ color: rgb(165, 77, 191);
/* oklch */ color: oklch(57.8% 0.185 317.9);
Tailwind
colors: {
  custom: {
    50: '#c284d3',
    500: '#a54dbf',
    950: '#000000',
  },
}
SCSS
$custom: #a54dbf;
$custom-light: #c284d3;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dbf",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 191
  },
  "hsl": {
    "h": 286.316,
    "s": 47.107,
    "l": 52.549
  },
  "oklch": {
    "l": 0.5776,
    "c": 0.18526,
    "h": 317.9
  },
  "luminance": 0.17069
}

Semantic roles & 50–950 ramp

primary
#A54DBF
secondary
#A6CD9B
accent
#D75170
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54DBF

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

Preview Lab → · Contrast checker → · Palette generator →

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