#A548DB#A548DB

#A548DB is a mid, highly saturated violet. Relative luminance 0.177; OKLCH L 58.9% C 0.220 H 310.4°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#A548DB
RGBrgb(165, 72, 219)
HSLhsl(278, 67%, 57%)
HSVhsv(278, 67%, 86%)
CMYKcmyk(24.7%, 67.1%, 0%, 14.1%)
CIE-LABlab(49.19, 61.76, -59.24)
CIE-LCHlch(49.19, 85.58, 316.19°)
OKLaboklab(58.91% 0.1424 -0.1674)
OKLCHoklch(58.91% 0.22 310.4)
XYZxyz(30.6181, 17.7492, 68.8171)
Luminance0.1775 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A548DB #7EDB48
analogous
#5C48DB #A548DB #DB48C8
triadic
#A548DB #DBA548 #48DBA5
tetradic
#A548DB #DB5C48 #7EDB48 #48C8DB
square
#A548DB #DB5C48 #7EDB48 #48C8DB
split-complementary
#A548DB #C8DB48 #48DB5C
monochromatic
#631C8D #8726C0 #A548DB #BE7BE5 #D7AEEF

Accessibility & contrast

On white

4.62
#A548DB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#A548DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #A548DB
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A548DB#FFFFFF#000000##FFFFFF
##A548DB1.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0071DF
Deuteranopia (green-blind)
#3276D8
Tritanopia (blue-blind)
#9E678C
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #a548db;
/* rgb */ color: rgb(165, 72, 219);
/* oklch */ color: oklch(58.9% 0.220 310.4);
Tailwind
colors: {
  custom: {
    50: '#c482e7',
    500: '#a548db',
    950: '#000000',
  },
}
SCSS
$custom: #a548db;
$custom-light: #c482e7;
$custom-dark: #000000;
JSON
{
  "hex": "#a548db",
  "rgb": {
    "r": 165,
    "g": 72,
    "b": 219
  },
  "hsl": {
    "h": 277.959,
    "s": 67.123,
    "l": 57.059
  },
  "oklch": {
    "l": 0.58907,
    "c": 0.21977,
    "h": 310.4
  },
  "luminance": 0.17749
}

Semantic roles & 50–950 ramp

primary
#A548DB
secondary
#B7DDA2
accent
#EA3E7D
background
#FCF8FE
surface
#F8EFFC
border
#D1CAD5
text
#130B16
muted
#827C84

Preview Lab

Preview with #A548DB

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

Preview Lab → · Contrast checker → · Palette generator →

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