#A54DCB#A54DCB

#A54DCB is a mid, vivid purple. Relative luminance 0.176; OKLCH L 58.5% C 0.197 H 314.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A54DCB
RGBrgb(165, 77, 203)
HSLhsl(282, 55%, 55%)
HSVhsv(282, 62%, 80%)
CMYKcmyk(18.7%, 62.1%, 0%, 20.4%)
CIE-LABlab(49.03, 56.10, -50.34)
CIE-LCHlch(49.03, 75.37, 318.10°)
OKLaboklab(58.48% 0.1375 -0.1413)
OKLCHoklch(58.48% 0.197 314.2)
XYZxyz(28.9486, 17.6198, 58.3644)
Luminance0.1762 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DCB #73CB4D
analogous
#664DCB #A54DCB #CB4DB2
triadic
#A54DCB #CBA54D #4DCBA5
tetradic
#A54DCB #CB664D #73CB4D #4DB2CB
square
#A54DCB #CB664D #73CB4D #4DB2CB
split-complementary
#A54DCB #B2CB4D #4DCB66
monochromatic
#60247A #8531A9 #A54DCB #BD7CD9 #D5ACE7

Accessibility & contrast

On white

4.64
#A54DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.52
#A54DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A54DCB
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DCB#FFFFFF#000000##FFFFFF
##A54DCB1.004.644.524.64
#FFFFFF4.641.0021.001.00
#0000004.5221.001.0021.00
##FFFFFF4.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E70CF
Deuteranopia (green-blind)
#4977C8
Tritanopia (blue-blind)
#A26485
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a54dcb;
/* rgb */ color: rgb(165, 77, 203);
/* oklch */ color: oklch(58.5% 0.197 314.2);
Tailwind
colors: {
  custom: {
    50: '#c384db',
    500: '#a54dcb',
    950: '#000000',
  },
}
SCSS
$custom: #a54dcb;
$custom-light: #c384db;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dcb",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 281.905,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58477,
    "c": 0.19721,
    "h": 314.2
  },
  "luminance": 0.17619
}

Semantic roles & 50–950 ramp

primary
#A54DCB
secondary
#AFD49F
accent
#DE4A76
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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