#A045BC#A045BC

#A045BC is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.0% C 0.192 H 317.4°. Best body text is #FFFFFF at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A045BC
RGBrgb(160, 69, 188)
HSLhsl(286, 47%, 50%)
HSVhsv(286, 63%, 74%)
CMYKcmyk(14.9%, 63.3%, 0%, 26.3%)
CIE-LABlab(46.13, 55.54, -46.34)
CIE-LCHlch(46.13, 72.33, 320.16°)
OKLaboklab(55.95% 0.1411 -0.1297)
OKLCHoklch(55.95% 0.192 317.4)
XYZxyz(25.7011, 15.3617, 49.1785)
Luminance0.1536 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045BC #61BC45
analogous
#6445BC #A045BC #BC459D
triadic
#A045BC #BCA045 #45BCA0
tetradic
#A045BC #BC6445 #61BC45 #459DBC
square
#A045BC #BC6445 #61BC45 #459DBC
split-complementary
#A045BC #9DBC45 #45BC64
monochromatic
#542463 #7A3490 #A045BC #B772CC #CE9FDC

Accessibility & contrast

On white

5.16
#A045BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.07
#A045BC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045BC
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045BC#FFFFFF#000000##FFFFFF
##A045BC1.005.164.075.16
#FFFFFF5.161.0021.001.00
#0000004.0721.001.0021.00
##FFFFFF5.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1E67C0
Deuteranopia (green-blind)
#4870B9
Tritanopia (blue-blind)
#9F5A7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a045bc;
/* rgb */ color: rgb(160, 69, 188);
/* oklch */ color: oklch(56.0% 0.192 317.4);
Tailwind
colors: {
  custom: {
    50: '#bf7fd1',
    500: '#a045bc',
    950: '#000000',
  },
}
SCSS
$custom: #a045bc;
$custom-light: #bf7fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a045bc",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 285.882,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.5595,
    "c": 0.19166,
    "h": 317.4
  },
  "luminance": 0.15361
}

Semantic roles & 50–950 ramp

primary
#A045BC
secondary
#A0C994
accent
#D75171
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A045BC

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

Preview Lab → · Contrast checker → · Palette generator →

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