#A45CEC#A45CEC

#A45CEC is a light, highly saturated violet. Relative luminance 0.216; OKLCH L 62.4% C 0.211 H 303.9°. Best body text is #000000 at 5.32:1 contrast (WCAG AA passes).

Color values

HEX#A45CEC
RGBrgb(164, 92, 236)
HSLhsl(270, 79%, 64%)
HSVhsv(270, 61%, 93%)
CMYKcmyk(30.5%, 61%, 0%, 7.5%)
CIE-LABlab(53.60, 55.87, -61.74)
CIE-LCHlch(53.60, 83.27, 312.14°)
OKLaboklab(62.41% 0.1176 -0.1748)
OKLCHoklch(62.41% 0.211 303.9)
XYZxyz(34.2739, 21.6030, 81.7048)
Luminance0.2160 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CEC #A4EC5C
analogous
#5C5CEC #A45CEC #EC5CEC
triadic
#A45CEC #ECA45C #5CECA4
tetradic
#A45CEC #EC5C5C #A4EC5C #5CECEC
square
#A45CEC #EC5C5C #A4EC5C #5CECEC
split-complementary
#A45CEC #ECEC5C #5CEC5C
monochromatic
#6715B8 #8525E6 #A45CEC #C393F2 #E1CAF9

Accessibility & contrast

On white

3.95
#A45CEC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.32
#A45CEC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CEC
5.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CEC#FFFFFF#000000##000000
##A45CEC1.003.955.325.32
#FFFFFF3.951.0021.0021.00
#0000005.3221.001.001.00
##0000005.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#007EF1
Deuteranopia (green-blind)
#3680E9
Tritanopia (blue-blind)
#977A9C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a45cec;
/* rgb */ color: rgb(164, 92, 236);
/* oklch */ color: oklch(62.4% 0.211 303.9);
Tailwind
colors: {
  custom: {
    50: '#c38ef3',
    500: '#a45cec',
    950: '#000000',
  },
}
SCSS
$custom: #a45cec;
$custom-light: #c38ef3;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cec",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 236
  },
  "hsl": {
    "h": 270,
    "s": 79.121,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62408,
    "c": 0.21072,
    "h": 303.9
  },
  "luminance": 0.21603
}

Semantic roles & 50–950 ramp

primary
#A45CEC
secondary
#D2EBB9
accent
#DB0A73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A45CEC

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

Preview Lab → · Contrast checker → · Palette generator →

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