#A45DCE#A45DCE

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

Color values

HEX#A45DCE
RGBrgb(164, 93, 206)
HSLhsl(278, 54%, 59%)
HSVhsv(278, 55%, 81%)
CMYKcmyk(20.4%, 54.9%, 0%, 19.2%)
CIE-LABlab(52.04, 48.53, -47.27)
CIE-LCHlch(52.04, 67.75, 315.75°)
OKLaboklab(60.7% 0.1162 -0.1325)
OKLCHoklch(60.7% 0.176 311.2)
XYZxyz(30.3627, 20.1781, 60.6758)
Luminance0.2018 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DCE #87CE5D
analogous
#6B5DCE #A45DCE #CE5DBF
triadic
#A45DCE #CEA45D #5DCEA4
tetradic
#A45DCE #CE6B5D #87CE5D #5DBFCE
square
#A45DCE #CE6B5D #87CE5D #5DBFCE
split-complementary
#A45DCE #BFCE5D #5DCE6B
monochromatic
#642988 #8737B7 #A45DCE #BE8CDC #D9BBEA

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A45DCE#FFFFFF#000000##000000
##A45DCE1.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)
#3C79D2
Deuteranopia (green-blind)
#557ECB
Tritanopia (blue-blind)
#9F718D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45dce;
/* rgb */ color: rgb(164, 93, 206);
/* oklch */ color: oklch(60.7% 0.176 311.2);
Tailwind
colors: {
  custom: {
    50: '#c28edd',
    500: '#a45dce',
    950: '#000000',
  },
}
SCSS
$custom: #a45dce;
$custom-light: #c28edd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dce",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 206
  },
  "hsl": {
    "h": 277.699,
    "s": 53.555,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60699,
    "c": 0.1762,
    "h": 311.2
  },
  "luminance": 0.20177
}

Semantic roles & 50–950 ramp

primary
#A45DCE
secondary
#BEDAAD
accent
#DD4B81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45DCE

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

Preview Lab → · Contrast checker → · Palette generator →

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