#A045BE#A045BE

#A045BE is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.1% C 0.194 H 316.8°. Best body text is #FFFFFF at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A045BE
RGBrgb(160, 69, 190)
HSLhsl(285, 48%, 51%)
HSVhsv(285, 64%, 75%)
CMYKcmyk(15.8%, 63.7%, 0%, 25.5%)
CIE-LABlab(46.24, 55.95, -47.32)
CIE-LCHlch(46.24, 73.27, 319.78°)
OKLaboklab(56.07% 0.1411 -0.1326)
OKLCHoklch(56.07% 0.194 316.8)
XYZxyz(25.9182, 15.4485, 50.3218)
Luminance0.1545 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A045BE #63BE45
analogous
#6345BE #A045BE #BE459F
triadic
#A045BE #BEA045 #45BEA0
tetradic
#A045BE #BE6345 #63BE45 #459FBE
square
#A045BE #BE6345 #63BE45 #459FBE
split-complementary
#A045BE #9FBE45 #45BE63
monochromatic
#552365 #7B3393 #A045BE #B772CE #CEA0DE

Accessibility & contrast

On white

5.13
#A045BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.09
#A045BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A045BE
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A045BE#FFFFFF#000000##FFFFFF
##A045BE1.005.134.095.13
#FFFFFF5.131.0021.001.00
#0000004.0921.001.0021.00
##FFFFFF5.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1B68C2
Deuteranopia (green-blind)
#4770BB
Tritanopia (blue-blind)
#9F5B7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a045be;
/* rgb */ color: rgb(160, 69, 190);
/* oklch */ color: oklch(56.1% 0.194 316.8);
Tailwind
colors: {
  custom: {
    50: '#bf7fd2',
    500: '#a045be',
    950: '#000000',
  },
}
SCSS
$custom: #a045be;
$custom-light: #bf7fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a045be",
  "rgb": {
    "r": 160,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 285.124,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56072,
    "c": 0.19359,
    "h": 316.8
  },
  "luminance": 0.15448
}

Semantic roles & 50–950 ramp

primary
#A045BE
secondary
#A2CA95
accent
#D85072
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A045BE

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

Preview Lab → · Contrast checker → · Palette generator →

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