#A54CCC#A54CCC

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

Color values

HEX#A54CCC
RGBrgb(165, 76, 204)
HSLhsl(282, 56%, 55%)
HSVhsv(282, 63%, 80%)
CMYKcmyk(19.1%, 62.7%, 0%, 20%)
CIE-LABlab(48.92, 56.78, -51.10)
CIE-LCHlch(48.92, 76.38, 318.02°)
OKLaboklab(58.41% 0.1387 -0.1435)
OKLCHoklch(58.41% 0.2 314)
XYZxyz(28.9988, 17.5287, 58.9708)
Luminance0.1753 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CCC #73CC4C
analogous
#654CCC #A54CCC #CC4CB3
triadic
#A54CCC #CCA54C #4CCCA5
tetradic
#A54CCC #CC654C #73CC4C #4CB3CC
square
#A54CCC #CC654C #73CC4C #4CB3CC
split-complementary
#A54CCC #B3CC4C #4CCC65
monochromatic
#60237B #8531AA #A54CCC #BD7CDA #D5ABE7

Accessibility & contrast

On white

4.66
#A54CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.51
#A54CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A54CCC
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CCC#FFFFFF#000000##FFFFFF
##A54CCC1.004.664.514.66
#FFFFFF4.661.0021.001.00
#0000004.5121.001.0021.00
##FFFFFF4.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#196FD0
Deuteranopia (green-blind)
#4776C9
Tritanopia (blue-blind)
#A26485
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #a54ccc;
/* rgb */ color: rgb(165, 76, 204);
/* oklch */ color: oklch(58.4% 0.200 314.0);
Tailwind
colors: {
  custom: {
    50: '#c383dc',
    500: '#a54ccc',
    950: '#000000',
  },
}
SCSS
$custom: #a54ccc;
$custom-light: #c383dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ccc",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 281.719,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.58415,
    "c": 0.19961,
    "h": 314
  },
  "luminance": 0.17528
}

Semantic roles & 50–950 ramp

primary
#A54CCC
secondary
#AFD59F
accent
#DF4977
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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