#A04CCC#A04CCC

#A04CCC is a mid, vivid violet. Relative luminance 0.170; OKLCH L 57.8% C 0.198 H 312.1°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).

Color values

HEX#A04CCC
RGBrgb(160, 76, 204)
HSLhsl(279, 56%, 55%)
HSVhsv(279, 63%, 80%)
CMYKcmyk(21.6%, 62.7%, 0%, 20%)
CIE-LABlab(48.26, 55.61, -52.18)
CIE-LCHlch(48.26, 76.26, 316.82°)
OKLaboklab(57.8% 0.1325 -0.1469)
OKLCHoklch(57.8% 0.198 312.1)
XYZxyz(27.9788, 17.0028, 58.9230)
Luminance0.1700 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A04CCC #78CC4C
analogous
#604CCC #A04CCC #CC4CB8
triadic
#A04CCC #CCA04C #4CCCA0
tetradic
#A04CCC #CC604C #78CC4C #4CB8CC
square
#A04CCC #CC604C #78CC4C #4CB8CC
split-complementary
#A04CCC #B8CC4C #4CCC60
monochromatic
#5D237B #8031AA #A04CCC #B97CDA #D3ABE7

Accessibility & contrast

On white

4.77
#A04CCC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.40
#A04CCC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A04CCC
4.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A04CCC#FFFFFF#000000##FFFFFF
##A04CCC1.004.774.404.77
#FFFFFF4.771.0021.001.00
#0000004.4021.001.0021.00
##FFFFFF4.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#126ED0
Deuteranopia (green-blind)
#4274C9
Tritanopia (blue-blind)
#9B6585
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #a04ccc;
/* rgb */ color: rgb(160, 76, 204);
/* oklch */ color: oklch(57.8% 0.198 312.1);
Tailwind
colors: {
  custom: {
    50: '#c083dc',
    500: '#a04ccc',
    950: '#000000',
  },
}
SCSS
$custom: #a04ccc;
$custom-light: #c083dc;
$custom-dark: #000000;
JSON
{
  "hex": "#a04ccc",
  "rgb": {
    "r": 160,
    "g": 76,
    "b": 204
  },
  "hsl": {
    "h": 279.375,
    "s": 55.652,
    "l": 54.902
  },
  "oklch": {
    "l": 0.57802,
    "c": 0.19779,
    "h": 312.1
  },
  "luminance": 0.17002
}

Semantic roles & 50–950 ramp

primary
#A04CCC
secondary
#B1D59F
accent
#DF497C
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A04CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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