#A54FCF#A54FCF

#A54FCF is a mid, vivid purple. Relative luminance 0.181; OKLCH L 59.0% C 0.198 H 312.9°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A54FCF
RGBrgb(165, 79, 207)
HSLhsl(280, 57%, 56%)
HSVhsv(280, 62%, 81%)
CMYKcmyk(20.3%, 61.8%, 0%, 18.8%)
CIE-LABlab(49.61, 55.99, -51.71)
CIE-LCHlch(49.61, 76.22, 317.28°)
OKLaboklab(58.98% 0.1351 -0.1453)
OKLCHoklch(58.98% 0.198 312.9)
XYZxyz(29.5736, 18.0971, 60.9546)
Luminance0.1810 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FCF #79CF4F
analogous
#654FCF #A54FCF #CF4FB9
triadic
#A54FCF #CFA54F #4FCFA5
tetradic
#A54FCF #CF654F #79CF4F #4FB9CF
square
#A54FCF #CF654F #79CF4F #4FB9CF
split-complementary
#A54FCF #B9CF4F #4FCF65
monochromatic
#622381 #8630B1 #A54FCF #BE7FDC #D6AFE9

Accessibility & contrast

On white

4.55
#A54FCF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.62
#A54FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FCF
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FCF#FFFFFF#000000##000000
##A54FCF1.004.554.624.62
#FFFFFF4.551.0021.0021.00
#0000004.6221.001.001.00
##0000004.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C71D3
Deuteranopia (green-blind)
#4778CC
Tritanopia (blue-blind)
#A16788
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #a54fcf;
/* rgb */ color: rgb(165, 79, 207);
/* oklch */ color: oklch(59.0% 0.198 312.9);
Tailwind
colors: {
  custom: {
    50: '#c385de',
    500: '#a54fcf',
    950: '#000000',
  },
}
SCSS
$custom: #a54fcf;
$custom-light: #c385de;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fcf",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 207
  },
  "hsl": {
    "h": 280.313,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.58975,
    "c": 0.19843,
    "h": 312.9
  },
  "luminance": 0.18096
}

Semantic roles & 50–950 ramp

primary
#A54FCF
secondary
#B4D7A2
accent
#E0477A
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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