#A754D4#A754D4

#A754D4 is a mid, vivid violet. Relative luminance 0.193; OKLCH L 60.2% C 0.197 H 311.8°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A754D4
RGBrgb(167, 84, 212)
HSLhsl(279, 60%, 58%)
HSVhsv(279, 60%, 83%)
CMYKcmyk(21.2%, 60.4%, 0%, 16.9%)
CIE-LABlab(51.05, 55.13, -52.26)
CIE-LCHlch(51.05, 75.96, 316.53°)
OKLaboklab(60.17% 0.1315 -0.1469)
OKLCHoklch(60.17% 0.197 311.8)
XYZxyz(30.9882, 19.3104, 64.3695)
Luminance0.1931 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754D4 #81D454
analogous
#6754D4 #A754D4 #D454C1
triadic
#A754D4 #D4A754 #54D4A7
tetradic
#A754D4 #D46754 #81D454 #54C1D4
square
#A754D4 #D46754 #81D454 #54C1D4
split-complementary
#A754D4 #C1D454 #54D467
monochromatic
#66238B #8A2FBC #A754D4 #C085E0 #D9B6ED

Accessibility & contrast

On white

4.32
#A754D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A754D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754D4
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754D4#FFFFFF#000000##000000
##A754D41.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2475D8
Deuteranopia (green-blind)
#4A7BD1
Tritanopia (blue-blind)
#A26C8C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a754d4;
/* rgb */ color: rgb(167, 84, 212);
/* oklch */ color: oklch(60.2% 0.197 311.8);
Tailwind
colors: {
  custom: {
    50: '#c488e2',
    500: '#a754d4',
    950: '#000000',
  },
}
SCSS
$custom: #a754d4;
$custom-light: #c488e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a754d4",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 212
  },
  "hsl": {
    "h": 278.906,
    "s": 59.813,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.19716,
    "h": 311.8
  },
  "luminance": 0.1931
}

Semantic roles & 50–950 ramp

primary
#A754D4
secondary
#BADBA8
accent
#E3457C
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A754D4

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

Preview Lab → · Contrast checker → · Palette generator →

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