#A145CF#A145CF

#A145CF is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.3% C 0.211 H 312.3°. Best body text is #FFFFFF at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A145CF
RGBrgb(161, 69, 207)
HSLhsl(280, 59%, 54%)
HSVhsv(280, 67%, 81%)
CMYKcmyk(22.2%, 66.7%, 0%, 18.8%)
CIE-LABlab(47.42, 59.69, -55.26)
CIE-LCHlch(47.42, 81.34, 317.21°)
OKLaboklab(57.28% 0.1416 -0.1558)
OKLCHoklch(57.28% 0.211 312.3)
XYZxyz(28.0865, 16.3391, 60.6936)
Luminance0.1634 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145CF #73CF45
analogous
#5C45CF #A145CF #CF45B8
triadic
#A145CF #CFA145 #45CFA1
tetradic
#A145CF #CF5C45 #73CF45 #45B8CF
square
#A145CF #CF5C45 #73CF45 #45B8CF
split-complementary
#A145CF #B8CF45 #45CF5C
monochromatic
#5C207A #812CAB #A145CF #BA76DC #D2A6E8

Accessibility & contrast

On white

4.92
#A145CF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.27
#A145CF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145CF
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145CF#FFFFFF#000000##FFFFFF
##A145CF1.004.924.274.92
#FFFFFF4.921.0021.001.00
#0000004.2721.001.0021.00
##FFFFFF4.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD3
Deuteranopia (green-blind)
#3872CC
Tritanopia (blue-blind)
#9C6184
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a145cf;
/* rgb */ color: rgb(161, 69, 207);
/* oklch */ color: oklch(57.3% 0.211 312.3);
Tailwind
colors: {
  custom: {
    50: '#c17fde',
    500: '#a145cf',
    950: '#000000',
  },
}
SCSS
$custom: #a145cf;
$custom-light: #c17fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a145cf",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 207
  },
  "hsl": {
    "h": 280,
    "s": 58.974,
    "l": 54.118
  },
  "oklch": {
    "l": 0.57278,
    "c": 0.21054,
    "h": 312.3
  },
  "luminance": 0.16338
}

Semantic roles & 50–950 ramp

primary
#A145CF
secondary
#AED59B
accent
#E2467A
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A145CF

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

Preview Lab → · Contrast checker → · Palette generator →

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