#A54CCB#A54CCB

#A54CCB is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.4% C 0.199 H 314.3°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#A54CCB
RGBrgb(165, 76, 203)
HSLhsl(282, 55%, 55%)
HSVhsv(282, 63%, 80%)
CMYKcmyk(18.7%, 62.6%, 0%, 20.4%)
CIE-LABlab(48.86, 56.57, -50.62)
CIE-LCHlch(48.86, 75.91, 318.18°)
OKLaboklab(58.35% 0.1387 -0.1421)
OKLCHoklch(58.35% 0.199 314.3)
XYZxyz(28.8792, 17.4809, 58.3412)
Luminance0.1748 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CCB #72CB4C
analogous
#664CCB #A54CCB #CB4CB2
triadic
#A54CCB #CBA54C #4CCBA5
tetradic
#A54CCB #CB664C #72CB4C #4CB2CB
square
#A54CCB #CB664C #72CB4C #4CB2CB
split-complementary
#A54CCB #B2CB4C #4CCB66
monochromatic
#602379 #8531A9 #A54CCB #BD7BD9 #D5ABE7

Accessibility & contrast

On white

4.67
#A54CCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#A54CCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A54CCB
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CCB#FFFFFF#000000##FFFFFF
##A54CCB1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B6FCF
Deuteranopia (green-blind)
#4876C8
Tritanopia (blue-blind)
#A26385
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a54ccb;
/* rgb */ color: rgb(165, 76, 203);
/* oklch */ color: oklch(58.4% 0.199 314.3);
Tailwind
colors: {
  custom: {
    50: '#c383db',
    500: '#a54ccb',
    950: '#000000',
  },
}
SCSS
$custom: #a54ccb;
$custom-light: #c383db;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ccb",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 203
  },
  "hsl": {
    "h": 282.047,
    "s": 54.978,
    "l": 54.706
  },
  "oklch": {
    "l": 0.58353,
    "c": 0.19862,
    "h": 314.3
  },
  "luminance": 0.1748
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A54CCB

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

Preview Lab → · Contrast checker → · Palette generator →

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