#A145CA#A145CA

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

Color values

HEX#A145CA
RGBrgb(161, 69, 202)
HSLhsl(282, 56%, 53%)
HSVhsv(282, 66%, 79%)
CMYKcmyk(20.3%, 65.8%, 0%, 20.8%)
CIE-LABlab(47.10, 58.64, -52.88)
CIE-LCHlch(47.10, 78.97, 317.96°)
OKLaboklab(56.95% 0.1419 -0.1488)
OKLCHoklch(56.95% 0.206 313.6)
XYZxyz(27.4849, 16.0984, 57.5251)
Luminance0.1610 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145CA #6ECA45
analogous
#5E45CA #A145CA #CA45B0
triadic
#A145CA #CAA145 #45CAA1
tetradic
#A145CA #CA5E45 #6ECA45 #45B0CA
square
#A145CA #CA5E45 #6ECA45 #45B0CA
split-complementary
#A145CA #B0CA45 #45CA5E
monochromatic
#5A2174 #7F2FA3 #A145CA #B975D8 #D1A4E5

Accessibility & contrast

On white

4.98
#A145CA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.22
#A145CA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145CA
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145CA#FFFFFF#000000##FFFFFF
##A145CA1.004.984.224.98
#FFFFFF4.981.0021.001.00
#0000004.2221.001.0021.00
##FFFFFF4.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #a145ca;
/* rgb */ color: rgb(161, 69, 202);
/* oklch */ color: oklch(57.0% 0.206 313.6);
Tailwind
colors: {
  custom: {
    50: '#c07fdb',
    500: '#a145ca',
    950: '#000000',
  },
}
SCSS
$custom: #a145ca;
$custom-light: #c07fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#a145ca",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 202
  },
  "hsl": {
    "h": 281.504,
    "s": 55.649,
    "l": 53.137
  },
  "oklch": {
    "l": 0.56953,
    "c": 0.20566,
    "h": 313.6
  },
  "luminance": 0.16098
}

Semantic roles & 50–950 ramp

primary
#A145CA
secondary
#AAD299
accent
#DF4977
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A145CA

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

Preview Lab → · Contrast checker → · Palette generator →

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