#A45EE2#A45EE2

#A45EE2 is a light, vivid violet. Relative luminance 0.214; OKLCH L 62.0% C 0.197 H 305.9°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#A45EE2
RGBrgb(164, 94, 226)
HSLhsl(272, 69%, 63%)
HSVhsv(272, 58%, 89%)
CMYKcmyk(27.4%, 58.4%, 0%, 11.4%)
CIE-LABlab(53.37, 52.53, -56.49)
CIE-LCHlch(53.37, 77.14, 312.92°)
OKLaboklab(62.04% 0.1155 -0.1594)
OKLCHoklch(62.04% 0.197 305.9)
XYZxyz(33.0371, 21.3892, 74.3248)
Luminance0.2139 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EE2 #9CE25E
analogous
#625EE2 #A45EE2 #E25EDE
triadic
#A45EE2 #E2A45E #5EE2A4
tetradic
#A45EE2 #E2625E #9CE25E #5EDEE2
square
#A45EE2 #E2625E #9CE25E #5EDEE2
split-complementary
#A45EE2 #DEE25E #5EE262
monochromatic
#671EA7 #872AD9 #A45EE2 #C192EB #DFC6F5

Accessibility & contrast

On white

3.98
#A45EE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#A45EE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EE2
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EE2#FFFFFF#000000##000000
##A45EE21.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#257DE6
Deuteranopia (green-blind)
#4580DF
Tritanopia (blue-blind)
#9A7897
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45ee2;
/* rgb */ color: rgb(164, 94, 226);
/* oklch */ color: oklch(62.0% 0.197 305.9);
Tailwind
colors: {
  custom: {
    50: '#c38fec',
    500: '#a45ee2',
    950: '#000000',
  },
}
SCSS
$custom: #a45ee2;
$custom-light: #c38fec;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ee2",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 226
  },
  "hsl": {
    "h": 271.818,
    "s": 69.474,
    "l": 62.745
  },
  "oklch": {
    "l": 0.62045,
    "c": 0.19686,
    "h": 305.9
  },
  "luminance": 0.21389
}

Semantic roles & 50–950 ramp

primary
#A45EE2
secondary
#CCE6B6
accent
#D1146D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45EE2

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

Preview Lab → · Contrast checker → · Palette generator →

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