#A54BC3#A54BC3

#A54BC3 is a mid, vivid purple. Relative luminance 0.170; OKLCH L 57.7% C 0.192 H 316.8°. Best body text is #FFFFFF at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A54BC3
RGBrgb(165, 75, 195)
HSLhsl(285, 50%, 53%)
HSVhsv(285, 62%, 76%)
CMYKcmyk(15.4%, 61.5%, 0%, 23.5%)
CIE-LABlab(48.23, 55.39, -47.01)
CIE-LCHlch(48.23, 72.65, 319.68°)
OKLaboklab(57.74% 0.14 -0.1316)
OKLCHoklch(57.74% 0.192 316.8)
XYZxyz(27.8820, 16.9727, 53.4265)
Luminance0.1697 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BC3 #69C34B
analogous
#694BC3 #A54BC3 #C34BA5
triadic
#A54BC3 #C3A54B #4BC3A5
tetradic
#A54BC3 #C3694B #69C34B #4BA5C3
square
#A54BC3 #C3694B #69C34B #4BA5C3
split-complementary
#A54BC3 #A5C34B #4BC369
monochromatic
#5C256F #82349D #A54BC3 #BC79D2 #D3A7E2

Accessibility & contrast

On white

4.78
#A54BC3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#A54BC3 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BC3
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BC3#FFFFFF#000000##FFFFFF
##A54BC31.004.784.394.78
#FFFFFF4.781.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#266DC7
Deuteranopia (green-blind)
#4D75C0
Tritanopia (blue-blind)
#A46080
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a54bc3;
/* rgb */ color: rgb(165, 75, 195);
/* oklch */ color: oklch(57.7% 0.192 316.8);
Tailwind
colors: {
  custom: {
    50: '#c383d6',
    500: '#a54bc3',
    950: '#000000',
  },
}
SCSS
$custom: #a54bc3;
$custom-light: #c383d6;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bc3",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 195
  },
  "hsl": {
    "h": 285,
    "s": 50,
    "l": 52.941
  },
  "oklch": {
    "l": 0.57744,
    "c": 0.19211,
    "h": 316.8
  },
  "luminance": 0.16972
}

Semantic roles & 50–950 ramp

primary
#A54BC3
secondary
#A8CF9B
accent
#DA4E71
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130B14
muted
#827C83

Preview Lab

Preview with #A54BC3

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

Preview Lab → · Contrast checker → · Palette generator →

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