#A145C2#A145C2

#A145C2 is a mid, vivid purple. Relative luminance 0.157; OKLCH L 56.4% C 0.198 H 316.0°. Best body text is #FFFFFF at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A145C2
RGBrgb(161, 69, 194)
HSLhsl(284, 51%, 52%)
HSVhsv(284, 64%, 76%)
CMYKcmyk(17%, 64.4%, 0%, 23.9%)
CIE-LABlab(46.62, 57.00, -49.03)
CIE-LCHlch(46.62, 75.19, 319.29°)
OKLaboklab(56.45% 0.1422 -0.1376)
OKLCHoklch(56.45% 0.198 316)
XYZxyz(26.5622, 15.7293, 52.6653)
Luminance0.1573 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145C2 #66C245
analogous
#6345C2 #A145C2 #C245A5
triadic
#A145C2 #C2A145 #45C2A1
tetradic
#A145C2 #C26345 #66C245 #45A5C2
square
#A145C2 #C26345 #66C245 #45A5C2
split-complementary
#A145C2 #A5C245 #45C263
monochromatic
#57236A #7D3298 #A145C2 #B873D1 #D0A1E0

Accessibility & contrast

On white

5.07
#A145C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.15
#A145C2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145C2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145C2#FFFFFF#000000##FFFFFF
##A145C21.005.074.155.07
#FFFFFF5.071.0021.001.00
#0000004.1521.001.0021.00
##FFFFFF5.071.0021.001.00

Color blindness preview

Protanopia (red-blind)
#1369C6
Deuteranopia (green-blind)
#4571BF
Tritanopia (blue-blind)
#9F5C7D
Achromatopsia (no color)
#6E6E6E

Design tokens & code

CSS
--color: #a145c2;
/* rgb */ color: rgb(161, 69, 194);
/* oklch */ color: oklch(56.4% 0.198 316.0);
Tailwind
colors: {
  custom: {
    50: '#c07fd5',
    500: '#a145c2',
    950: '#000000',
  },
}
SCSS
$custom: #a145c2;
$custom-light: #c07fd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a145c2",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 194
  },
  "hsl": {
    "h": 284.16,
    "s": 50.607,
    "l": 51.569
  },
  "oklch": {
    "l": 0.56447,
    "c": 0.19788,
    "h": 316
  },
  "luminance": 0.15728
}

Semantic roles & 50–950 ramp

primary
#A145C2
secondary
#A4CD96
accent
#DA4E73
background
#FCF8FD
surface
#F8EFFA
border
#D1CAD3
text
#130A14
muted
#827C83

Preview Lab

Preview with #A145C2

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

Preview Lab → · Contrast checker → · Palette generator →

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