#A145BC#A145BC

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

Color values

HEX#A145BC
RGBrgb(161, 69, 188)
HSLhsl(286, 47%, 50%)
HSVhsv(286, 63%, 74%)
CMYKcmyk(14.4%, 63.3%, 0%, 26.3%)
CIE-LABlab(46.26, 55.78, -46.11)
CIE-LCHlch(46.26, 72.37, 320.42°)
OKLaboklab(56.08% 0.1423 -0.129)
OKLCHoklch(56.08% 0.192 317.8)
XYZxyz(25.9019, 15.4652, 49.1879)
Luminance0.1546 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145BC #60BC45
analogous
#6645BC #A145BC #BC459B
triadic
#A145BC #BCA145 #45BCA1
tetradic
#A145BC #BC6645 #60BC45 #459BBC
square
#A145BC #BC6645 #60BC45 #459BBC
split-complementary
#A145BC #9BBC45 #45BC66
monochromatic
#552463 #7B3490 #A145BC #B872CC #CE9FDC

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A145BC#FFFFFF#000000##FFFFFF
##A145BC1.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)
#1F68C0
Deuteranopia (green-blind)
#4971B9
Tritanopia (blue-blind)
#A05A7A
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a145bc;
/* rgb */ color: rgb(161, 69, 188);
/* oklch */ color: oklch(56.1% 0.192 317.8);
Tailwind
colors: {
  custom: {
    50: '#c07fd1',
    500: '#a145bc',
    950: '#000000',
  },
}
SCSS
$custom: #a145bc;
$custom-light: #c07fd1;
$custom-dark: #000000;
JSON
{
  "hex": "#a145bc",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 188
  },
  "hsl": {
    "h": 286.387,
    "s": 47.036,
    "l": 50.392
  },
  "oklch": {
    "l": 0.56079,
    "c": 0.19209,
    "h": 317.8
  },
  "luminance": 0.15464
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A145BC

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

Preview Lab → · Contrast checker → · Palette generator →

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