#A45EC9#A45EC9

#A45EC9 is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.169 H 312.6°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A45EC9
RGBrgb(164, 94, 201)
HSLhsl(279, 50%, 58%)
HSVhsv(279, 53%, 79%)
CMYKcmyk(18.4%, 53.2%, 0%, 21.2%)
CIE-LABlab(51.97, 46.91, -44.53)
CIE-LCHlch(51.97, 64.68, 316.49°)
OKLaboklab(60.56% 0.1145 -0.1245)
OKLCHoklch(60.56% 0.169 312.6)
XYZxyz(29.8533, 20.1157, 57.5571)
Luminance0.2011 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EC9 #83C95E
analogous
#6E5EC9 #A45EC9 #C95EB9
triadic
#A45EC9 #C9A45E #5EC9A4
tetradic
#A45EC9 #C96E5E #83C95E #5EB9C9
square
#A45EC9 #C96E5E #83C95E #5EB9C9
split-complementary
#A45EC9 #B9C95E #5EC96E
monochromatic
#642B81 #873BAF #A45EC9 #BE8CD8 #D8BAE8

Accessibility & contrast

On white

4.18
#A45EC9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A45EC9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EC9
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EC9#FFFFFF#000000##000000
##A45EC91.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#4278CD
Deuteranopia (green-blind)
#597EC6
Tritanopia (blue-blind)
#A0708B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45ec9;
/* rgb */ color: rgb(164, 94, 201);
/* oklch */ color: oklch(60.6% 0.169 312.6);
Tailwind
colors: {
  custom: {
    50: '#c18eda',
    500: '#a45ec9',
    950: '#000000',
  },
}
SCSS
$custom: #a45ec9;
$custom-light: #c18eda;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ec9",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 201
  },
  "hsl": {
    "h": 279.252,
    "s": 49.767,
    "l": 57.843
  },
  "oklch": {
    "l": 0.6056,
    "c": 0.16912,
    "h": 312.6
  },
  "luminance": 0.20115
}

Semantic roles & 50–950 ramp

primary
#A45EC9
secondary
#BBD7AC
accent
#D94F7E
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45EC9

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

Preview Lab → · Contrast checker → · Palette generator →

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