#A754D5#A754D5

#A754D5 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.2% C 0.198 H 311.6°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A754D5
RGBrgb(167, 84, 213)
HSLhsl(279, 61%, 58%)
HSVhsv(279, 61%, 84%)
CMYKcmyk(21.6%, 60.6%, 0%, 16.5%)
CIE-LABlab(51.11, 55.34, -52.73)
CIE-LCHlch(51.11, 76.44, 316.38°)
OKLaboklab(60.23% 0.1315 -0.1483)
OKLCHoklch(60.23% 0.198 311.6)
XYZxyz(31.1147, 19.3610, 65.0359)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754D5 #82D554
analogous
#6654D5 #A754D5 #D554C2
triadic
#A754D5 #D5A754 #54D5A7
tetradic
#A754D5 #D56654 #82D554 #54C2D5
square
#A754D5 #D56654 #82D554 #54C2D5
split-complementary
#A754D5 #C2D554 #54D566
monochromatic
#66228C #8A2EBD #A754D5 #C085E1 #DAB6ED

Accessibility & contrast

On white

4.31
#A754D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A754D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754D5
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754D5#FFFFFF#000000##000000
##A754D51.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2276D9
Deuteranopia (green-blind)
#497BD2
Tritanopia (blue-blind)
#A26C8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a754d5;
/* rgb */ color: rgb(167, 84, 213);
/* oklch */ color: oklch(60.2% 0.198 311.6);
Tailwind
colors: {
  custom: {
    50: '#c488e2',
    500: '#a754d5',
    950: '#000000',
  },
}
SCSS
$custom: #a754d5;
$custom-light: #c488e2;
$custom-dark: #000000;
JSON
{
  "hex": "#a754d5",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 213
  },
  "hsl": {
    "h": 278.605,
    "s": 60.563,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60227,
    "c": 0.1982,
    "h": 311.6
  },
  "luminance": 0.1936
}

Semantic roles & 50–950 ramp

primary
#A754D5
secondary
#BBDCA9
accent
#E4447D
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A754D5

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

Preview Lab → · Contrast checker → · Palette generator →

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