#A754CD#A754CD

#A754CD is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.7% C 0.190 H 313.8°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A754CD
RGBrgb(167, 84, 205)
HSLhsl(281, 55%, 57%)
HSVhsv(281, 59%, 80%)
CMYKcmyk(18.5%, 59%, 0%, 19.6%)
CIE-LABlab(50.65, 53.63, -48.90)
CIE-LCHlch(50.65, 72.58, 317.65°)
OKLaboklab(59.74% 0.1314 -0.1371)
OKLCHoklch(59.74% 0.19 313.8)
XYZxyz(30.1243, 18.9648, 59.8195)
Luminance0.1896 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754CD #7ACD54
analogous
#6B54CD #A754CD #CD54B7
triadic
#A754CD #CDA754 #54CDA7
tetradic
#A754CD #CD6B54 #7ACD54 #54B7CD
square
#A754CD #CD6B54 #7ACD54 #54B7CD
split-complementary
#A754CD #B7CD54 #54CD6B
monochromatic
#642681 #8934B0 #A754CD #BF83DB #D8B3E9

Accessibility & contrast

On white

4.38
#A754CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A754CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754CD
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754CD#FFFFFF#000000##000000
##A754CD1.004.384.794.79
#FFFFFF4.381.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E74D1
Deuteranopia (green-blind)
#4F7BCA
Tritanopia (blue-blind)
#A46989
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a754cd;
/* rgb */ color: rgb(167, 84, 205);
/* oklch */ color: oklch(59.7% 0.190 313.8);
Tailwind
colors: {
  custom: {
    50: '#c488dd',
    500: '#a754cd',
    950: '#000000',
  },
}
SCSS
$custom: #a754cd;
$custom-light: #c488dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a754cd",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 205
  },
  "hsl": {
    "h": 281.157,
    "s": 54.751,
    "l": 56.667
  },
  "oklch": {
    "l": 0.59743,
    "c": 0.18991,
    "h": 313.8
  },
  "luminance": 0.18964
}

Semantic roles & 50–950 ramp

primary
#A754CD
secondary
#B5D7A6
accent
#DE4A78
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A754CD

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

Preview Lab → · Contrast checker → · Palette generator →

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