#A145CE#A145CE

#A145CE is a mid, highly saturated purple. Relative luminance 0.163; OKLCH L 57.2% C 0.210 H 312.5°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#A145CE
RGBrgb(161, 69, 206)
HSLhsl(280, 58%, 54%)
HSVhsv(280, 67%, 81%)
CMYKcmyk(21.8%, 66.5%, 0%, 19.2%)
CIE-LABlab(47.35, 59.48, -54.79)
CIE-LCHlch(47.35, 80.87, 317.35°)
OKLaboklab(57.21% 0.1417 -0.1544)
OKLCHoklch(57.21% 0.21 312.5)
XYZxyz(27.9647, 16.2903, 60.0518)
Luminance0.1629 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145CE #72CE45
analogous
#5D45CE #A145CE #CE45B7
triadic
#A145CE #CEA145 #45CEA1
tetradic
#A145CE #CE5D45 #72CE45 #45B7CE
square
#A145CE #CE5D45 #72CE45 #45B7CE
split-complementary
#A145CE #B7CE45 #45CE5D
monochromatic
#5C2079 #802DA9 #A145CE #B975DB #D2A6E8

Accessibility & contrast

On white

4.93
#A145CE on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.26
#A145CE on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145CE
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145CE#FFFFFF#000000##FFFFFF
##A145CE1.004.934.264.93
#FFFFFF4.931.0021.001.00
#0000004.2621.001.0021.00
##FFFFFF4.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006CD2
Deuteranopia (green-blind)
#3972CB
Tritanopia (blue-blind)
#9C6184
Achromatopsia (no color)
#707070

Design tokens & code

CSS
--color: #a145ce;
/* rgb */ color: rgb(161, 69, 206);
/* oklch */ color: oklch(57.2% 0.210 312.5);
Tailwind
colors: {
  custom: {
    50: '#c17fde',
    500: '#a145ce',
    950: '#000000',
  },
}
SCSS
$custom: #a145ce;
$custom-light: #c17fde;
$custom-dark: #000000;
JSON
{
  "hex": "#a145ce",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 206
  },
  "hsl": {
    "h": 280.292,
    "s": 58.298,
    "l": 53.922
  },
  "oklch": {
    "l": 0.57213,
    "c": 0.20956,
    "h": 312.5
  },
  "luminance": 0.1629
}

Semantic roles & 50–950 ramp

primary
#A145CE
secondary
#ADD59A
accent
#E24679
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130B15
muted
#827C83

Preview Lab

Preview with #A145CE

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

Preview Lab → · Contrast checker → · Palette generator →

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