#A754CB#A754CB

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

Color values

HEX#A754CB
RGBrgb(167, 84, 203)
HSLhsl(282, 53%, 56%)
HSVhsv(282, 59%, 80%)
CMYKcmyk(17.7%, 58.6%, 0%, 20.4%)
CIE-LABlab(50.53, 53.21, -47.93)
CIE-LCHlch(50.53, 71.62, 317.99°)
OKLaboklab(59.62% 0.1314 -0.1343)
OKLCHoklch(59.62% 0.188 314.4)
XYZxyz(29.8844, 18.8688, 58.5562)
Luminance0.1887 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754CB #78CB54
analogous
#6C54CB #A754CB #CB54B4
triadic
#A754CB #CBA754 #54CBA7
tetradic
#A754CB #CB6C54 #78CB54 #54B4CB
square
#A754CB #CB6C54 #78CB54 #54B4CB
split-complementary
#A754CB #B4CB54 #54CB6C
monochromatic
#64267E #8935AD #A754CB #BF83D9 #D7B2E8

Accessibility & contrast

On white

4.40
#A754CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A754CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754CB
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754CB#FFFFFF#000000##000000
##A754CB1.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3074CF
Deuteranopia (green-blind)
#517AC8
Tritanopia (blue-blind)
#A46988
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a754cb;
/* rgb */ color: rgb(167, 84, 203);
/* oklch */ color: oklch(59.6% 0.188 314.4);
Tailwind
colors: {
  custom: {
    50: '#c488db',
    500: '#a754cb',
    950: '#000000',
  },
}
SCSS
$custom: #a754cb;
$custom-light: #c488db;
$custom-dark: #000000;
JSON
{
  "hex": "#a754cb",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 203
  },
  "hsl": {
    "h": 281.849,
    "s": 53.363,
    "l": 56.275
  },
  "oklch": {
    "l": 0.59624,
    "c": 0.18785,
    "h": 314.4
  },
  "luminance": 0.18868
}

Semantic roles & 50–950 ramp

primary
#A754CB
secondary
#B4D6A5
accent
#DD4B77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A754CB

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

Preview Lab → · Contrast checker → · Palette generator →

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