#A45DC2#A45DC2

#A45DC2 is a mid, vivid purple. Relative luminance 0.196; OKLCH L 60.0% C 0.163 H 315.0°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).

Color values

HEX#A45DC2
RGBrgb(164, 93, 194)
HSLhsl(282, 45%, 56%)
HSVhsv(282, 52%, 76%)
CMYKcmyk(15.5%, 52.1%, 0%, 23.9%)
CIE-LABlab(51.40, 45.93, -41.40)
CIE-LCHlch(51.40, 61.84, 317.97°)
OKLaboklab(60.02% 0.1152 -0.1154)
OKLCHoklch(60.02% 0.163 315)
XYZxyz(28.9603, 19.6171, 53.2894)
Luminance0.1962 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DC2 #7BC25D
analogous
#725DC2 #A45DC2 #C25DAE
triadic
#A45DC2 #C2A45D #5DC2A4
tetradic
#A45DC2 #C2725D #7BC25D #5DAEC2
square
#A45DC2 #C2725D #7BC25D #5DAEC2
split-complementary
#A45DC2 #AEC25D #5DC272
monochromatic
#612D78 #863EA4 #A45DC2 #BD89D3 #D6B6E3

Accessibility & contrast

On white

4.27
#A45DC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.92
#A45DC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DC2
4.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DC2#FFFFFF#000000##000000
##A45DC21.004.274.924.92
#FFFFFF4.271.0021.0021.00
#0000004.9221.001.001.00
##0000004.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4676C5
Deuteranopia (green-blind)
#5C7CBF
Tritanopia (blue-blind)
#A26D87
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #a45dc2;
/* rgb */ color: rgb(164, 93, 194);
/* oklch */ color: oklch(60.0% 0.163 315.0);
Tailwind
colors: {
  custom: {
    50: '#c18dd5',
    500: '#a45dc2',
    950: '#000000',
  },
}
SCSS
$custom: #a45dc2;
$custom-light: #c18dd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dc2",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 194
  },
  "hsl": {
    "h": 282.178,
    "s": 45.291,
    "l": 56.275
  },
  "oklch": {
    "l": 0.60024,
    "c": 0.16307,
    "h": 315
  },
  "luminance": 0.19616
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A45DC2

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

Preview Lab → · Contrast checker → · Palette generator →

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