#A54DD7#A54DD7

#A54DD7 is a mid, highly saturated violet. Relative luminance 0.182; OKLCH L 59.2% C 0.209 H 311.0°. Best body text is #000000 at 4.64:1 contrast (WCAG AA passes).

Color values

HEX#A54DD7
RGBrgb(165, 77, 215)
HSLhsl(278, 63%, 57%)
HSVhsv(278, 64%, 84%)
CMYKcmyk(23.3%, 64.2%, 0%, 15.7%)
CIE-LABlab(49.75, 58.64, -56.05)
CIE-LCHlch(49.75, 81.12, 316.29°)
OKLaboklab(59.23% 0.1372 -0.1581)
OKLCHoklch(59.23% 0.209 311)
XYZxyz(30.4344, 18.2141, 66.1892)
Luminance0.1821 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DD7 #7FD74D
analogous
#604DD7 #A54DD7 #D74DC4
triadic
#A54DD7 #D7A54D #4DD7A5
tetradic
#A54DD7 #D7604D #7FD74D #4DC4D7
square
#A54DD7 #D7604D #7FD74D #4DC4D7
split-complementary
#A54DD7 #C4D74D #4DD760
monochromatic
#641F8A #882ABC #A54DD7 #BE7FE2 #D8B1ED

Accessibility & contrast

On white

4.52
#A54DD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.64
#A54DD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DD7
4.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DD7#FFFFFF#000000##000000
##A54DD71.004.524.644.64
#FFFFFF4.521.0021.0021.00
#0000004.6421.001.001.00
##0000004.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DB
Deuteranopia (green-blind)
#3D78D4
Tritanopia (blue-blind)
#9F698B
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54dd7;
/* rgb */ color: rgb(165, 77, 215);
/* oklch */ color: oklch(59.2% 0.209 311.0);
Tailwind
colors: {
  custom: {
    50: '#c384e4',
    500: '#a54dd7',
    950: '#000000',
  },
}
SCSS
$custom: #a54dd7;
$custom-light: #c384e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dd7",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 215
  },
  "hsl": {
    "h": 278.261,
    "s": 63.303,
    "l": 57.255
  },
  "oklch": {
    "l": 0.59232,
    "c": 0.20928,
    "h": 311
  },
  "luminance": 0.18213
}

Semantic roles & 50–950 ramp

primary
#A54DD7
secondary
#B8DCA4
accent
#E6417D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54DD7

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

Preview Lab → · Contrast checker → · Palette generator →

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