#A754D8#A754D8

#A754D8 is a mid, highly saturated violet. Relative luminance 0.195; OKLCH L 60.4% C 0.201 H 310.8°. Best body text is #000000 at 4.90:1 contrast (WCAG AA passes).

Color values

HEX#A754D8
RGBrgb(167, 84, 216)
HSLhsl(278, 63%, 59%)
HSVhsv(278, 61%, 85%)
CMYKcmyk(22.7%, 61.1%, 0%, 15.3%)
CIE-LABlab(51.28, 55.99, -54.16)
CIE-LCHlch(51.28, 77.90, 315.96°)
OKLaboklab(60.41% 0.1315 -0.1525)
OKLCHoklch(60.41% 0.201 310.8)
XYZxyz(31.4990, 19.5147, 67.0598)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754D8 #85D854
analogous
#6554D8 #A754D8 #D854C7
triadic
#A754D8 #D8A754 #54D8A7
tetradic
#A754D8 #D86554 #85D854 #54C7D8
square
#A754D8 #D86554 #85D854 #54C7D8
split-complementary
#A754D8 #C7D854 #54D865
monochromatic
#672191 #8B2CC2 #A754D8 #C186E3 #DAB8EF

Accessibility & contrast

On white

4.28
#A754D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#A754D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754D8
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754D8#FFFFFF#000000##000000
##A754D81.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C76DC
Deuteranopia (green-blind)
#467CD5
Tritanopia (blue-blind)
#A16D8E
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a754d8;
/* rgb */ color: rgb(167, 84, 216);
/* oklch */ color: oklch(60.4% 0.201 310.8);
Tailwind
colors: {
  custom: {
    50: '#c588e5',
    500: '#a754d8',
    950: '#000000',
  },
}
SCSS
$custom: #a754d8;
$custom-light: #c588e5;
$custom-dark: #000000;
JSON
{
  "hex": "#a754d8",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 216
  },
  "hsl": {
    "h": 277.727,
    "s": 62.857,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60412,
    "c": 0.20132,
    "h": 310.8
  },
  "luminance": 0.19514
}

Semantic roles & 50–950 ramp

primary
#A754D8
secondary
#BDDEAA
accent
#E6427F
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A754D8

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

Preview Lab → · Contrast checker → · Palette generator →

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