#A54CDB#A54CDB

#A54CDB is a mid, highly saturated violet. Relative luminance 0.183; OKLCH L 59.4% C 0.215 H 310.0°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#A54CDB
RGBrgb(165, 76, 219)
HSLhsl(277, 67%, 58%)
HSVhsv(277, 65%, 86%)
CMYKcmyk(24.7%, 65.3%, 0%, 14.1%)
CIE-LABlab(49.84, 59.96, -58.20)
CIE-LCHlch(49.84, 83.56, 315.86°)
OKLaboklab(59.37% 0.1381 -0.1643)
OKLCHoklch(59.37% 0.215 310)
XYZxyz(30.8852, 18.2833, 68.9061)
Luminance0.1828 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A54CDB #82DB4C
analogous
#5D4CDB #A54CDB #DB4CC9
triadic
#A54CDB #DBA54C #4CDBA5
tetradic
#A54CDB #DB5D4C #82DB4C #4CC9DB
square
#A54CDB #DB5D4C #82DB4C #4CC9DB
split-complementary
#A54CDB #C9DB4C #4CDB5D
monochromatic
#641D90 #8827C3 #A54CDB #BF7FE5 #D8B2EF

Accessibility & contrast

On white

4.51
#A54CDB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#A54CDB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A54CDB
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A54CDB#FFFFFF#000000##000000
##A54CDB1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0073DF
Deuteranopia (green-blind)
#3878D8
Tritanopia (blue-blind)
#9E698D
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #a54cdb;
/* rgb */ color: rgb(165, 76, 219);
/* oklch */ color: oklch(59.4% 0.215 310.0);
Tailwind
colors: {
  custom: {
    50: '#c484e7',
    500: '#a54cdb',
    950: '#000000',
  },
}
SCSS
$custom: #a54cdb;
$custom-light: #c484e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a54cdb",
  "rgb": {
    "r": 165,
    "g": 76,
    "b": 219
  },
  "hsl": {
    "h": 277.343,
    "s": 66.512,
    "l": 57.843
  },
  "oklch": {
    "l": 0.59372,
    "c": 0.21464,
    "h": 310
  },
  "luminance": 0.18283
}

Semantic roles & 50–950 ramp

primary
#A54CDB
secondary
#BADEA5
accent
#E93E7F
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A54CDB

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

Preview Lab → · Contrast checker → · Palette generator →

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