#A754CC#A754CC

#A754CC is a mid, vivid purple. Relative luminance 0.189; OKLCH L 59.7% C 0.189 H 314.1°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#A754CC
RGBrgb(167, 84, 204)
HSLhsl(282, 54%, 56%)
HSVhsv(282, 59%, 80%)
CMYKcmyk(18.1%, 58.8%, 0%, 20%)
CIE-LABlab(50.59, 53.42, -48.41)
CIE-LCHlch(50.59, 72.10, 317.82°)
OKLaboklab(59.68% 0.1314 -0.1357)
OKLCHoklch(59.68% 0.189 314.1)
XYZxyz(30.0040, 18.9167, 59.1858)
Luminance0.1892 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754CC #79CC54
analogous
#6B54CC #A754CC #CC54B5
triadic
#A754CC #CCA754 #54CCA7
tetradic
#A754CC #CC6B54 #79CC54 #54B5CC
square
#A754CC #CC6B54 #79CC54 #54B5CC
split-complementary
#A754CC #B5CC54 #54CC6B
monochromatic
#642680 #8934AF #A754CC #BF83DA #D8B2E8

Accessibility & contrast

On white

4.39
#A754CC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#A754CC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754CC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754CC#FFFFFF#000000##000000
##A754CC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F74D0
Deuteranopia (green-blind)
#507BC9
Tritanopia (blue-blind)
#A46988
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a754cc;
/* rgb */ color: rgb(167, 84, 204);
/* oklch */ color: oklch(59.7% 0.189 314.1);
Tailwind
colors: {
  custom: {
    50: '#c488dc',
    500: '#a754cc',
    950: '#000000',
  },
}
SCSS
$custom: #a754cc;
$custom-light: #c488dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a754cc",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 204
  },
  "hsl": {
    "h": 281.5,
    "s": 54.054,
    "l": 56.471
  },
  "oklch": {
    "l": 0.59683,
    "c": 0.18888,
    "h": 314.1
  },
  "luminance": 0.18916
}

Semantic roles & 50–950 ramp

primary
#A754CC
secondary
#B4D7A5
accent
#DD4A78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A754CC

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

Preview Lab → · Contrast checker → · Palette generator →

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