#A54DE3#A54DE3

#A54DE3 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.0% C 0.221 H 308.0°. Best body text is #000000 at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A54DE3
RGBrgb(165, 77, 227)
HSLhsl(275, 73%, 60%)
HSVhsv(275, 66%, 89%)
CMYKcmyk(27.3%, 66.1%, 0%, 11%)
CIE-LABlab(50.52, 61.25, -61.64)
CIE-LCHlch(50.52, 86.90, 314.82°)
OKLaboklab(60.02% 0.1363 -0.1745)
OKLCHoklch(60.02% 0.221 308)
XYZxyz(32.0332, 18.8536, 74.6097)
Luminance0.1885 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DE3 #8BE34D
analogous
#5A4DE3 #A54DE3 #E34DD6
triadic
#A54DE3 #E3A54D #4DE3A5
tetradic
#A54DE3 #E35A4D #8BE34D #4DD6E3
square
#A54DE3 #E35A4D #8BE34D #4DD6E3
split-complementary
#A54DE3 #D6E34D #4DE35A
monochromatic
#66199D #8921D2 #A54DE3 #C082EB #DAB7F4

Accessibility & contrast

On white

4.40
#A54DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.77
#A54DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DE3
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DE3#FFFFFF#000000##000000
##A54DE31.004.404.774.77
#FFFFFF4.401.0021.0021.00
#0000004.7721.001.001.00
##0000004.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E8
Deuteranopia (green-blind)
#2E79E0
Tritanopia (blue-blind)
#9B6D92
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54de3;
/* rgb */ color: rgb(165, 77, 227);
/* oklch */ color: oklch(60.0% 0.221 308.0);
Tailwind
colors: {
  custom: {
    50: '#c485ed',
    500: '#a54de3',
    950: '#000000',
  },
}
SCSS
$custom: #a54de3;
$custom-light: #c485ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54de3",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 227
  },
  "hsl": {
    "h": 275.2,
    "s": 72.816,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60022,
    "c": 0.22141,
    "h": 308
  },
  "luminance": 0.18853
}

Semantic roles & 50–950 ramp

primary
#A54DE3
secondary
#C1E3A9
accent
#F03884
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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