#A145B2#A145B2

#A145B2 is a mid, vivid purple. Relative luminance 0.150; OKLCH L 55.5% C 0.183 H 321.1°. Best body text is #FFFFFF at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A145B2
RGBrgb(161, 69, 178)
HSLhsl(291, 44%, 48%)
HSVhsv(291, 61%, 70%)
CMYKcmyk(9.6%, 61.2%, 0%, 30.2%)
CIE-LABlab(45.70, 53.81, -41.15)
CIE-LCHlch(45.70, 67.74, 322.59°)
OKLaboklab(55.49% 0.1421 -0.1146)
OKLCHoklch(55.49% 0.183 321.1)
XYZxyz(24.8610, 15.0489, 43.7060)
Luminance0.1505 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145B2 #56B245
analogous
#6A45B2 #A145B2 #B2458C
triadic
#A145B2 #B2A145 #45B2A1
tetradic
#A145B2 #B26A45 #56B245 #458CB2
square
#A145B2 #B26A45 #56B245 #458CB2
split-complementary
#A145B2 #8CB245 #45B26A
monochromatic
#51235A #793486 #A145B2 #B96EC7 #CE9AD8

Accessibility & contrast

On white

5.24
#A145B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.01
#A145B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145B2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145B2#FFFFFF#000000##FFFFFF
##A145B21.005.244.015.24
#FFFFFF5.241.0021.001.00
#0000004.0121.001.0021.00
##FFFFFF5.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2C66B5
Deuteranopia (green-blind)
#5070AF
Tritanopia (blue-blind)
#A25675
Achromatopsia (no color)
#6C6C6C

Design tokens & code

CSS
--color: #a145b2;
/* rgb */ color: rgb(161, 69, 178);
/* oklch */ color: oklch(55.5% 0.183 321.1);
Tailwind
colors: {
  custom: {
    50: '#c07ec9',
    500: '#a145b2',
    950: '#000000',
  },
}
SCSS
$custom: #a145b2;
$custom-light: #c07ec9;
$custom-dark: #000000;
JSON
{
  "hex": "#a145b2",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 178
  },
  "hsl": {
    "h": 290.642,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.55489,
    "c": 0.18256,
    "h": 321.1
  },
  "luminance": 0.15048
}

Semantic roles & 50–950 ramp

primary
#A145B2
secondary
#97C48F
accent
#D45468
background
#FCF8FC
surface
#F8EFF8
border
#D1CAD1
text
#130A13
muted
#827C82

Preview Lab

Preview with #A145B2

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

Preview Lab → · Contrast checker → · Palette generator →

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