#A54CE9#A54CE9

#A54CE9 is a mid, highly saturated violet. Relative luminance 0.191; OKLCH L 60.3% C 0.229 H 306.7°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).

Color values

HEX#A54CE9
RGBrgb(165, 76, 233)
HSLhsl(274, 78%, 61%)
HSVhsv(274, 67%, 91%)
CMYKcmyk(29.2%, 67.4%, 0%, 8.6%)
CIE-LABlab(50.75, 63.03, -64.65)
CIE-LCHlch(50.75, 90.29, 314.27°)
OKLaboklab(60.31% 0.1368 -0.1833)
OKLCHoklch(60.31% 0.229 306.7)
XYZxyz(32.8063, 19.0518, 79.0241)
Luminance0.1905 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CE9 #90E94C
analogous
#574CE9 #A54CE9 #E94CDE
triadic
#A54CE9 #E9A54C #4CE9A5
tetradic
#A54CE9 #E9574C #90E94C #4CDEE9
square
#A54CE9 #E9574C #90E94C #4CDEE9
split-complementary
#A54CE9 #DEE94C #4CE957
monochromatic
#6714A6 #891BDD #A54CE9 #C083F0 #DCB9F6

Accessibility & contrast

On white

4.37
#A54CE9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.81
#A54CE9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CE9
4.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CE9#FFFFFF#000000##000000
##A54CE91.004.374.814.81
#FFFFFF4.371.0021.0021.00
#0000004.8121.001.001.00
##0000004.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076EE
Deuteranopia (green-blind)
#2079E6
Tritanopia (blue-blind)
#9A6F95
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a54ce9;
/* rgb */ color: rgb(165, 76, 233);
/* oklch */ color: oklch(60.3% 0.229 306.7);
Tailwind
colors: {
  custom: {
    50: '#c584f1',
    500: '#a54ce9',
    950: '#000000',
  },
}
SCSS
$custom: #a54ce9;
$custom-light: #c584f1;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ce9",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 233
  },
  "hsl": {
    "h": 274.013,
    "s": 78.109,
    "l": 60.588
  },
  "oklch": {
    "l": 0.60314,
    "c": 0.22871,
    "h": 306.7
  },
  "luminance": 0.19051
}

Semantic roles & 50–950 ramp

primary
#A54CE9
secondary
#C4E6AB
accent
#DA0B65
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54CE9

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

Preview Lab → · Contrast checker → · Palette generator →

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