#A54DE2#A54DE2

#A54DE2 is a mid, highly saturated violet. Relative luminance 0.188; OKLCH L 60.0% C 0.220 H 308.2°. Best body text is #000000 at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#A54DE2
RGBrgb(165, 77, 226)
HSLhsl(275, 72%, 59%)
HSVhsv(275, 66%, 89%)
CMYKcmyk(27%, 65.9%, 0%, 11.4%)
CIE-LABlab(50.45, 61.03, -61.18)
CIE-LCHlch(50.45, 86.42, 314.93°)
OKLaboklab(59.96% 0.1364 -0.1731)
OKLCHoklch(59.96% 0.22 308.2)
XYZxyz(31.8956, 18.7986, 73.8850)
Luminance0.1880 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DE2 #8AE24D
analogous
#5B4DE2 #A54DE2 #E24DD5
triadic
#A54DE2 #E2A54D #4DE2A5
tetradic
#A54DE2 #E25B4D #8AE24D #4DD5E2
square
#A54DE2 #E25B4D #8AE24D #4DD5E2
split-complementary
#A54DE2 #D5E24D #4DE25B
monochromatic
#66199B #8922D0 #A54DE2 #C082EB #DAB6F3

Accessibility & contrast

On white

4.41
#A54DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.76
#A54DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DE2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DE2#FFFFFF#000000##000000
##A54DE21.004.414.764.76
#FFFFFF4.411.0021.0021.00
#0000004.7621.001.001.00
##0000004.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E6
Deuteranopia (green-blind)
#2F79DF
Tritanopia (blue-blind)
#9C6D91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54de2;
/* rgb */ color: rgb(165, 77, 226);
/* oklch */ color: oklch(60.0% 0.220 308.2);
Tailwind
colors: {
  custom: {
    50: '#c485ec',
    500: '#a54de2',
    950: '#000000',
  },
}
SCSS
$custom: #a54de2;
$custom-light: #c485ec;
$custom-dark: #000000;
JSON
{
  "hex": "#a54de2",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 226
  },
  "hsl": {
    "h": 275.436,
    "s": 71.981,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59955,
    "c": 0.22039,
    "h": 308.2
  },
  "luminance": 0.18798
}

Semantic roles & 50–950 ramp

primary
#A54DE2
secondary
#C0E2A8
accent
#EF3983
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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