#A045C4#A045C4

#A045C4 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.199 H 315.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A045C4
RGBrgb(160, 69, 196)
HSLhsl(283, 52%, 52%)
HSVhsv(283, 65%, 77%)
CMYKcmyk(18.4%, 64.8%, 0%, 23.1%)
CIE-LABlab(46.60, 57.17, -50.23)
CIE-LCHlch(46.60, 76.10, 318.70°)
OKLaboklab(56.45% 0.1409 -0.1411)
OKLCHoklch(56.45% 0.199 315)
XYZxyz(26.5875, 15.7162, 53.8468)
Luminance0.1572 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045C4 #69C445
analogous
#6145C4 #A045C4 #C445A9
triadic
#A045C4 #C4A045 #45C4A0
tetradic
#A045C4 #C46145 #69C445 #45A9C4
square
#A045C4 #C46145 #69C445 #45A9C4
split-complementary
#A045C4 #A9C445 #45C461
monochromatic
#57226C #7D319B #A045C4 #B873D3 #CFA2E1

Accessibility & contrast

On white

5.07
#A045C4 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.14
#A045C4 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045C4
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045C4#FFFFFF#000000##FFFFFF
##A045C41.005.074.145.07
#FFFFFF5.071.0021.001.00
#0000004.1421.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#0A69C8
Deuteranopia (green-blind)
#4271C1
Tritanopia (blue-blind)
#9D5D7F
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a045c4;
/* rgb */ color: rgb(160, 69, 196);
/* oklch */ color: oklch(56.4% 0.199 315.0);
Tailwind
colors: {
  custom: {
    50: '#c07fd6',
    500: '#a045c4',
    950: '#000000',
  },
}
SCSS
$custom: #a045c4;
$custom-light: #c07fd6;
$custom-dark: #000000;
JSON
{
  "hex": "#a045c4",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 196
  },
  "hsl": {
    "h": 282.992,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.56445,
    "c": 0.19943,
    "h": 315
  },
  "luminance": 0.15715
}

Semantic roles & 50–950 ramp

primary
#A045C4
secondary
#A6CE97
accent
#DB4D75
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A045C4

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

Preview Lab → · Contrast checker → · Palette generator →

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