#A45ED4#A45ED4

#A45ED4 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.2% C 0.181 H 309.4°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#A45ED4
RGBrgb(164, 94, 212)
HSLhsl(276, 58%, 60%)
HSVhsv(276, 56%, 83%)
CMYKcmyk(22.6%, 55.7%, 0%, 16.9%)
CIE-LABlab(52.57, 49.34, -49.85)
CIE-LCHlch(52.57, 70.14, 314.71°)
OKLaboklab(61.2% 0.1152 -0.14)
OKLCHoklch(61.2% 0.181 309.4)
XYZxyz(31.1939, 20.6519, 64.6175)
Luminance0.2065 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ED4 #8ED45E
analogous
#695ED4 #A45ED4 #D45EC9
triadic
#A45ED4 #D4A45E #5ED4A4
tetradic
#A45ED4 #D4695E #8ED45E #5EC9D4
square
#A45ED4 #D4695E #8ED45E #5EC9D4
split-complementary
#A45ED4 #C9D45E #5ED469
monochromatic
#662791 #8834C1 #A45ED4 #BF8EE1 #DBBFEE

Accessibility & contrast

On white

4.09
#A45ED4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#A45ED4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ED4
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ED4#FFFFFF#000000##000000
##A45ED41.004.095.135.13
#FFFFFF4.091.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#387AD8
Deuteranopia (green-blind)
#517FD1
Tritanopia (blue-blind)
#9E7390
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45ed4;
/* rgb */ color: rgb(164, 94, 212);
/* oklch */ color: oklch(61.2% 0.181 309.4);
Tailwind
colors: {
  custom: {
    50: '#c28ee2',
    500: '#a45ed4',
    950: '#000000',
  },
}
SCSS
$custom: #a45ed4;
$custom-light: #c28ee2;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ed4",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 212
  },
  "hsl": {
    "h": 275.593,
    "s": 57.843,
    "l": 60
  },
  "oklch": {
    "l": 0.61195,
    "c": 0.1813,
    "h": 309.4
  },
  "luminance": 0.20651
}

Semantic roles & 50–950 ramp

primary
#A45ED4
secondary
#C3DEB0
accent
#E14786
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45ED4

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

Preview Lab → · Contrast checker → · Palette generator →

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