#A54DD3#A54DD3

#A54DD3 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 59.0% C 0.205 H 312.0°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#A54DD3
RGBrgb(165, 77, 211)
HSLhsl(279, 60%, 56%)
HSVhsv(279, 64%, 83%)
CMYKcmyk(21.8%, 63.5%, 0%, 17.3%)
CIE-LABlab(49.51, 57.79, -54.16)
CIE-LCHlch(49.51, 79.20, 316.85°)
OKLaboklab(58.98% 0.1374 -0.1525)
OKLCHoklch(58.98% 0.205 312)
XYZxyz(29.9267, 18.0110, 63.5154)
Luminance0.1801 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DD3 #7BD34D
analogous
#624DD3 #A54DD3 #D34DBE
triadic
#A54DD3 #D3A54D #4DD3A5
tetradic
#A54DD3 #D3624D #7BD34D #4DBED3
square
#A54DD3 #D3624D #7BD34D #4DBED3
split-complementary
#A54DD3 #BED34D #4DD362
monochromatic
#622185 #872DB6 #A54DD3 #BE7EDF #D7AFEB

Accessibility & contrast

On white

4.56
#A54DD3 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#A54DD3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DD3
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DD3#FFFFFF#000000##000000
##A54DD31.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0671D7
Deuteranopia (green-blind)
#4178D0
Tritanopia (blue-blind)
#A06789
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54dd3;
/* rgb */ color: rgb(165, 77, 211);
/* oklch */ color: oklch(59.0% 0.205 312.0);
Tailwind
colors: {
  custom: {
    50: '#c384e1',
    500: '#a54dd3',
    950: '#000000',
  },
}
SCSS
$custom: #a54dd3;
$custom-light: #c384e1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dd3",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 211
  },
  "hsl": {
    "h": 279.403,
    "s": 60.36,
    "l": 56.471
  },
  "oklch": {
    "l": 0.58976,
    "c": 0.20525,
    "h": 312
  },
  "luminance": 0.1801
}

Semantic roles & 50–950 ramp

primary
#A54DD3
secondary
#B5D9A2
accent
#E4447B
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54DD3

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

Preview Lab → · Contrast checker → · Palette generator →

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