#A45DC7#A45DC7

#A45DC7 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.3% C 0.169 H 313.4°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A45DC7
RGBrgb(164, 93, 199)
HSLhsl(280, 49%, 57%)
HSVhsv(280, 53%, 78%)
CMYKcmyk(17.6%, 53.3%, 0%, 22%)
CIE-LABlab(51.66, 47.00, -43.86)
CIE-LCHlch(51.66, 64.29, 316.98°)
OKLaboklab(60.3% 0.1157 -0.1225)
OKLCHoklch(60.3% 0.169 313.4)
XYZxyz(29.5313, 19.8455, 56.2967)
Luminance0.1984 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DC7 #80C75D
analogous
#6F5DC7 #A45DC7 #C75DB5
triadic
#A45DC7 #C7A45D #5DC7A4
tetradic
#A45DC7 #C76F5D #80C75D #5DB5C7
square
#A45DC7 #C76F5D #80C75D #5DB5C7
split-complementary
#A45DC7 #B5C75D #5DC76F
monochromatic
#632C7E #863BAC #A45DC7 #BE8AD7 #D7B8E6

Accessibility & contrast

On white

4.23
#A45DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A45DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DC7
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DC7#FFFFFF#000000##000000
##A45DC71.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4277CB
Deuteranopia (green-blind)
#597DC4
Tritanopia (blue-blind)
#A16E89
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45dc7;
/* rgb */ color: rgb(164, 93, 199);
/* oklch */ color: oklch(60.3% 0.169 313.4);
Tailwind
colors: {
  custom: {
    50: '#c18dd8',
    500: '#a45dc7',
    950: '#000000',
  },
}
SCSS
$custom: #a45dc7;
$custom-light: #c18dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dc7",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 280.189,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.60301,
    "c": 0.16852,
    "h": 313.4
  },
  "luminance": 0.19845
}

Semantic roles & 50–950 ramp

primary
#A45DC7
secondary
#B9D5AA
accent
#D8507D
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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