#A045CA#A045CA

#A045CA is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.8% C 0.205 H 313.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A045CA
RGBrgb(160, 69, 202)
HSLhsl(281, 56%, 53%)
HSVhsv(281, 66%, 79%)
CMYKcmyk(20.8%, 65.8%, 0%, 20.8%)
CIE-LABlab(46.97, 58.42, -53.11)
CIE-LCHlch(46.97, 78.95, 317.73°)
OKLaboklab(56.83% 0.1407 -0.1495)
OKLCHoklch(56.83% 0.205 313.2)
XYZxyz(27.2841, 15.9949, 57.5157)
Luminance0.1599 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045CA #6FCA45
analogous
#5D45CA #A045CA #CA45B1
triadic
#A045CA #CAA045 #45CAA0
tetradic
#A045CA #CA5D45 #6FCA45 #45B1CA
square
#A045CA #CA5D45 #6FCA45 #45B1CA
split-complementary
#A045CA #B1CA45 #45CA5D
monochromatic
#5A2174 #7E2FA3 #A045CA #B875D8 #D1A4E5

Accessibility & contrast

On white

5.00
#A045CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A045CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045CA
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045CA#FFFFFF#000000##FFFFFF
##A045CA1.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCE
Deuteranopia (green-blind)
#3C71C7
Tritanopia (blue-blind)
#9C5F82
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a045ca;
/* rgb */ color: rgb(160, 69, 202);
/* oklch */ color: oklch(56.8% 0.205 313.2);
Tailwind
colors: {
  custom: {
    50: '#c07fdb',
    500: '#a045ca',
    950: '#000000',
  },
}
SCSS
$custom: #a045ca;
$custom-light: #c07fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a045ca",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 281.053,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56828,
    "c": 0.20529,
    "h": 313.2
  },
  "luminance": 0.15994
}

Semantic roles & 50–950 ramp

primary
#A045CA
secondary
#ABD299
accent
#DF4978
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A045CA

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

Preview Lab → · Contrast checker → · Palette generator →

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