#A54CE7#A54CE7

#A54CE7 is a mid, highly saturated violet. Relative luminance 0.189; OKLCH L 60.2% C 0.227 H 307.2°. Best body text is #000000 at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#A54CE7
RGBrgb(165, 76, 231)
HSLhsl(274, 76%, 60%)
HSVhsv(274, 67%, 91%)
CMYKcmyk(28.6%, 67.1%, 0%, 9.4%)
CIE-LABlab(50.61, 62.59, -63.74)
CIE-LCHlch(50.61, 89.33, 314.48°)
OKLaboklab(60.18% 0.137 -0.1806)
OKLCHoklch(60.18% 0.227 307.2)
XYZxyz(32.5223, 18.9381, 77.5279)
Luminance0.1894 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CE7 #8EE74C
analogous
#584CE7 #A54CE7 #E74CDB
triadic
#A54CE7 #E7A54C #4CE7A5
tetradic
#A54CE7 #E7584C #8EE74C #4CDBE7
square
#A54CE7 #E7584C #8EE74C #4CDBE7
split-complementary
#A54CE7 #DBE74C #4CE758
monochromatic
#6716A3 #891DD9 #A54CE7 #C082EE #DBB8F5

Accessibility & contrast

On white

4.39
#A54CE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.79
#A54CE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CE7
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CE7#FFFFFF#000000##000000
##A54CE71.004.394.794.79
#FFFFFF4.391.0021.0021.00
#0000004.7921.001.001.00
##0000004.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075EC
Deuteranopia (green-blind)
#2579E4
Tritanopia (blue-blind)
#9A6E94
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a54ce7;
/* rgb */ color: rgb(165, 76, 231);
/* oklch */ color: oklch(60.2% 0.227 307.2);
Tailwind
colors: {
  custom: {
    50: '#c484ef',
    500: '#a54ce7',
    950: '#000000',
  },
}
SCSS
$custom: #a54ce7;
$custom-light: #c484ef;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ce7",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 231
  },
  "hsl": {
    "h": 274.452,
    "s": 76.355,
    "l": 60.196
  },
  "oklch": {
    "l": 0.60177,
    "c": 0.2267,
    "h": 307.2
  },
  "luminance": 0.18938
}

Semantic roles & 50–950 ramp

primary
#A54CE7
secondary
#C3E5AA
accent
#D90D64
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130B17
muted
#827C85

Preview Lab

Preview with #A54CE7

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

Preview Lab → · Contrast checker → · Palette generator →

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