#A045C2#A045C2

#A045C2 is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.197 H 315.6°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A045C2
RGBrgb(160, 69, 194)
HSLhsl(284, 51%, 52%)
HSVhsv(284, 64%, 76%)
CMYKcmyk(17.5%, 64.4%, 0%, 23.9%)
CIE-LABlab(46.48, 56.76, -49.26)
CIE-LCHlch(46.48, 75.16, 319.05°)
OKLaboklab(56.32% 0.141 -0.1383)
OKLCHoklch(56.32% 0.197 315.6)
XYZxyz(26.3614, 15.6258, 52.6559)
Luminance0.1563 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045C2 #67C245
analogous
#6245C2 #A045C2 #C245A6
triadic
#A045C2 #C2A045 #45C2A0
tetradic
#A045C2 #C26245 #67C245 #45A6C2
square
#A045C2 #C26245 #67C245 #45A6C2
split-complementary
#A045C2 #A6C245 #45C262
monochromatic
#57236A #7C3298 #A045C2 #B873D1 #CFA1E0

Accessibility & contrast

On white

5.09
#A045C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A045C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045C2
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045C2#FFFFFF#000000##FFFFFF
##A045C21.005.094.125.09
#FFFFFF5.091.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1169C6
Deuteranopia (green-blind)
#4471BF
Tritanopia (blue-blind)
#9E5C7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a045c2;
/* rgb */ color: rgb(160, 69, 194);
/* oklch */ color: oklch(56.3% 0.197 315.6);
Tailwind
colors: {
  custom: {
    50: '#bf7fd5',
    500: '#a045c2',
    950: '#000000',
  },
}
SCSS
$custom: #a045c2;
$custom-light: #bf7fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a045c2",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 283.68,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56319,
    "c": 0.19748,
    "h": 315.6
  },
  "luminance": 0.15625
}

Semantic roles & 50–950 ramp

primary
#A045C2
secondary
#A5CD96
accent
#DA4E74
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A045C2

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

Preview Lab → · Contrast checker → · Palette generator →

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