#A45CD2#A45CD2

#A45CD2 is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.8% C 0.182 H 310.2°. Best body text is #000000 at 5.04:1 contrast (WCAG AA passes).

Color values

HEX#A45CD2
RGBrgb(164, 92, 210)
HSLhsl(277, 57%, 59%)
HSVhsv(277, 56%, 82%)
CMYKcmyk(21.9%, 56.2%, 0%, 17.6%)
CIE-LABlab(52.06, 49.94, -49.52)
CIE-LCHlch(52.06, 70.32, 315.24°)
OKLaboklab(60.79% 0.1177 -0.139)
OKLCHoklch(60.79% 0.182 310.2)
XYZxyz(30.7677, 20.2005, 63.2385)
Luminance0.2020 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CD2 #8AD25C
analogous
#695CD2 #A45CD2 #D25CC5
triadic
#A45CD2 #D2A45C #5CD2A4
tetradic
#A45CD2 #D2695C #8AD25C #5CC5D2
square
#A45CD2 #D2695C #8AD25C #5CC5D2
split-complementary
#A45CD2 #C5D25C #5CD269
monochromatic
#65278D #8734BD #A45CD2 #BF8CDF #DABCEC

Accessibility & contrast

On white

4.17
#A45CD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.04
#A45CD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CD2
5.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CD2#FFFFFF#000000##000000
##A45CD21.004.175.045.04
#FFFFFF4.171.0021.0021.00
#0000005.0421.001.001.00
##0000005.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3679D6
Deuteranopia (green-blind)
#517DCF
Tritanopia (blue-blind)
#9E718E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45cd2;
/* rgb */ color: rgb(164, 92, 210);
/* oklch */ color: oklch(60.8% 0.182 310.2);
Tailwind
colors: {
  custom: {
    50: '#c28de0',
    500: '#a45cd2',
    950: '#000000',
  },
}
SCSS
$custom: #a45cd2;
$custom-light: #c28de0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cd2",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 210
  },
  "hsl": {
    "h": 276.61,
    "s": 56.731,
    "l": 59.216
  },
  "oklch": {
    "l": 0.60789,
    "c": 0.18213,
    "h": 310.2
  },
  "luminance": 0.202
}

Semantic roles & 50–950 ramp

primary
#A45CD2
secondary
#C0DCAE
accent
#E04883
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45CD2

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

Preview Lab → · Contrast checker → · Palette generator →

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