#A145CD#A145CD

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

Color values

HEX#A145CD
RGBrgb(161, 69, 205)
HSLhsl(281, 58%, 54%)
HSVhsv(281, 66%, 80%)
CMYKcmyk(21.5%, 66.3%, 0%, 19.6%)
CIE-LABlab(47.29, 59.27, -54.31)
CIE-LCHlch(47.29, 80.39, 317.50°)
OKLaboklab(57.15% 0.1417 -0.153)
OKLCHoklch(57.15% 0.209 312.8)
XYZxyz(27.8436, 16.2419, 59.4140)
Luminance0.1624 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145CD #71CD45
analogous
#5D45CD #A145CD #CD45B5
triadic
#A145CD #CDA145 #45CDA1
tetradic
#A145CD #CD5D45 #71CD45 #45B5CD
square
#A145CD #CD5D45 #71CD45 #45B5CD
split-complementary
#A145CD #B5CD45 #45CD5D
monochromatic
#5B2077 #802DA8 #A145CD #B975DA #D2A5E7

Accessibility & contrast

On white

4.94
#A145CD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.25
#A145CD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145CD
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145CD#FFFFFF#000000##FFFFFF
##A145CD1.004.944.254.94
#FFFFFF4.941.0021.001.00
#0000004.2521.001.0021.00
##FFFFFF4.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006BD1
Deuteranopia (green-blind)
#3A72CA
Tritanopia (blue-blind)
#9C6083
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a145cd;
/* rgb */ color: rgb(161, 69, 205);
/* oklch */ color: oklch(57.1% 0.209 312.8);
Tailwind
colors: {
  custom: {
    50: '#c17fdd',
    500: '#a145cd',
    950: '#000000',
  },
}
SCSS
$custom: #a145cd;
$custom-light: #c17fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a145cd",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 205
  },
  "hsl": {
    "h": 280.588,
    "s": 57.627,
    "l": 53.725
  },
  "oklch": {
    "l": 0.57148,
    "c": 0.20858,
    "h": 312.8
  },
  "luminance": 0.16241
}

Semantic roles & 50–950 ramp

primary
#A145CD
secondary
#ADD49A
accent
#E14779
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A145CD

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

Preview Lab → · Contrast checker → · Palette generator →

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