#A45CC2#A45CC2

#A45CC2 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 59.9% C 0.165 H 315.1°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#A45CC2
RGBrgb(164, 92, 194)
HSLhsl(282, 46%, 56%)
HSVhsv(282, 53%, 76%)
CMYKcmyk(15.5%, 52.6%, 0%, 23.9%)
CIE-LABlab(51.20, 46.46, -41.72)
CIE-LCHlch(51.20, 62.44, 318.07°)
OKLaboklab(59.88% 0.1166 -0.1163)
OKLCHoklch(59.88% 0.165 315.1)
XYZxyz(28.8731, 19.4427, 53.2603)
Luminance0.1944 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CC2 #7AC25C
analogous
#715CC2 #A45CC2 #C25CAD
triadic
#A45CC2 #C2A45C #5CC2A4
tetradic
#A45CC2 #C2715C #7AC25C #5CADC2
square
#A45CC2 #C2715C #7AC25C #5CADC2
split-complementary
#A45CC2 #ADC25C #5CC271
monochromatic
#612D77 #853DA4 #A45CC2 #BD89D3 #D6B5E3

Accessibility & contrast

On white

4.30
#A45CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#A45CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CC2
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CC2#FFFFFF#000000##000000
##A45CC21.004.304.894.89
#FFFFFF4.301.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4576C5
Deuteranopia (green-blind)
#5B7CBF
Tritanopia (blue-blind)
#A26C86
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a45cc2;
/* rgb */ color: rgb(164, 92, 194);
/* oklch */ color: oklch(59.9% 0.165 315.1);
Tailwind
colors: {
  custom: {
    50: '#c18dd5',
    500: '#a45cc2',
    950: '#000000',
  },
}
SCSS
$custom: #a45cc2;
$custom-light: #c18dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cc2",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 282.353,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.59876,
    "c": 0.16468,
    "h": 315.1
  },
  "luminance": 0.19442
}

Semantic roles & 50–950 ramp

primary
#A45CC2
secondary
#B4D2A8
accent
#D55379
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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