#A145CC#A145CC

#A145CC is a mid, highly saturated purple. Relative luminance 0.162; OKLCH L 57.1% C 0.208 H 313.1°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).

Color values

HEX#A145CC
RGBrgb(161, 69, 204)
HSLhsl(281, 57%, 54%)
HSVhsv(281, 66%, 80%)
CMYKcmyk(21.1%, 66.2%, 0%, 20%)
CIE-LABlab(47.23, 59.06, -53.84)
CIE-LCHlch(47.23, 79.92, 317.65°)
OKLaboklab(57.08% 0.1418 -0.1516)
OKLCHoklch(57.08% 0.208 313.1)
XYZxyz(27.7232, 16.1937, 58.7803)
Luminance0.1619 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145CC #70CC45
analogous
#5D45CC #A145CC #CC45B3
triadic
#A145CC #CCA145 #45CCA1
tetradic
#A145CC #CC5D45 #70CC45 #45B3CC
square
#A145CC #CC5D45 #70CC45 #45B3CC
split-complementary
#A145CC #B3CC45 #45CC5D
monochromatic
#5B2076 #802EA6 #A145CC #B975D9 #D2A5E6

Accessibility & contrast

On white

4.95
#A145CC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.24
#A145CC on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145CC
4.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145CC#FFFFFF#000000##FFFFFF
##A145CC1.004.954.244.95
#FFFFFF4.951.0021.001.00
#0000004.2421.001.0021.00
##FFFFFF4.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD0
Deuteranopia (green-blind)
#3C72C9
Tritanopia (blue-blind)
#9D6083
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a145cc;
/* rgb */ color: rgb(161, 69, 204);
/* oklch */ color: oklch(57.1% 0.208 313.1);
Tailwind
colors: {
  custom: {
    50: '#c17fdc',
    500: '#a145cc',
    950: '#000000',
  },
}
SCSS
$custom: #a145cc;
$custom-light: #c17fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a145cc",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 204
  },
  "hsl": {
    "h": 280.889,
    "s": 56.962,
    "l": 53.529
  },
  "oklch": {
    "l": 0.57083,
    "c": 0.2076,
    "h": 313.1
  },
  "luminance": 0.16193
}

Semantic roles & 50–950 ramp

primary
#A145CC
secondary
#ACD399
accent
#E04878
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A145CC

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

Preview Lab → · Contrast checker → · Palette generator →

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