#A754CE#A754CE

#A754CE is a mid, vivid purple. Relative luminance 0.190; OKLCH L 59.8% C 0.191 H 313.5°. Best body text is #000000 at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A754CE
RGBrgb(167, 84, 206)
HSLhsl(281, 55%, 57%)
HSVhsv(281, 59%, 81%)
CMYKcmyk(18.9%, 59.2%, 0%, 19.2%)
CIE-LABlab(50.70, 53.85, -49.38)
CIE-LCHlch(50.70, 73.06, 317.48°)
OKLaboklab(59.8% 0.1315 -0.1385)
OKLCHoklch(59.8% 0.191 313.5)
XYZxyz(30.2454, 19.0132, 60.4572)
Luminance0.1901 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754CE #7BCE54
analogous
#6A54CE #A754CE #CE54B8
triadic
#A754CE #CEA754 #54CEA7
tetradic
#A754CE #CE6A54 #7BCE54 #54B8CE
square
#A754CE #CE6A54 #7BCE54 #54B8CE
split-complementary
#A754CE #B8CE54 #54CE6A
monochromatic
#652582 #8933B2 #A754CE #BF84DC #D8B3E9

Accessibility & contrast

On white

4.37
#A754CE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.80
#A754CE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754CE
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754CE#FFFFFF#000000##000000
##A754CE1.004.374.804.80
#FFFFFF4.371.0021.0021.00
#0000004.8021.001.001.00
##0000004.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2D74D2
Deuteranopia (green-blind)
#4F7BCB
Tritanopia (blue-blind)
#A36A89
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a754ce;
/* rgb */ color: rgb(167, 84, 206);
/* oklch */ color: oklch(59.8% 0.191 313.5);
Tailwind
colors: {
  custom: {
    50: '#c488dd',
    500: '#a754ce',
    950: '#000000',
  },
}
SCSS
$custom: #a754ce;
$custom-light: #c488dd;
$custom-dark: #000000;
JSON
{
  "hex": "#a754ce",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 206
  },
  "hsl": {
    "h": 280.82,
    "s": 55.455,
    "l": 56.863
  },
  "oklch": {
    "l": 0.59802,
    "c": 0.19095,
    "h": 313.5
  },
  "luminance": 0.19012
}

Semantic roles & 50–950 ramp

primary
#A754CE
secondary
#B6D8A6
accent
#DF4979
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A754CE

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

Preview Lab → · Contrast checker → · Palette generator →

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