#A54CE3#A54CE3

#A54CE3 is a mid, highly saturated violet. Relative luminance 0.187; OKLCH L 59.9% C 0.223 H 308.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#A54CE3
RGBrgb(165, 76, 227)
HSLhsl(275, 73%, 59%)
HSVhsv(275, 67%, 89%)
CMYKcmyk(27.3%, 66.5%, 0%, 11%)
CIE-LABlab(50.35, 61.71, -61.91)
CIE-LCHlch(50.35, 87.41, 314.91°)
OKLaboklab(59.9% 0.1374 -0.1752)
OKLCHoklch(59.9% 0.223 308.1)
XYZxyz(31.9638, 18.7147, 74.5866)
Luminance0.1871 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CE3 #8AE34C
analogous
#5A4CE3 #A54CE3 #E34CD6
triadic
#A54CE3 #E3A54C #4CE3A5
tetradic
#A54CE3 #E35A4C #8AE34C #4CD6E3
square
#A54CE3 #E35A4C #8AE34C #4CD6E3
split-complementary
#A54CE3 #D6E34C #4CE35A
monochromatic
#66189C #8921D1 #A54CE3 #C081EB #DAB6F4

Accessibility & contrast

On white

4.43
#A54CE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.74
#A54CE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CE3
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CE3#FFFFFF#000000##000000
##A54CE31.004.434.744.74
#FFFFFF4.431.0021.0021.00
#0000004.7421.001.001.00
##0000004.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E8
Deuteranopia (green-blind)
#2C79E0
Tritanopia (blue-blind)
#9B6C91
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54ce3;
/* rgb */ color: rgb(165, 76, 227);
/* oklch */ color: oklch(59.9% 0.223 308.1);
Tailwind
colors: {
  custom: {
    50: '#c484ed',
    500: '#a54ce3',
    950: '#000000',
  },
}
SCSS
$custom: #a54ce3;
$custom-light: #c484ed;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ce3",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 227
  },
  "hsl": {
    "h": 275.364,
    "s": 72.947,
    "l": 59.412
  },
  "oklch": {
    "l": 0.59905,
    "c": 0.22268,
    "h": 308.1
  },
  "luminance": 0.18714
}

Semantic roles & 50–950 ramp

primary
#A54CE3
secondary
#C0E3A8
accent
#F03883
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54CE3

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

Preview Lab → · Contrast checker → · Palette generator →

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