#A045C9#A045C9

#A045C9 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.8% C 0.204 H 313.5°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A045C9
RGBrgb(160, 69, 201)
HSLhsl(281, 55%, 53%)
HSVhsv(281, 66%, 79%)
CMYKcmyk(20.4%, 65.7%, 0%, 21.2%)
CIE-LABlab(46.91, 58.21, -52.63)
CIE-LCHlch(46.91, 78.48, 317.88°)
OKLaboklab(56.76% 0.1407 -0.1481)
OKLCHoklch(56.76% 0.204 313.5)
XYZxyz(27.1661, 15.9477, 56.8942)
Luminance0.1595 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045C9 #6EC945
analogous
#5E45C9 #A045C9 #C945B0
triadic
#A045C9 #C9A045 #45C9A0
tetradic
#A045C9 #C95E45 #6EC945 #45B0C9
square
#A045C9 #C95E45 #6EC945 #45B0C9
split-complementary
#A045C9 #B0C945 #45C95E
monochromatic
#592172 #7E2FA2 #A045C9 #B874D7 #D0A4E5

Accessibility & contrast

On white

5.01
#A045C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.19
#A045C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045C9
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045C9#FFFFFF#000000##FFFFFF
##A045C91.005.014.195.01
#FFFFFF5.011.0021.001.00
#0000004.1921.001.0021.00
##FFFFFF5.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#3D71C6
Tritanopia (blue-blind)
#9C5F81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a045c9;
/* rgb */ color: rgb(160, 69, 201);
/* oklch */ color: oklch(56.8% 0.204 313.5);
Tailwind
colors: {
  custom: {
    50: '#c07fda',
    500: '#a045c9',
    950: '#000000',
  },
}
SCSS
$custom: #a045c9;
$custom-light: #c07fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a045c9",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 281.364,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56763,
    "c": 0.20432,
    "h": 313.5
  },
  "luminance": 0.15947
}

Semantic roles & 50–950 ramp

primary
#A045C9
secondary
#AAD198
accent
#DE4978
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A045C9

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

Preview Lab → · Contrast checker → · Palette generator →

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