#A145BF#A145BF

#A145BF is a mid, vivid purple. Relative luminance 0.156; OKLCH L 56.3% C 0.195 H 316.9°. Best body text is #FFFFFF at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A145BF
RGBrgb(161, 69, 191)
HSLhsl(285, 49%, 51%)
HSVhsv(285, 64%, 75%)
CMYKcmyk(15.7%, 63.9%, 0%, 25.1%)
CIE-LABlab(46.44, 56.39, -47.57)
CIE-LCHlch(46.44, 73.78, 319.84°)
OKLaboklab(56.26% 0.1423 -0.1333)
OKLCHoklch(56.26% 0.195 316.9)
XYZxyz(26.2286, 15.5959, 50.9088)
Luminance0.1560 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145BF #63BF45
analogous
#6445BF #A145BF #BF45A0
triadic
#A145BF #BFA145 #45BFA1
tetradic
#A145BF #BF6445 #63BF45 #45A0BF
square
#A145BF #BF6445 #63BF45 #45A0BF
split-complementary
#A145BF #A0BF45 #45BF64
monochromatic
#562366 #7C3394 #A145BF #B873CF #CFA0DE

Accessibility & contrast

On white

5.10
#A145BF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.12
#A145BF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145BF
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145BF#FFFFFF#000000##FFFFFF
##A145BF1.005.104.125.10
#FFFFFF5.101.0021.001.00
#0000004.1221.001.0021.00
##FFFFFF5.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1A68C3
Deuteranopia (green-blind)
#4771BC
Tritanopia (blue-blind)
#A05B7C
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a145bf;
/* rgb */ color: rgb(161, 69, 191);
/* oklch */ color: oklch(56.3% 0.195 316.9);
Tailwind
colors: {
  custom: {
    50: '#c07fd3',
    500: '#a145bf',
    950: '#000000',
  },
}
SCSS
$custom: #a145bf;
$custom-light: #c07fd3;
$custom-dark: #000000;
JSON
{
  "hex": "#a145bf",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 191
  },
  "hsl": {
    "h": 285.246,
    "s": 48.8,
    "l": 50.98
  },
  "oklch": {
    "l": 0.56262,
    "c": 0.19498,
    "h": 316.9
  },
  "luminance": 0.15595
}

Semantic roles & 50–950 ramp

primary
#A145BF
secondary
#A2CB95
accent
#D84F71
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A145BF

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

Preview Lab → · Contrast checker → · Palette generator →

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