#A45ECC#A45ECC

#A45ECC is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.7% C 0.172 H 311.7°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#A45ECC
RGBrgb(164, 94, 204)
HSLhsl(278, 52%, 58%)
HSVhsv(278, 54%, 80%)
CMYKcmyk(19.6%, 53.9%, 0%, 20%)
CIE-LABlab(52.13, 47.57, -45.99)
CIE-LCHlch(52.13, 66.17, 315.97°)
OKLaboklab(60.73% 0.1147 -0.1287)
OKLCHoklch(60.73% 0.172 311.7)
XYZxyz(30.2097, 20.2582, 59.4339)
Luminance0.2026 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ECC #86CC5E
analogous
#6D5ECC #A45ECC #CC5EBD
triadic
#A45ECC #CCA45E #5ECCA4
tetradic
#A45ECC #CC6D5E #86CC5E #5EBDCC
square
#A45ECC #CC6D5E #86CC5E #5EBDCC
split-complementary
#A45ECC #BDCC5E #5ECC6D
monochromatic
#642A85 #8739B4 #A45ECC #BE8CDB #D9BBE9

Accessibility & contrast

On white

4.16
#A45ECC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#A45ECC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ECC
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ECC#FFFFFF#000000##000000
##A45ECC1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4079D0
Deuteranopia (green-blind)
#577EC9
Tritanopia (blue-blind)
#A0718C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45ecc;
/* rgb */ color: rgb(164, 94, 204);
/* oklch */ color: oklch(60.7% 0.172 311.7);
Tailwind
colors: {
  custom: {
    50: '#c18edc',
    500: '#a45ecc',
    950: '#000000',
  },
}
SCSS
$custom: #a45ecc;
$custom-light: #c18edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ecc",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 204
  },
  "hsl": {
    "h": 278.182,
    "s": 51.887,
    "l": 58.431
  },
  "oklch": {
    "l": 0.6073,
    "c": 0.17243,
    "h": 311.7
  },
  "luminance": 0.20258
}

Semantic roles & 50–950 ramp

primary
#A45ECC
secondary
#BDD9AD
accent
#DB4C80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45ECC

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

Preview Lab → · Contrast checker → · Palette generator →

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