#A54BCA#A54BCA

#A54BCA is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.2% C 0.199 H 314.7°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#A54BCA
RGBrgb(165, 75, 202)
HSLhsl(283, 55%, 54%)
HSVhsv(283, 63%, 79%)
CMYKcmyk(18.3%, 62.9%, 0%, 20.8%)
CIE-LABlab(48.63, 56.83, -50.41)
CIE-LCHlch(48.63, 75.96, 318.43°)
OKLaboklab(58.17% 0.1399 -0.1415)
OKLCHoklch(58.17% 0.199 314.7)
XYZxyz(28.6921, 17.2967, 57.6928)
Luminance0.1730 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54BCA #70CA4B
analogous
#664BCA #A54BCA #CA4BAF
triadic
#A54BCA #CAA54B #4BCAA5
tetradic
#A54BCA #CA664B #70CA4B #4BAFCA
square
#A54BCA #CA664B #70CA4B #4BAFCA
split-complementary
#A54BCA #AFCA4B #4BCA66
monochromatic
#5F2377 #8431A7 #A54BCA #BD7AD8 #D4AAE6

Accessibility & contrast

On white

4.71
#A54BCA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#A54BCA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A54BCA
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54BCA#FFFFFF#000000##FFFFFF
##A54BCA1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A6ECE
Deuteranopia (green-blind)
#4876C7
Tritanopia (blue-blind)
#A26284
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a54bca;
/* rgb */ color: rgb(165, 75, 202);
/* oklch */ color: oklch(58.2% 0.199 314.7);
Tailwind
colors: {
  custom: {
    50: '#c383db',
    500: '#a54bca',
    950: '#000000',
  },
}
SCSS
$custom: #a54bca;
$custom-light: #c383db;
$custom-dark: #000000;
JSON
{
  "hex": "#a54bca",
  "rgb": {
    "r": 165,
    "g": 75,
    "b": 202
  },
  "hsl": {
    "h": 282.52,
    "s": 54.506,
    "l": 54.314
  },
  "oklch": {
    "l": 0.58169,
    "c": 0.19902,
    "h": 314.7
  },
  "luminance": 0.17296
}

Semantic roles & 50–950 ramp

primary
#A54BCA
secondary
#ADD39D
accent
#DE4A75
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54BCA

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

Preview Lab → · Contrast checker → · Palette generator →

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