#A45DD2#A45DD2

#A45DD2 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.181 H 310.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A45DD2
RGBrgb(164, 93, 210)
HSLhsl(276, 57%, 59%)
HSVhsv(276, 56%, 82%)
CMYKcmyk(21.9%, 55.7%, 0%, 17.6%)
CIE-LABlab(52.26, 49.42, -49.21)
CIE-LCHlch(52.26, 69.74, 315.12°)
OKLaboklab(60.93% 0.1164 -0.1381)
OKLCHoklch(60.93% 0.181 310.1)
XYZxyz(30.8549, 20.3749, 63.2676)
Luminance0.2037 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DD2 #8BD25D
analogous
#6A5DD2 #A45DD2 #D25DC6
triadic
#A45DD2 #D2A45D #5DD2A4
tetradic
#A45DD2 #D26A5D #8BD25D #5DC6D2
square
#A45DD2 #D26A5D #8BD25D #5DC6D2
split-complementary
#A45DD2 #C6D25D #5DD26A
monochromatic
#65278D #8835BD #A45DD2 #BF8DDF #DABDED

Accessibility & contrast

On white

4.14
#A45DD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A45DD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DD2
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DD2#FFFFFF#000000##000000
##A45DD21.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3879D6
Deuteranopia (green-blind)
#527ECF
Tritanopia (blue-blind)
#9E728F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45dd2;
/* rgb */ color: rgb(164, 93, 210);
/* oklch */ color: oklch(60.9% 0.181 310.1);
Tailwind
colors: {
  custom: {
    50: '#c28ee0',
    500: '#a45dd2',
    950: '#000000',
  },
}
SCSS
$custom: #a45dd2;
$custom-light: #c28ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dd2",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 210
  },
  "hsl": {
    "h": 276.41,
    "s": 56.522,
    "l": 59.412
  },
  "oklch": {
    "l": 0.60933,
    "c": 0.18061,
    "h": 310.1
  },
  "luminance": 0.20374
}

Semantic roles & 50–950 ramp

primary
#A45DD2
secondary
#C1DCAF
accent
#E04884
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45DD2

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

Preview Lab → · Contrast checker → · Palette generator →

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