#A54DEB#A54DEB

#A54DEB is a mid, highly saturated violet. Relative luminance 0.193; OKLCH L 60.6% C 0.229 H 306.2°. Best body text is #000000 at 4.86:1 contrast (WCAG AA passes).

Color values

HEX#A54DEB
RGBrgb(165, 77, 235)
HSLhsl(273, 80%, 61%)
HSVhsv(273, 67%, 92%)
CMYKcmyk(29.8%, 67.2%, 0%, 7.8%)
CIE-LABlab(51.04, 63.02, -65.30)
CIE-LCHlch(51.04, 90.75, 313.98°)
OKLaboklab(60.57% 0.1355 -0.1852)
OKLCHoklch(60.57% 0.229 306.2)
XYZxyz(33.1631, 19.3056, 80.5604)
Luminance0.1930 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54DEB #93EB4D
analogous
#564DEB #A54DEB #EB4DE2
triadic
#A54DEB #EBA54D #4DEBA5
tetradic
#A54DEB #EB564D #93EB4D #4DE2EB
square
#A54DEB #EB564D #93EB4D #4DE2EB
split-complementary
#A54DEB #E2EB4D #4DEB56
monochromatic
#6713AA #8919E1 #A54DEB #C184F1 #DDBBF7

Accessibility & contrast

On white

4.32
#A54DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.86
#A54DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54DEB
4.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54DEB#FFFFFF#000000##000000
##A54DEB1.004.324.864.86
#FFFFFF4.321.0021.0021.00
#0000004.8621.001.001.00
##0000004.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#1E7AE8
Tritanopia (blue-blind)
#997096
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a54deb;
/* rgb */ color: rgb(165, 77, 235);
/* oklch */ color: oklch(60.6% 0.229 306.2);
Tailwind
colors: {
  custom: {
    50: '#c585f2',
    500: '#a54deb',
    950: '#000000',
  },
}
SCSS
$custom: #a54deb;
$custom-light: #c585f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54deb",
  "rgb": {
    "r": 165,
    "g": 77,
    "b": 235
  },
  "hsl": {
    "h": 273.418,
    "s": 79.798,
    "l": 61.176
  },
  "oklch": {
    "l": 0.60567,
    "c": 0.22949,
    "h": 306.2
  },
  "luminance": 0.19305
}

Semantic roles & 50–950 ramp

primary
#A54DEB
secondary
#C7E8AC
accent
#DC0967
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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