#A145BE#A145BE

#A145BE is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.2% C 0.194 H 317.2°. Best body text is #FFFFFF at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A145BE
RGBrgb(161, 69, 190)
HSLhsl(286, 48%, 51%)
HSVhsv(286, 64%, 75%)
CMYKcmyk(15.3%, 63.7%, 0%, 25.5%)
CIE-LABlab(46.38, 56.19, -47.09)
CIE-LCHlch(46.38, 73.31, 320.04°)
OKLaboklab(56.2% 0.1423 -0.1319)
OKLCHoklch(56.2% 0.194 317.2)
XYZxyz(26.1190, 15.5520, 50.3312)
Luminance0.1555 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145BE #62BE45
analogous
#6445BE #A145BE #BE459E
triadic
#A145BE #BEA145 #45BEA1
tetradic
#A145BE #BE6445 #62BE45 #459EBE
square
#A145BE #BE6445 #62BE45 #459EBE
split-complementary
#A145BE #9EBE45 #45BE64
monochromatic
#552365 #7C3393 #A145BE #B872CE #CFA0DE

Accessibility & contrast

On white

5.11
#A145BE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.11
#A145BE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145BE
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145BE#FFFFFF#000000##FFFFFF
##A145BE1.005.114.115.11
#FFFFFF5.111.0021.001.00
#0000004.1121.001.0021.00
##FFFFFF5.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1C68C2
Deuteranopia (green-blind)
#4871BB
Tritanopia (blue-blind)
#A05B7B
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a145be;
/* rgb */ color: rgb(161, 69, 190);
/* oklch */ color: oklch(56.2% 0.194 317.2);
Tailwind
colors: {
  custom: {
    50: '#c07fd2',
    500: '#a145be',
    950: '#000000',
  },
}
SCSS
$custom: #a145be;
$custom-light: #c07fd2;
$custom-dark: #000000;
JSON
{
  "hex": "#a145be",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 190
  },
  "hsl": {
    "h": 285.62,
    "s": 48.207,
    "l": 50.784
  },
  "oklch": {
    "l": 0.56201,
    "c": 0.19401,
    "h": 317.2
  },
  "luminance": 0.15551
}

Semantic roles & 50–950 ramp

primary
#A145BE
secondary
#A1CA95
accent
#D85071
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A145BE

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

Preview Lab → · Contrast checker → · Palette generator →

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