#A754DB#A754DB

#A754DB is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 60.6% C 0.204 H 310.0°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A754DB
RGBrgb(167, 84, 219)
HSLhsl(277, 65%, 59%)
HSVhsv(277, 62%, 86%)
CMYKcmyk(23.7%, 61.6%, 0%, 14.1%)
CIE-LABlab(51.46, 56.65, -55.57)
CIE-LCHlch(51.46, 79.35, 315.55°)
OKLaboklab(60.6% 0.1314 -0.1566)
OKLCHoklch(60.6% 0.204 310)
XYZxyz(31.8904, 19.6712, 69.1211)
Luminance0.1967 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A754DB #88DB54
analogous
#6454DB #A754DB #DB54CB
triadic
#A754DB #DBA754 #54DBA7
tetradic
#A754DB #DB6454 #88DB54 #54CBDB
square
#A754DB #DB6454 #88DB54 #54CBDB
split-complementary
#A754DB #CBDB54 #54DB64
monochromatic
#681F95 #8B2AC8 #A754DB #C187E6 #DBB9F0

Accessibility & contrast

On white

4.26
#A754DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#A754DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A754DB
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A754DB#FFFFFF#000000##000000
##A754DB1.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1477DF
Deuteranopia (green-blind)
#437CD8
Tritanopia (blue-blind)
#A06E90
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a754db;
/* rgb */ color: rgb(167, 84, 219);
/* oklch */ color: oklch(60.6% 0.204 310.0);
Tailwind
colors: {
  custom: {
    50: '#c589e7',
    500: '#a754db',
    950: '#000000',
  },
}
SCSS
$custom: #a754db;
$custom-light: #c589e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a754db",
  "rgb": {
    "r": 167,
    "g": 84,
    "b": 219
  },
  "hsl": {
    "h": 276.889,
    "s": 65.217,
    "l": 59.412
  },
  "oklch": {
    "l": 0.606,
    "c": 0.20443,
    "h": 310
  },
  "luminance": 0.19671
}

Semantic roles & 50–950 ramp

primary
#A754DB
secondary
#BFE0AB
accent
#E84081
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A754DB

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

Preview Lab → · Contrast checker → · Palette generator →

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