#A534DB#A534DB

#A534DB is a mid, highly saturated purple. Relative luminance 0.156; OKLCH L 56.9% C 0.242 H 311.8°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A534DB
RGBrgb(165, 52, 219)
HSLhsl(281, 70%, 53%)
HSVhsv(281, 76%, 86%)
CMYKcmyk(24.7%, 76.3%, 0%, 14.1%)
CIE-LABlab(46.41, 69.65, -63.74)
CIE-LCHlch(46.41, 94.41, 317.54°)
OKLaboklab(56.93% 0.1615 -0.1805)
OKLCHoklch(56.93% 0.242 311.8)
XYZxyz(29.5288, 15.5706, 68.4540)
Luminance0.1557 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A534DB #6ADB34
analogous
#5134DB #A534DB #DB34BD
triadic
#A534DB #DBA534 #34DBA5
tetradic
#A534DB #DB5134 #6ADB34 #34BDDB
square
#A534DB #DB5134 #6ADB34 #34BDDB
split-complementary
#A534DB #BDDB34 #34DB51
monochromatic
#5D167E #8320B2 #A534DB #BC68E4 #D39CED

Accessibility & contrast

On white

5.10
#A534DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A534DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A534DB
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A534DB#FFFFFF#000000##FFFFFF
##A534DB1.005.104.115.10
#FFFFFF5.101.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0069E0
Deuteranopia (green-blind)
#1270D8
Tritanopia (blue-blind)
#9E5C87
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a534db;
/* rgb */ color: rgb(165, 52, 219);
/* oklch */ color: oklch(56.9% 0.242 311.8);
Tailwind
colors: {
  custom: {
    50: '#c578e7',
    500: '#a534db',
    950: '#000000',
  },
}
SCSS
$custom: #a534db;
$custom-light: #c578e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a534db",
  "rgb": {
    "r": 165,
    "g": 52,
    "b": 219
  },
  "hsl": {
    "h": 280.599,
    "s": 69.874,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56929,
    "c": 0.2422,
    "h": 311.8
  },
  "luminance": 0.1557
}

Semantic roles & 50–950 ramp

primary
#A534DB
secondary
#A9D991
accent
#ED3B75
background
#FCF7FE
surface
#F9EEFD
border
#D2C9D5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A534DB

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

Preview Lab → · Contrast checker → · Palette generator →

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