#A541DB#A541DB

#A541DB is a mid, highly saturated violet. Relative luminance 0.169; OKLCH L 58.1% C 0.228 H 311.0°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#A541DB
RGBrgb(165, 65, 219)
HSLhsl(279, 68%, 56%)
HSVhsv(279, 70%, 86%)
CMYKcmyk(24.7%, 70.3%, 0%, 14.1%)
CIE-LABlab(48.13, 64.74, -60.95)
CIE-LCHlch(48.13, 88.92, 316.73°)
OKLaboklab(58.15% 0.1496 -0.1724)
OKLCHoklch(58.15% 0.228 311)
XYZxyz(30.1911, 16.8951, 68.6748)
Luminance0.1689 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A541DB #77DB41
analogous
#5841DB #A541DB #DB41C4
triadic
#A541DB #DBA541 #41DBA5
tetradic
#A541DB #DB5841 #77DB41 #41C4DB
square
#A541DB #DB5841 #77DB41 #41C4DB
split-complementary
#A541DB #C4DB41 #41DB58
monochromatic
#611A88 #8623BB #A541DB #BD74E5 #D6A8EE

Accessibility & contrast

On white

4.80
#A541DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.38
#A541DB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A541DB
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A541DB#FFFFFF#000000##FFFFFF
##A541DB1.004.804.384.80
#FFFFFF4.801.0021.001.00
#0000004.3821.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006EDF
Deuteranopia (green-blind)
#2974D8
Tritanopia (blue-blind)
#9E638A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #a541db;
/* rgb */ color: rgb(165, 65, 219);
/* oklch */ color: oklch(58.1% 0.228 311.0);
Tailwind
colors: {
  custom: {
    50: '#c47ee7',
    500: '#a541db',
    950: '#000000',
  },
}
SCSS
$custom: #a541db;
$custom-light: #c47ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#a541db",
  "rgb": {
    "r": 165,
    "g": 65,
    "b": 219
  },
  "hsl": {
    "h": 278.961,
    "s": 68.142,
    "l": 55.686
  },
  "oklch": {
    "l": 0.58148,
    "c": 0.22827,
    "h": 311
  },
  "luminance": 0.16894
}

Semantic roles & 50–950 ramp

primary
#A541DB
secondary
#B2DC9C
accent
#EB3D7A
background
#FCF8FE
surface
#F8EFFD
border
#D1CAD5
text
#130A16
muted
#827C84

Preview Lab

Preview with #A541DB

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

Preview Lab → · Contrast checker → · Palette generator →

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