#A145C9#A145C9

#A145C9 is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 56.9% C 0.205 H 313.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#A145C9
RGBrgb(161, 69, 201)
HSLhsl(282, 55%, 53%)
HSVhsv(282, 66%, 79%)
CMYKcmyk(19.9%, 65.7%, 0%, 21.2%)
CIE-LABlab(47.04, 58.44, -52.41)
CIE-LCHlch(47.04, 78.49, 318.11°)
OKLaboklab(56.89% 0.142 -0.1474)
OKLCHoklch(56.89% 0.205 313.9)
XYZxyz(27.3669, 16.0512, 56.9036)
Luminance0.1605 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145C9 #6DC945
analogous
#5F45C9 #A145C9 #C945AF
triadic
#A145C9 #C9A145 #45C9A1
tetradic
#A145C9 #C95F45 #6DC945 #45AFC9
square
#A145C9 #C95F45 #6DC945 #45AFC9
split-complementary
#A145C9 #AFC945 #45C95F
monochromatic
#5A2172 #7F2FA2 #A145C9 #B974D7 #D1A4E5

Accessibility & contrast

On white

4.99
#A145C9 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.21
#A145C9 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145C9
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145C9#FFFFFF#000000##FFFFFF
##A145C91.004.994.214.99
#FFFFFF4.991.0021.001.00
#0000004.2121.001.0021.00
##FFFFFF4.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACD
Deuteranopia (green-blind)
#3F72C6
Tritanopia (blue-blind)
#9D5F81
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a145c9;
/* rgb */ color: rgb(161, 69, 201);
/* oklch */ color: oklch(56.9% 0.205 313.9);
Tailwind
colors: {
  custom: {
    50: '#c07fda',
    500: '#a145c9',
    950: '#000000',
  },
}
SCSS
$custom: #a145c9;
$custom-light: #c07fda;
$custom-dark: #000000;
JSON
{
  "hex": "#a145c9",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 201
  },
  "hsl": {
    "h": 281.818,
    "s": 55,
    "l": 52.941
  },
  "oklch": {
    "l": 0.56889,
    "c": 0.20468,
    "h": 313.9
  },
  "luminance": 0.1605
}

Semantic roles & 50–950 ramp

primary
#A145C9
secondary
#AAD198
accent
#DE4977
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A145C9

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

Preview Lab → · Contrast checker → · Palette generator →

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