#A04DCB#A04DCB

#A04DCB is a mid, vivid violet. Relative luminance 0.171; OKLCH L 57.9% C 0.195 H 312.2°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A04DCB
RGBrgb(160, 77, 203)
HSLhsl(280, 55%, 55%)
HSVhsv(280, 62%, 80%)
CMYKcmyk(21.2%, 62.1%, 0%, 20.4%)
CIE-LABlab(48.38, 54.92, -51.42)
CIE-LCHlch(48.38, 75.24, 316.88°)
OKLaboklab(57.87% 0.1313 -0.1446)
OKLCHoklch(57.87% 0.195 312.2)
XYZxyz(27.9286, 17.0938, 58.3165)
Luminance0.1709 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04DCB #78CB4D
analogous
#614DCB #A04DCB #CB4DB7
triadic
#A04DCB #CBA04D #4DCBA0
tetradic
#A04DCB #CB614D #78CB4D #4DB7CB
square
#A04DCB #CB614D #78CB4D #4DB7CB
split-complementary
#A04DCB #B7CB4D #4DCB61
monochromatic
#5D247A #8031A9 #A04DCB #B97CD9 #D3ACE7

Accessibility & contrast

On white

4.75
#A04DCB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.42
#A04DCB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04DCB
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04DCB#FFFFFF#000000##FFFFFF
##A04DCB1.004.754.424.75
#FFFFFF4.751.0021.001.00
#0000004.4221.001.0021.00
##FFFFFF4.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#186FCF
Deuteranopia (green-blind)
#4375C8
Tritanopia (blue-blind)
#9B6585
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04dcb;
/* rgb */ color: rgb(160, 77, 203);
/* oklch */ color: oklch(57.9% 0.195 312.2);
Tailwind
colors: {
  custom: {
    50: '#bf83db',
    500: '#a04dcb',
    950: '#000000',
  },
}
SCSS
$custom: #a04dcb;
$custom-light: #bf83db;
$custom-dark: #000000;
JSON
{
  "hex": "#a04dcb",
  "rgb": {
    "r": 160,
    "g": 77,
    "b": 203
  },
  "hsl": {
    "h": 279.524,
    "s": 54.783,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57865,
    "c": 0.19536,
    "h": 312.2
  },
  "luminance": 0.17093
}

Semantic roles & 50–950 ramp

primary
#A04DCB
secondary
#B1D49F
accent
#DE4A7C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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