#A754CA#A754CA

#A754CA is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.6% C 0.187 H 314.7°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A754CA
RGBrgb(167, 84, 202)
HSLhsl(282, 53%, 56%)
HSVhsv(282, 58%, 79%)
CMYKcmyk(17.3%, 58.4%, 0%, 20.8%)
CIE-LABlab(50.48, 53.00, -47.45)
CIE-LCHlch(50.48, 71.14, 318.17°)
OKLaboklab(59.57% 0.1314 -0.1328)
OKLCHoklch(59.57% 0.187 314.7)
XYZxyz(29.7656, 18.8213, 57.9306)
Luminance0.1882 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754CA #77CA54
analogous
#6C54CA #A754CA #CA54B2
triadic
#A754CA #CAA754 #54CAA7
tetradic
#A754CA #CA6C54 #77CA54 #54B2CA
square
#A754CA #CA6C54 #77CA54 #54B2CA
split-complementary
#A754CA #B2CA54 #54CA6C
monochromatic
#63277D #8835AC #A754CA #BF83D8 #D7B1E7

Accessibility & contrast

On white

4.41
#A754CA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A754CA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754CA
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754CA#FFFFFF#000000##000000
##A754CA1.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3173CE
Deuteranopia (green-blind)
#527AC7
Tritanopia (blue-blind)
#A46887
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a754ca;
/* rgb */ color: rgb(167, 84, 202);
/* oklch */ color: oklch(59.6% 0.187 314.7);
Tailwind
colors: {
  custom: {
    50: '#c488db',
    500: '#a754ca',
    950: '#000000',
  },
}
SCSS
$custom: #a754ca;
$custom-light: #c488db;
$custom-dark: #000000;
JSON
{
  "hex": "#a754ca",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 202
  },
  "hsl": {
    "h": 282.203,
    "s": 52.679,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59566,
    "c": 0.18682,
    "h": 314.7
  },
  "luminance": 0.1882
}

Semantic roles & 50–950 ramp

primary
#A754CA
secondary
#B3D5A5
accent
#DC4C77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A754CA

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

Preview Lab → · Contrast checker → · Palette generator →

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