#A54EEB#A54EEB

#A54EEB is a mid, highly saturated violet. Relative luminance 0.194; OKLCH L 60.7% C 0.228 H 306.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A54EEB
RGBrgb(165, 78, 235)
HSLhsl(273, 80%, 61%)
HSVhsv(273, 67%, 92%)
CMYKcmyk(29.8%, 66.8%, 0%, 7.8%)
CIE-LABlab(51.21, 62.57, -65.04)
CIE-LCHlch(51.21, 90.25, 313.89°)
OKLaboklab(60.68% 0.1345 -0.1844)
OKLCHoklch(60.68% 0.228 306.1)
XYZxyz(33.2336, 19.4466, 80.5839)
Luminance0.1945 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EEB #94EB4E
analogous
#574EEB #A54EEB #EB4EE3
triadic
#A54EEB #EBA54E #4EEBA5
tetradic
#A54EEB #EB574E #94EB4E #4EE3EB
square
#A54EEB #EB574E #94EB4E #4EE3EB
split-complementary
#A54EEB #E3EB4E #4EEB57
monochromatic
#6813AB #891AE2 #A54EEB #C185F1 #DDBCF7

Accessibility & contrast

On white

4.30
#A54EEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A54EEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54EEB
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EEB#FFFFFF#000000##000000
##A54EEB1.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0077F0
Deuteranopia (green-blind)
#207AE8
Tritanopia (blue-blind)
#997196
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a54eeb;
/* rgb */ color: rgb(165, 78, 235);
/* oklch */ color: oklch(60.7% 0.228 306.1);
Tailwind
colors: {
  custom: {
    50: '#c585f2',
    500: '#a54eeb',
    950: '#000000',
  },
}
SCSS
$custom: #a54eeb;
$custom-light: #c585f2;
$custom-dark: #000000;
JSON
{
  "hex": "#a54eeb",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 235
  },
  "hsl": {
    "h": 273.248,
    "s": 79.695,
    "l": 61.373
  },
  "oklch": {
    "l": 0.60684,
    "c": 0.22826,
    "h": 306.1
  },
  "luminance": 0.19446
}

Semantic roles & 50–950 ramp

primary
#A54EEB
secondary
#C7E8AD
accent
#DC0967
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54EEB

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

Preview Lab → · Contrast checker → · Palette generator →

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