#A145C8#A145C8

#A145C8 is a mid, highly saturated purple. Relative luminance 0.160; OKLCH L 56.8% C 0.204 H 314.2°. Best body text is #FFFFFF at 5.00:1 contrast (WCAG AA passes).

Color values

HEX#A145C8
RGBrgb(161, 69, 200)
HSLhsl(282, 54%, 53%)
HSVhsv(282, 66%, 78%)
CMYKcmyk(19.5%, 65.5%, 0%, 21.6%)
CIE-LABlab(46.98, 58.23, -51.93)
CIE-LCHlch(46.98, 78.02, 318.27°)
OKLaboklab(56.83% 0.142 -0.1461)
OKLCHoklch(56.83% 0.204 314.2)
XYZxyz(27.2496, 16.0043, 56.2861)
Luminance0.1600 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A145C8 #6CC845
analogous
#5F45C8 #A145C8 #C845AE
triadic
#A145C8 #C8A145 #45C8A1
tetradic
#A145C8 #C85F45 #6CC845 #45AEC8
square
#A145C8 #C85F45 #6CC845 #45AEC8
split-complementary
#A145C8 #AEC845 #45C85F
monochromatic
#592171 #7F2FA0 #A145C8 #B974D6 #D1A3E4

Accessibility & contrast

On white

5.00
#A145C8 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.20
#A145C8 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #A145C8
5.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A145C8#FFFFFF#000000##FFFFFF
##A145C81.005.004.205.00
#FFFFFF5.001.0021.001.00
#0000004.2021.001.0021.00
##FFFFFF5.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#006ACC
Deuteranopia (green-blind)
#3F72C5
Tritanopia (blue-blind)
#9E5E81
Achromatopsia (no color)
#6F6F6F

Design tokens & code

CSS
--color: #a145c8;
/* rgb */ color: rgb(161, 69, 200);
/* oklch */ color: oklch(56.8% 0.204 314.2);
Tailwind
colors: {
  custom: {
    50: '#c07fd9',
    500: '#a145c8',
    950: '#000000',
  },
}
SCSS
$custom: #a145c8;
$custom-light: #c07fd9;
$custom-dark: #000000;
JSON
{
  "hex": "#a145c8",
  "rgb": {
    "r": 161,
    "g": 69,
    "b": 200
  },
  "hsl": {
    "h": 282.137,
    "s": 54.357,
    "l": 52.745
  },
  "oklch": {
    "l": 0.56825,
    "c": 0.20371,
    "h": 314.2
  },
  "luminance": 0.16003
}

Semantic roles & 50–950 ramp

primary
#A145C8
secondary
#A9D198
accent
#DE4A76
background
#FCF8FD
surface
#F8EFFB
border
#D1CAD4
text
#130A15
muted
#827C83

Preview Lab

Preview with #A145C8

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

Preview Lab → · Contrast checker → · Palette generator →

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