#A45AE0#A45AE0

#A45AE0 is a mid, highly saturated violet. Relative luminance 0.206; OKLCH L 61.4% C 0.200 H 306.9°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#A45AE0
RGBrgb(164, 90, 224)
HSLhsl(273, 68%, 62%)
HSVhsv(273, 60%, 88%)
CMYKcmyk(26.8%, 59.8%, 0%, 12.2%)
CIE-LABlab(52.49, 54.11, -56.77)
CIE-LCHlch(52.49, 78.42, 313.62°)
OKLaboklab(61.37% 0.1203 -0.1603)
OKLCHoklch(61.37% 0.2 306.9)
XYZxyz(32.4177, 20.5870, 72.7725)
Luminance0.2059 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AE0 #96E05A
analogous
#615AE0 #A45AE0 #E05AD9
triadic
#A45AE0 #E0A45A #5AE0A4
tetradic
#A45AE0 #E0615A #96E05A #5AD9E0
square
#A45AE0 #E0615A #96E05A #5AD9E0
split-complementary
#A45AE0 #D9E05A #5AE061
monochromatic
#671EA1 #8728D5 #A45AE0 #C08EEA #DDC1F3

Accessibility & contrast

On white

4.10
#A45AE0 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#A45AE0 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AE0
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AE0#FFFFFF#000000##000000
##A45AE01.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1C7BE4
Deuteranopia (green-blind)
#427EDD
Tritanopia (blue-blind)
#9A7495
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45ae0;
/* rgb */ color: rgb(164, 90, 224);
/* oklch */ color: oklch(61.4% 0.200 306.9);
Tailwind
colors: {
  custom: {
    50: '#c38cea',
    500: '#a45ae0',
    950: '#000000',
  },
}
SCSS
$custom: #a45ae0;
$custom-light: #c38cea;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ae0",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 224
  },
  "hsl": {
    "h": 273.134,
    "s": 68.367,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61366,
    "c": 0.2004,
    "h": 306.9
  },
  "luminance": 0.20587
}

Semantic roles & 50–950 ramp

primary
#A45AE0
secondary
#C8E4B2
accent
#D01569
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45AE0

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

Preview Lab → · Contrast checker → · Palette generator →

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