#A54DD2#A54DD2

#A54DD2 is a mid, highly saturated violet. Relative luminance 0.180; OKLCH L 58.9% C 0.204 H 312.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A54DD2
RGBrgb(165, 77, 210)
HSLhsl(280, 60%, 56%)
HSVhsv(280, 63%, 82%)
CMYKcmyk(21.4%, 63.3%, 0%, 17.6%)
CIE-LABlab(49.45, 57.57, -53.69)
CIE-LCHlch(49.45, 78.72, 317.00°)
OKLaboklab(58.91% 0.1374 -0.1511)
OKLCHoklch(58.91% 0.204 312.3)
XYZxyz(29.8017, 17.9610, 62.8572)
Luminance0.1796 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DD2 #7AD24D
analogous
#634DD2 #A54DD2 #D24DBD
triadic
#A54DD2 #D2A54D #4DD2A5
tetradic
#A54DD2 #D2634D #7AD24D #4DBDD2
square
#A54DD2 #D2634D #7AD24D #4DBDD2
split-complementary
#A54DD2 #BDD24D #4DD263
monochromatic
#622183 #872EB4 #A54DD2 #BE7EDE #D6AFEB

Accessibility & contrast

On white

4.57
#A54DD2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A54DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DD2
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DD2#FFFFFF#000000##000000
##A54DD21.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0B71D6
Deuteranopia (green-blind)
#4277CF
Tritanopia (blue-blind)
#A06789
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54dd2;
/* rgb */ color: rgb(165, 77, 210);
/* oklch */ color: oklch(58.9% 0.204 312.3);
Tailwind
colors: {
  custom: {
    50: '#c384e0',
    500: '#a54dd2',
    950: '#000000',
  },
}
SCSS
$custom: #a54dd2;
$custom-light: #c384e0;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dd2",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 210
  },
  "hsl": {
    "h": 279.699,
    "s": 59.641,
    "l": 56.275
  },
  "oklch": {
    "l": 0.58913,
    "c": 0.20424,
    "h": 312.3
  },
  "luminance": 0.1796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A54DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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