#A145BB#A145BB

#A145BB is a mid, vivid purple. Relative luminance 0.154; OKLCH L 56.0% C 0.191 H 318.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A145BB
RGBrgb(161, 69, 187)
HSLhsl(287, 46%, 50%)
HSVhsv(287, 63%, 73%)
CMYKcmyk(13.9%, 63.1%, 0%, 26.7%)
CIE-LABlab(46.21, 55.58, -45.62)
CIE-LCHlch(46.21, 71.91, 320.63°)
OKLaboklab(56.02% 0.1423 -0.1276)
OKLCHoklch(56.02% 0.191 318.1)
XYZxyz(25.7945, 15.4222, 48.6221)
Luminance0.1542 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145BB #5FBB45
analogous
#6645BB #A145BB #BB459A
triadic
#A145BB #BBA145 #45BBA1
tetradic
#A145BB #BB6645 #5FBB45 #459ABB
square
#A145BB #BB6645 #5FBB45 #459ABB
split-complementary
#A145BB #9ABB45 #45BB66
monochromatic
#542462 #7B348F #A145BB #B872CB #CE9FDC

Accessibility & contrast

On white

5.14
#A145BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.08
#A145BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145BB
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145BB#FFFFFF#000000##FFFFFF
##A145BB1.005.144.085.14
#FFFFFF5.141.0021.001.00
#0000004.0821.001.0021.00
##FFFFFF5.141.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2167BF
Deuteranopia (green-blind)
#4A70B8
Tritanopia (blue-blind)
#A1597A
Achromatopsia (no color)
#6D6D6D

Design tokens & code

CSS
--color: #a145bb;
/* rgb */ color: rgb(161, 69, 187);
/* oklch */ color: oklch(56.0% 0.191 318.1);
Tailwind
colors: {
  custom: {
    50: '#c07fd0',
    500: '#a145bb',
    950: '#000000',
  },
}
SCSS
$custom: #a145bb;
$custom-light: #c07fd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a145bb",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 286.78,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.56019,
    "c": 0.19113,
    "h": 318.1
  },
  "luminance": 0.15421
}

Semantic roles & 50–950 ramp

primary
#A145BB
secondary
#9FC894
accent
#D6526F
background
#FCF8FC
surface
#F8EFF9
border
#D1CAD2
text
#130A14
muted
#827C82

Preview Lab

Preview with #A145BB

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

Preview Lab → · Contrast checker → · Palette generator →

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