#A45ECD#A45ECD

#A45ECD is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.8% C 0.174 H 311.4°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A45ECD
RGBrgb(164, 94, 205)
HSLhsl(278, 53%, 59%)
HSVhsv(278, 54%, 80%)
CMYKcmyk(20%, 54.1%, 0%, 19.6%)
CIE-LABlab(52.18, 47.79, -46.48)
CIE-LCHlch(52.18, 66.66, 315.80°)
OKLaboklab(60.79% 0.1148 -0.1301)
OKLCHoklch(60.79% 0.174 311.4)
XYZxyz(30.3300, 20.3063, 60.0675)
Luminance0.2031 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ECD #87CD5E
analogous
#6C5ECD #A45ECD #CD5EBE
triadic
#A45ECD #CDA45E #5ECDA4
tetradic
#A45ECD #CD6C5E #87CD5E #5EBECD
square
#A45ECD #CD6C5E #87CD5E #5EBECD
split-complementary
#A45ECD #BECD5E #5ECD6C
monochromatic
#642A87 #8738B5 #A45ECD #BE8DDC #D9BBEA

Accessibility & contrast

On white

4.15
#A45ECD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A45ECD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ECD
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ECD#FFFFFF#000000##000000
##A45ECD1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F79D1
Deuteranopia (green-blind)
#567ECA
Tritanopia (blue-blind)
#9F718D
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45ecd;
/* rgb */ color: rgb(164, 94, 205);
/* oklch */ color: oklch(60.8% 0.174 311.4);
Tailwind
colors: {
  custom: {
    50: '#c18edd',
    500: '#a45ecd',
    950: '#000000',
  },
}
SCSS
$custom: #a45ecd;
$custom-light: #c18edd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ecd",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 205
  },
  "hsl": {
    "h": 277.838,
    "s": 52.607,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60788,
    "c": 0.17354,
    "h": 311.4
  },
  "luminance": 0.20306
}

Semantic roles & 50–950 ramp

primary
#A45ECD
secondary
#BED9AD
accent
#DC4C81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45ECD

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

Preview Lab → · Contrast checker → · Palette generator →

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