#A45AE8#A45AE8

#A45AE8 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.9% C 0.209 H 305.1°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A45AE8
RGBrgb(164, 90, 232)
HSLhsl(271, 76%, 63%)
HSVhsv(271, 61%, 91%)
CMYKcmyk(29.3%, 61.2%, 0%, 9%)
CIE-LABlab(52.98, 55.94, -60.49)
CIE-LCHlch(52.98, 82.39, 312.76°)
OKLaboklab(61.88% 0.1201 -0.1712)
OKLCHoklch(61.88% 0.209 305.1)
XYZxyz(33.5283, 21.0312, 78.6214)
Luminance0.2103 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AE8 #9EE85A
analogous
#5D5AE8 #A45AE8 #E85AE5
triadic
#A45AE8 #E8A45A #5AE8A4
tetradic
#A45AE8 #E85D5A #9EE85A #5AE5E8
square
#A45AE8 #E85D5A #9EE85A #5AE5E8
split-complementary
#A45AE8 #E5E85A #5AE85D
monochromatic
#6718AF #8624E1 #A45AE8 #C290EF #DFC5F7

Accessibility & contrast

On white

4.03
#A45AE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A45AE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AE8
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AE8#FFFFFF#000000##000000
##A45AE81.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#007CEC
Deuteranopia (green-blind)
#397FE5
Tritanopia (blue-blind)
#987799
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45ae8;
/* rgb */ color: rgb(164, 90, 232);
/* oklch */ color: oklch(61.9% 0.209 305.1);
Tailwind
colors: {
  custom: {
    50: '#c38cf0',
    500: '#a45ae8',
    950: '#000000',
  },
}
SCSS
$custom: #a45ae8;
$custom-light: #c38cf0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ae8",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 232
  },
  "hsl": {
    "h": 271.268,
    "s": 75.532,
    "l": 63.137
  },
  "oklch": {
    "l": 0.61878,
    "c": 0.20911,
    "h": 305.1
  },
  "luminance": 0.21031
}

Semantic roles & 50–950 ramp

primary
#A45AE8
secondary
#CEE8B5
accent
#D80E6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A45AE8

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

Preview Lab → · Contrast checker → · Palette generator →

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