#A754D6#A754D6

#A754D6 is a mid, vivid violet. Relative luminance 0.194; OKLCH L 60.3% C 0.199 H 311.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#A754D6
RGBrgb(167, 84, 214)
HSLhsl(278, 61%, 58%)
HSVhsv(278, 61%, 84%)
CMYKcmyk(22%, 60.7%, 0%, 16.1%)
CIE-LABlab(51.17, 55.56, -53.21)
CIE-LCHlch(51.17, 76.93, 316.24°)
OKLaboklab(60.29% 0.1315 -0.1497)
OKLCHoklch(60.29% 0.199 311.3)
XYZxyz(31.2420, 19.4119, 65.7064)
Luminance0.1941 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754D6 #83D654
analogous
#6654D6 #A754D6 #D654C4
triadic
#A754D6 #D6A754 #54D6A7
tetradic
#A754D6 #D66654 #83D654 #54C4D6
square
#A754D6 #D66654 #83D654 #54C4D6
split-complementary
#A754D6 #C4D654 #54D666
monochromatic
#67228E #8B2EBF #A754D6 #C085E2 #DAB7EE

Accessibility & contrast

On white

4.30
#A754D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#A754D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754D6
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754D6#FFFFFF#000000##000000
##A754D61.004.304.884.88
#FFFFFF4.301.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2076DA
Deuteranopia (green-blind)
#487BD3
Tritanopia (blue-blind)
#A16D8D
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a754d6;
/* rgb */ color: rgb(167, 84, 214);
/* oklch */ color: oklch(60.3% 0.199 311.3);
Tailwind
colors: {
  custom: {
    50: '#c488e3',
    500: '#a754d6',
    950: '#000000',
  },
}
SCSS
$custom: #a754d6;
$custom-light: #c488e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a754d6",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 214
  },
  "hsl": {
    "h": 278.308,
    "s": 61.321,
    "l": 58.431
  },
  "oklch": {
    "l": 0.60288,
    "c": 0.19923,
    "h": 311.3
  },
  "luminance": 0.19411
}

Semantic roles & 50–950 ramp

primary
#A754D6
secondary
#BCDDA9
accent
#E4437E
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A754D6

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

Preview Lab → · Contrast checker → · Palette generator →

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