#A54CD7#A54CD7

#A54CD7 is a mid, highly saturated violet. Relative luminance 0.181; OKLCH L 59.1% C 0.211 H 311.0°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A54CD7
RGBrgb(165, 76, 215)
HSLhsl(278, 63%, 57%)
HSVhsv(278, 65%, 84%)
CMYKcmyk(23.3%, 64.7%, 0%, 15.7%)
CIE-LABlab(49.59, 59.10, -56.32)
CIE-LCHlch(49.59, 81.64, 316.38°)
OKLaboklab(59.11% 0.1383 -0.1588)
OKLCHoklch(59.11% 0.211 311)
XYZxyz(30.3649, 18.0752, 66.1661)
Luminance0.1807 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CD7 #7ED74C
analogous
#604CD7 #A54CD7 #D74CC4
triadic
#A54CD7 #D7A54C #4CD7A5
tetradic
#A54CD7 #D7604C #7ED74C #4CC4D7
square
#A54CD7 #D7604C #7ED74C #4CC4D7
split-complementary
#A54CD7 #C4D74C #4CD760
monochromatic
#631F8A #872ABC #A54CD7 #BE7EE2 #D7B0ED

Accessibility & contrast

On white

4.55
#A54CD7 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A54CD7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CD7
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CD7#FFFFFF#000000##000000
##A54CD71.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a54cd7;
/* rgb */ color: rgb(165, 76, 215);
/* oklch */ color: oklch(59.1% 0.211 311.0);
Tailwind
colors: {
  custom: {
    50: '#c484e4',
    500: '#a54cd7',
    950: '#000000',
  },
}
SCSS
$custom: #a54cd7;
$custom-light: #c484e4;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cd7",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 215
  },
  "hsl": {
    "h": 278.417,
    "s": 63.47,
    "l": 57.059
  },
  "oklch": {
    "l": 0.59111,
    "c": 0.21062,
    "h": 311
  },
  "luminance": 0.18075
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A54CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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