#A045C8#A045C8

#A045C8 is a mid, highly saturated purple. Relative luminance 0.159; OKLCH L 56.7% C 0.203 H 313.8°. Best body text is #FFFFFF at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A045C8
RGBrgb(160, 69, 200)
HSLhsl(282, 54%, 53%)
HSVhsv(282, 66%, 78%)
CMYKcmyk(20%, 65.5%, 0%, 21.6%)
CIE-LABlab(46.84, 58.00, -52.15)
CIE-LCHlch(46.84, 78.00, 318.04°)
OKLaboklab(56.7% 0.1408 -0.1467)
OKLCHoklch(56.7% 0.203 313.8)
XYZxyz(27.0489, 15.9008, 56.2767)
Luminance0.1590 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045C8 #6DC845
analogous
#5E45C8 #A045C8 #C845AF
triadic
#A045C8 #C8A045 #45C8A0
tetradic
#A045C8 #C85E45 #6DC845 #45AFC8
square
#A045C8 #C85E45 #6DC845 #45AFC8
split-complementary
#A045C8 #AFC845 #45C85E
monochromatic
#592171 #7E2FA0 #A045C8 #B874D6 #D0A3E4

Accessibility & contrast

On white

5.02
#A045C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.18
#A045C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045C8
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045C8#FFFFFF#000000##FFFFFF
##A045C81.005.024.185.02
#FFFFFF5.021.0021.001.00
#0000004.1821.001.0021.00
##FFFFFF5.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#3E71C5
Tritanopia (blue-blind)
#9C5E81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a045c8;
/* rgb */ color: rgb(160, 69, 200);
/* oklch */ color: oklch(56.7% 0.203 313.8);
Tailwind
colors: {
  custom: {
    50: '#c07fd9',
    500: '#a045c8',
    950: '#000000',
  },
}
SCSS
$custom: #a045c8;
$custom-light: #c07fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a045c8",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 281.679,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56699,
    "c": 0.20334,
    "h": 313.8
  },
  "luminance": 0.159
}

Semantic roles & 50–950 ramp

primary
#A045C8
secondary
#A9D198
accent
#DE4A77
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A045C8

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

Preview Lab → · Contrast checker → · Palette generator →

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