#A145CB#A145CB

#A145CB is a mid, highly saturated purple. Relative luminance 0.161; OKLCH L 57.0% C 0.207 H 313.4°. Best body text is #FFFFFF at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A145CB
RGBrgb(161, 69, 203)
HSLhsl(281, 56%, 53%)
HSVhsv(281, 66%, 80%)
CMYKcmyk(20.7%, 66%, 0%, 20.4%)
CIE-LABlab(47.17, 58.85, -53.36)
CIE-LCHlch(47.17, 79.44, 317.80°)
OKLaboklab(57.02% 0.1419 -0.1502)
OKLCHoklch(57.02% 0.207 313.4)
XYZxyz(27.6037, 16.1459, 58.1507)
Luminance0.1615 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145CB #6FCB45
analogous
#5E45CB #A145CB #CB45B2
triadic
#A145CB #CBA145 #45CBA1
tetradic
#A145CB #CB5E45 #6FCB45 #45B2CB
square
#A145CB #CB5E45 #6FCB45 #45B2CB
split-complementary
#A145CB #B2CB45 #45CB5E
monochromatic
#5B2175 #802EA5 #A145CB #B975D8 #D1A5E6

Accessibility & contrast

On white

4.97
#A145CB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.23
#A145CB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145CB
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145CB#FFFFFF#000000##FFFFFF
##A145CB1.004.974.234.97
#FFFFFF4.971.0021.001.00
#0000004.2321.001.0021.00
##FFFFFF4.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BCF
Deuteranopia (green-blind)
#3D72C8
Tritanopia (blue-blind)
#9D5F82
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a145cb;
/* rgb */ color: rgb(161, 69, 203);
/* oklch */ color: oklch(57.0% 0.207 313.4);
Tailwind
colors: {
  custom: {
    50: '#c17fdb',
    500: '#a145cb',
    950: '#000000',
  },
}
SCSS
$custom: #a145cb;
$custom-light: #c17fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a145cb",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 203
  },
  "hsl": {
    "h": 281.194,
    "s": 56.303,
    "l": 53.333
  },
  "oklch": {
    "l": 0.57018,
    "c": 0.20663,
    "h": 313.4
  },
  "luminance": 0.16145
}

Semantic roles & 50–950 ramp

primary
#A145CB
secondary
#ABD399
accent
#E04878
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A145CB

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

Preview Lab → · Contrast checker → · Palette generator →

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