#A54ED6#A54ED6

#A54ED6 is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.3% C 0.207 H 311.1°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A54ED6
RGBrgb(165, 78, 214)
HSLhsl(278, 62%, 57%)
HSVhsv(278, 64%, 84%)
CMYKcmyk(22.9%, 63.6%, 0%, 16.1%)
CIE-LABlab(49.86, 57.96, -55.31)
CIE-LCHlch(49.86, 80.12, 316.34°)
OKLaboklab(59.29% 0.1361 -0.1559)
OKLCHoklch(59.29% 0.207 311.1)
XYZxyz(30.3768, 18.3038, 65.5381)
Luminance0.1830 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54ED6 #7FD64E
analogous
#614ED6 #A54ED6 #D64EC3
triadic
#A54ED6 #D6A54E #4ED6A5
tetradic
#A54ED6 #D6614E #7FD64E #4EC3D6
square
#A54ED6 #D6614E #7FD64E #4EC3D6
split-complementary
#A54ED6 #C3D64E #4ED661
monochromatic
#64208A #882BBB #A54ED6 #BE80E2 #D8B1ED

Accessibility & contrast

On white

4.51
#A54ED6 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A54ED6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54ED6
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54ED6#FFFFFF#000000##000000
##A54ED61.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072DA
Deuteranopia (green-blind)
#3F78D3
Tritanopia (blue-blind)
#9F698B
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54ed6;
/* rgb */ color: rgb(165, 78, 214);
/* oklch */ color: oklch(59.3% 0.207 311.1);
Tailwind
colors: {
  custom: {
    50: '#c385e3',
    500: '#a54ed6',
    950: '#000000',
  },
}
SCSS
$custom: #a54ed6;
$custom-light: #c385e3;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ed6",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 214
  },
  "hsl": {
    "h": 278.382,
    "s": 62.385,
    "l": 57.255
  },
  "oklch": {
    "l": 0.5929,
    "c": 0.20692,
    "h": 311.1
  },
  "luminance": 0.18303
}

Semantic roles & 50–950 ramp

primary
#A54ED6
secondary
#B8DBA4
accent
#E5427D
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130B15
muted
#827C84

Preview Lab

Preview with #A54ED6

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

Preview Lab → · Contrast checker → · Palette generator →

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