#A54ECF#A54ECF

#A54ECF is a mid, vivid purple. Relative luminance 0.180; OKLCH L 58.8% C 0.200 H 313.0°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#A54ECF
RGBrgb(165, 78, 207)
HSLhsl(280, 57%, 56%)
HSVhsv(280, 62%, 81%)
CMYKcmyk(20.3%, 62.3%, 0%, 18.8%)
CIE-LABlab(49.44, 56.47, -51.98)
CIE-LCHlch(49.44, 76.75, 317.37°)
OKLaboklab(58.85% 0.1363 -0.1461)
OKLCHoklch(58.85% 0.2 313)
XYZxyz(29.5020, 17.9539, 60.9307)
Luminance0.1795 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54ECF #78CF4E
analogous
#644ECF #A54ECF #CF4EB8
triadic
#A54ECF #CFA54E #4ECFA5
tetradic
#A54ECF #CF644E #78CF4E #4EB8CF
square
#A54ECF #CF644E #78CF4E #4EB8CF
split-complementary
#A54ECF #B8CF4E #4ECF64
monochromatic
#622380 #8630B0 #A54ECF #BD7EDC #D6AEE9

Accessibility & contrast

On white

4.57
#A54ECF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.59
#A54ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54ECF
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54ECF#FFFFFF#000000##000000
##A54ECF1.004.574.594.59
#FFFFFF4.571.0021.0021.00
#0000004.5921.001.001.00
##0000004.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1971D3
Deuteranopia (green-blind)
#4678CC
Tritanopia (blue-blind)
#A16687
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54ecf;
/* rgb */ color: rgb(165, 78, 207);
/* oklch */ color: oklch(58.8% 0.200 313.0);
Tailwind
colors: {
  custom: {
    50: '#c385de',
    500: '#a54ecf',
    950: '#000000',
  },
}
SCSS
$custom: #a54ecf;
$custom-light: #c385de;
$custom-dark: #000000;
JSON
{
  "hex": "#a54ecf",
  "rgb": {
    "r": 165,
    "g": 78,
    "b": 207
  },
  "hsl": {
    "h": 280.465,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.58849,
    "c": 0.19984,
    "h": 313
  },
  "luminance": 0.17953
}

Semantic roles & 50–950 ramp

primary
#A54ECF
secondary
#B3D7A2
accent
#E14779
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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