#A045CC#A045CC

#A045CC is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.207 H 312.7°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A045CC
RGBrgb(160, 69, 204)
HSLhsl(280, 57%, 54%)
HSVhsv(280, 66%, 80%)
CMYKcmyk(21.6%, 66.2%, 0%, 20%)
CIE-LABlab(47.09, 58.84, -54.06)
CIE-LCHlch(47.09, 79.90, 317.42°)
OKLaboklab(56.96% 0.1405 -0.1523)
OKLCHoklch(56.96% 0.207 312.7)
XYZxyz(27.5225, 16.0902, 58.7709)
Luminance0.1609 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045CC #71CC45
analogous
#5C45CC #A045CC #CC45B5
triadic
#A045CC #CCA045 #45CCA0
tetradic
#A045CC #CC5C45 #71CC45 #45B5CC
square
#A045CC #CC5C45 #71CC45 #45B5CC
split-complementary
#A045CC #B5CC45 #45CC5C
monochromatic
#5A2076 #7F2EA6 #A045CC #B975D9 #D1A5E6

Accessibility & contrast

On white

4.98
#A045CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A045CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045CC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045CC#FFFFFF#000000##FFFFFF
##A045CC1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#3A72C9
Tritanopia (blue-blind)
#9B6083
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a045cc;
/* rgb */ color: rgb(160, 69, 204);
/* oklch */ color: oklch(57.0% 0.207 312.7);
Tailwind
colors: {
  custom: {
    50: '#c07fdc',
    500: '#a045cc',
    950: '#000000',
  },
}
SCSS
$custom: #a045cc;
$custom-light: #c07fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a045cc",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 280.444,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.56957,
    "c": 0.20725,
    "h": 312.7
  },
  "luminance": 0.16089
}

Semantic roles & 50–950 ramp

primary
#A045CC
secondary
#ACD399
accent
#E04879
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A045CC

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

Preview Lab → · Contrast checker → · Palette generator →

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