#A45EE4#A45EE4

#A45EE4 is a light, vivid violet. Relative luminance 0.215; OKLCH L 62.2% C 0.199 H 305.4°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A45EE4
RGBrgb(164, 94, 228)
HSLhsl(271, 71%, 63%)
HSVhsv(271, 59%, 89%)
CMYKcmyk(28.1%, 58.8%, 0%, 10.6%)
CIE-LABlab(53.49, 53.00, -57.42)
CIE-LCHlch(53.49, 78.14, 312.70°)
OKLaboklab(62.17% 0.1154 -0.1622)
OKLCHoklch(62.17% 0.199 305.4)
XYZxyz(33.3131, 21.4996, 75.7786)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EE4 #9EE45E
analogous
#615EE4 #A45EE4 #E45EE1
triadic
#A45EE4 #E4A45E #5EE4A4
tetradic
#A45EE4 #E4615E #9EE45E #5EE1E4
square
#A45EE4 #E4615E #9EE45E #5EE1E4
split-complementary
#A45EE4 #E1E45E #5EE461
monochromatic
#671DAB #862ADB #A45EE4 #C292ED #DFC7F6

Accessibility & contrast

On white

3.96
#A45EE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#A45EE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EE4
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EE4#FFFFFF#000000##000000
##A45EE41.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#217EE8
Deuteranopia (green-blind)
#4380E1
Tritanopia (blue-blind)
#997998
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a45ee4;
/* rgb */ color: rgb(164, 94, 228);
/* oklch */ color: oklch(62.2% 0.199 305.4);
Tailwind
colors: {
  custom: {
    50: '#c38fed',
    500: '#a45ee4',
    950: '#000000',
  },
}
SCSS
$custom: #a45ee4;
$custom-light: #c38fed;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ee4",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 228
  },
  "hsl": {
    "h": 271.343,
    "s": 71.277,
    "l": 63.137
  },
  "oklch": {
    "l": 0.6217,
    "c": 0.19908,
    "h": 305.4
  },
  "luminance": 0.21499
}

Semantic roles & 50–950 ramp

primary
#A45EE4
secondary
#CEE7B7
accent
#D3126E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45EE4

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

Preview Lab → · Contrast checker → · Palette generator →

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