#A754DC#A754DC

#A754DC is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.7% C 0.205 H 309.7°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#A754DC
RGBrgb(167, 84, 220)
HSLhsl(277, 66%, 60%)
HSVhsv(277, 62%, 86%)
CMYKcmyk(24.1%, 61.8%, 0%, 13.7%)
CIE-LABlab(51.52, 56.87, -56.04)
CIE-LCHlch(51.52, 79.84, 315.42°)
OKLaboklab(60.66% 0.1314 -0.158)
OKLCHoklch(60.66% 0.205 309.7)
XYZxyz(32.0224, 19.7240, 69.8165)
Luminance0.1972 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754DC #89DC54
analogous
#6354DC #A754DC #DC54CD
triadic
#A754DC #DCA754 #54DCA7
tetradic
#A754DC #DC6354 #89DC54 #54CDDC
square
#A754DC #DC6354 #89DC54 #54CDDC
split-complementary
#A754DC #CDDC54 #54DC63
monochromatic
#681F97 #8B29CA #A754DC #C187E6 #DBBAF1

Accessibility & contrast

On white

4.25
#A754DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#A754DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754DC
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754DC#FFFFFF#000000##000000
##A754DC1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1177E0
Deuteranopia (green-blind)
#427CD9
Tritanopia (blue-blind)
#A06F90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a754dc;
/* rgb */ color: rgb(167, 84, 220);
/* oklch */ color: oklch(60.7% 0.205 309.7);
Tailwind
colors: {
  custom: {
    50: '#c589e7',
    500: '#a754dc',
    950: '#000000',
  },
}
SCSS
$custom: #a754dc;
$custom-light: #c589e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a754dc",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 220
  },
  "hsl": {
    "h": 276.618,
    "s": 66.019,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60663,
    "c": 0.20548,
    "h": 309.7
  },
  "luminance": 0.19723
}

Semantic roles & 50–950 ramp

primary
#A754DC
secondary
#C0E0AC
accent
#E93F81
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A754DC

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

Preview Lab → · Contrast checker → · Palette generator →

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