#A45DEC#A45DEC

#A45DEC is a light, highly saturated violet. Relative luminance 0.218; OKLCH L 62.5% C 0.209 H 303.8°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#A45DEC
RGBrgb(164, 93, 236)
HSLhsl(270, 79%, 65%)
HSVhsv(270, 61%, 93%)
CMYKcmyk(30.5%, 60.6%, 0%, 7.5%)
CIE-LABlab(53.79, 55.37, -61.44)
CIE-LCHlch(53.79, 82.71, 312.03°)
OKLaboklab(62.54% 0.1165 -0.174)
OKLCHoklch(62.54% 0.209 303.8)
XYZxyz(34.3611, 21.7774, 81.7339)
Luminance0.2178 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DEC #A5EC5D
analogous
#5D5EEC #A45DEC #EC5DEC
triadic
#A45DEC #ECA45D #5DECA4
tetradic
#A45DEC #EC5D5E #A5EC5D #5DECEC
square
#A45DEC #EC5D5E #A5EC5D #5DECEC
split-complementary
#A45DEC #ECEC5D #5EEC5D
monochromatic
#6716B9 #8526E6 #A45DEC #C394F2 #E2CBF9

Accessibility & contrast

On white

3.92
#A45DEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#A45DEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DEC
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DEC#FFFFFF#000000##000000
##A45DEC1.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#007FF1
Deuteranopia (green-blind)
#3880E9
Tritanopia (blue-blind)
#977B9C
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45dec;
/* rgb */ color: rgb(164, 93, 236);
/* oklch */ color: oklch(62.5% 0.209 303.8);
Tailwind
colors: {
  custom: {
    50: '#c38ef3',
    500: '#a45dec',
    950: '#000000',
  },
}
SCSS
$custom: #a45dec;
$custom-light: #c38ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dec",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 236
  },
  "hsl": {
    "h": 269.79,
    "s": 79.006,
    "l": 64.51
  },
  "oklch": {
    "l": 0.62543,
    "c": 0.20935,
    "h": 303.8
  },
  "luminance": 0.21777
}

Semantic roles & 50–950 ramp

primary
#A45DEC
secondary
#D3EBBA
accent
#DB0A73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #A45DEC

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

Preview Lab → · Contrast checker → · Palette generator →

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