#A54FCB#A54FCB

#A54FCB is a mid, vivid purple. Relative luminance 0.179; OKLCH L 58.7% C 0.194 H 314.0°. Best body text is #000000 at 4.58:1 contrast (WCAG AA passes).

Color values

HEX#A54FCB
RGBrgb(165, 79, 203)
HSLhsl(282, 54%, 55%)
HSVhsv(282, 61%, 80%)
CMYKcmyk(18.7%, 61.1%, 0%, 20.4%)
CIE-LABlab(49.38, 55.15, -49.79)
CIE-LCHlch(49.38, 74.30, 317.93°)
OKLaboklab(58.73% 0.1351 -0.1397)
OKLCHoklch(58.73% 0.194 314)
XYZxyz(29.0907, 17.9040, 58.4117)
Luminance0.1790 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54FCB #75CB4F
analogous
#674FCB #A54FCB #CB4FB3
triadic
#A54FCB #CBA54F #4FCBA5
tetradic
#A54FCB #CB674F #75CB4F #4FB3CB
square
#A54FCB #CB674F #75CB4F #4FB3CB
split-complementary
#A54FCB #B3CB4F #4FCB67
monochromatic
#61247B #8632AA #A54FCB #BD7ED9 #D5ADE7

Accessibility & contrast

On white

4.58
#A54FCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#A54FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54FCB
4.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54FCB#FFFFFF#000000##000000
##A54FCB1.004.584.584.58
#FFFFFF4.581.0021.0021.00
#0000004.5821.001.001.00
##0000004.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2471CF
Deuteranopia (green-blind)
#4A78C8
Tritanopia (blue-blind)
#A26586
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a54fcb;
/* rgb */ color: rgb(165, 79, 203);
/* oklch */ color: oklch(58.7% 0.194 314.0);
Tailwind
colors: {
  custom: {
    50: '#c385db',
    500: '#a54fcb',
    950: '#000000',
  },
}
SCSS
$custom: #a54fcb;
$custom-light: #c385db;
$custom-dark: #000000;
JSON
{
  "hex": "#a54fcb",
  "rgb": {
    "r": 165,
    "g": 79,
    "b": 203
  },
  "hsl": {
    "h": 281.613,
    "s": 54.386,
    "l": 55.294
  },
  "oklch": {
    "l": 0.5873,
    "c": 0.19437,
    "h": 314
  },
  "luminance": 0.17903
}

Semantic roles & 50–950 ramp

primary
#A54FCB
secondary
#B1D5A1
accent
#DE4A77
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A54FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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