#A45AEA#A45AEA

#A45AEA is a light, highly saturated violet. Relative luminance 0.211; OKLCH L 62.0% C 0.211 H 304.6°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A45AEA
RGBrgb(164, 90, 234)
HSLhsl(271, 77%, 64%)
HSVhsv(271, 62%, 92%)
CMYKcmyk(29.9%, 61.5%, 0%, 8.2%)
CIE-LABlab(53.11, 56.41, -61.41)
CIE-LCHlch(53.11, 83.39, 312.57°)
OKLaboklab(62.01% 0.12 -0.1739)
OKLCHoklch(62.01% 0.211 304.6)
XYZxyz(33.8140, 21.1455, 80.1261)
Luminance0.2114 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AEA #A0EA5A
analogous
#5C5AEA #A45AEA #EA5AE8
triadic
#A45AEA #EAA45A #5AEAA4
tetradic
#A45AEA #EA5C5A #A0EA5A #5AE8EA
square
#A45AEA #EA5C5A #A0EA5A #5AE8EA
split-complementary
#A45AEA #E8EA5A #5AEA5C
monochromatic
#6717B3 #8624E3 #A45AEA #C290F1 #E0C7F8

Accessibility & contrast

On white

4.02
#A45AEA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A45AEA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AEA
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AEA#FFFFFF#000000##000000
##A45AEA1.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DEF
Deuteranopia (green-blind)
#367FE7
Tritanopia (blue-blind)
#97789A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45aea;
/* rgb */ color: rgb(164, 90, 234);
/* oklch */ color: oklch(62.0% 0.211 304.6);
Tailwind
colors: {
  custom: {
    50: '#c38cf1',
    500: '#a45aea',
    950: '#000000',
  },
}
SCSS
$custom: #a45aea;
$custom-light: #c38cf1;
$custom-dark: #000000;
JSON
{
  "hex": "#a45aea",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 234
  },
  "hsl": {
    "h": 270.833,
    "s": 77.419,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62009,
    "c": 0.21128,
    "h": 304.6
  },
  "luminance": 0.21145
}

Semantic roles & 50–950 ramp

primary
#A45AEA
secondary
#CFE9B6
accent
#DA0C70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A45AEA

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

Preview Lab → · Contrast checker → · Palette generator →

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