#A54EE7#A54EE7

#A54EE7 is a mid, highly saturated violet. Relative luminance 0.192; OKLCH L 60.4% C 0.224 H 307.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A54EE7
RGBrgb(165, 78, 231)
HSLhsl(274, 76%, 61%)
HSVhsv(274, 66%, 91%)
CMYKcmyk(28.6%, 66.2%, 0%, 9.4%)
CIE-LABlab(50.94, 61.68, -63.21)
CIE-LCHlch(50.94, 88.32, 314.30°)
OKLaboklab(60.41% 0.1349 -0.1791)
OKLCHoklch(60.41% 0.224 307)
XYZxyz(32.6622, 19.2180, 77.5746)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54EE7 #90E74E
analogous
#594EE7 #A54EE7 #E74EDC
triadic
#A54EE7 #E7A54E #4EE7A5
tetradic
#A54EE7 #E7594E #90E74E #4EDCE7
square
#A54EE7 #E7594E #90E74E #4EDCE7
split-complementary
#A54EE7 #DCE74E #4EE759
monochromatic
#6716A4 #891EDA #A54EE7 #C084EE #DCBAF6

Accessibility & contrast

On white

4.34
#A54EE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A54EE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54EE7
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54EE7#FFFFFF#000000##000000
##A54EE71.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EC
Deuteranopia (green-blind)
#287AE4
Tritanopia (blue-blind)
#9A6F94
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54ee7;
/* rgb */ color: rgb(165, 78, 231);
/* oklch */ color: oklch(60.4% 0.224 307.0);
Tailwind
colors: {
  custom: {
    50: '#c485ef',
    500: '#a54ee7',
    950: '#000000',
  },
}
SCSS
$custom: #a54ee7;
$custom-light: #c485ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ee7",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 231
  },
  "hsl": {
    "h": 274.118,
    "s": 76.119,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60411,
    "c": 0.22419,
    "h": 307
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#A54EE7
secondary
#C4E5AB
accent
#D80D65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54EE7

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

Preview Lab → · Contrast checker → · Palette generator →

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