#A54DEC#A54DEC

#A54DEC is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.6% C 0.231 H 306.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#A54DEC
RGBrgb(165, 77, 236)
HSLhsl(273, 81%, 61%)
HSVhsv(273, 67%, 93%)
CMYKcmyk(30.1%, 67.4%, 0%, 7.5%)
CIE-LABlab(51.11, 63.25, -65.75)
CIE-LCHlch(51.11, 91.23, 313.89°)
OKLaboklab(60.64% 0.1354 -0.1865)
OKLCHoklch(60.64% 0.231 306)
XYZxyz(33.3080, 19.3635, 81.3234)
Luminance0.1936 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DEC #94EC4D
analogous
#564DEC #A54DEC #EC4DE3
triadic
#A54DEC #ECA54D #4DECA5
tetradic
#A54DEC #EC564D #94EC4D #4DE3EC
square
#A54DEC #EC564D #94EC4D #4DE3EC
split-complementary
#A54DEC #E3EC4D #4DEC56
monochromatic
#6812AC #8918E4 #A54DEC #C184F2 #DDBCF8

Accessibility & contrast

On white

4.31
#A54DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#A54DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DEC
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DEC#FFFFFF#000000##000000
##A54DEC1.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F1
Deuteranopia (green-blind)
#1B7AE9
Tritanopia (blue-blind)
#997097
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a54dec;
/* rgb */ color: rgb(165, 77, 236);
/* oklch */ color: oklch(60.6% 0.231 306.0);
Tailwind
colors: {
  custom: {
    50: '#c585f3',
    500: '#a54dec',
    950: '#000000',
  },
}
SCSS
$custom: #a54dec;
$custom-light: #c585f3;
$custom-dark: #000000;
JSON
{
  "hex": "#a54dec",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 236
  },
  "hsl": {
    "h": 273.208,
    "s": 80.711,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60637,
    "c": 0.2305,
    "h": 306
  },
  "luminance": 0.19363
}

Semantic roles & 50–950 ramp

primary
#A54DEC
secondary
#C7E8AD
accent
#DD0867
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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