#A45ECA#A45ECA

#A45ECA is a mid, vivid violet. Relative luminance 0.202; OKLCH L 60.6% C 0.170 H 312.3°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#A45ECA
RGBrgb(164, 94, 202)
HSLhsl(279, 50%, 58%)
HSVhsv(279, 53%, 79%)
CMYKcmyk(18.8%, 53.5%, 0%, 20.8%)
CIE-LABlab(52.02, 47.13, -45.01)
CIE-LCHlch(52.02, 65.17, 316.32°)
OKLaboklab(60.62% 0.1146 -0.1259)
OKLCHoklch(60.62% 0.17 312.3)
XYZxyz(29.9714, 20.1629, 58.1786)
Luminance0.2016 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ECA #84CA5E
analogous
#6E5ECA #A45ECA #CA5EBA
triadic
#A45ECA #CAA45E #5ECAA4
tetradic
#A45ECA #CA6E5E #84CA5E #5EBACA
square
#A45ECA #CA6E5E #84CA5E #5EBACA
split-complementary
#A45ECA #BACA5E #5ECA6E
monochromatic
#642B83 #873AB1 #A45ECA #BE8CD9 #D8BAE8

Accessibility & contrast

On white

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

On black

5.03
#A45ECA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ECA
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ECA#FFFFFF#000000##000000
##A45ECA1.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4178CE
Deuteranopia (green-blind)
#587EC7
Tritanopia (blue-blind)
#A0708B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45eca;
/* rgb */ color: rgb(164, 94, 202);
/* oklch */ color: oklch(60.6% 0.170 312.3);
Tailwind
colors: {
  custom: {
    50: '#c18eda',
    500: '#a45eca',
    950: '#000000',
  },
}
SCSS
$custom: #a45eca;
$custom-light: #c18eda;
$custom-dark: #000000;
JSON
{
  "hex": "#a45eca",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 202
  },
  "hsl": {
    "h": 278.889,
    "s": 50.467,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60617,
    "c": 0.17022,
    "h": 312.3
  },
  "luminance": 0.20162
}

Semantic roles & 50–950 ramp

primary
#A45ECA
secondary
#BCD7AC
accent
#DA4E7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45ECA

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

Preview Lab → · Contrast checker → · Palette generator →

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