#A045BB#A045BB

#A045BB is a mid, vivid purple. Relative luminance 0.153; OKLCH L 55.9% C 0.191 H 317.7°. Best body text is #FFFFFF at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A045BB
RGBrgb(160, 69, 187)
HSLhsl(286, 46%, 50%)
HSVhsv(286, 63%, 73%)
CMYKcmyk(14.4%, 63.1%, 0%, 26.7%)
CIE-LABlab(46.07, 55.34, -45.85)
CIE-LCHlch(46.07, 71.87, 320.36°)
OKLaboklab(55.89% 0.1411 -0.1283)
OKLCHoklch(55.89% 0.191 317.7)
XYZxyz(25.5937, 15.3187, 48.6127)
Luminance0.1532 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045BB #60BB45
analogous
#6545BB #A045BB #BB459B
triadic
#A045BB #BBA045 #45BBA0
tetradic
#A045BB #BB6545 #60BB45 #459BBB
square
#A045BB #BB6545 #60BB45 #459BBB
split-complementary
#A045BB #9BBB45 #45BB65
monochromatic
#542462 #7A348F #A045BB #B772CB #CE9FDC

Accessibility & contrast

On white

5.17
#A045BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.06
#A045BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045BB
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045BB#FFFFFF#000000##FFFFFF
##A045BB1.005.174.065.17
#FFFFFF5.171.0021.001.00
#0000004.0621.001.0021.00
##FFFFFF5.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2067BF
Deuteranopia (green-blind)
#4970B8
Tritanopia (blue-blind)
#9F5A7A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a045bb;
/* rgb */ color: rgb(160, 69, 187);
/* oklch */ color: oklch(55.9% 0.191 317.7);
Tailwind
colors: {
  custom: {
    50: '#bf7ed0',
    500: '#a045bb',
    950: '#000000',
  },
}
SCSS
$custom: #a045bb;
$custom-light: #bf7ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#a045bb",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 286.271,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.55889,
    "c": 0.1907,
    "h": 317.7
  },
  "luminance": 0.15318
}

Semantic roles & 50–950 ramp

primary
#A045BB
secondary
#A0C894
accent
#D65270
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A045BB

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

Preview Lab → · Contrast checker → · Palette generator →

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