#A45AE1#A45AE1

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

Color values

HEX#A45AE1
RGBrgb(164, 90, 225)
HSLhsl(273, 69%, 62%)
HSVhsv(273, 60%, 88%)
CMYKcmyk(27.1%, 60%, 0%, 11.8%)
CIE-LABlab(52.55, 54.34, -57.24)
CIE-LCHlch(52.55, 78.92, 313.51°)
OKLaboklab(61.43% 0.1203 -0.1616)
OKLCHoklch(61.43% 0.201 306.7)
XYZxyz(32.5538, 20.6414, 73.4888)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AE1 #97E15A
analogous
#615AE1 #A45AE1 #E15ADB
triadic
#A45AE1 #E1A45A #5AE1A4
tetradic
#A45AE1 #E1615A #97E15A #5ADBE1
square
#A45AE1 #E1615A #97E15A #5ADBE1
split-complementary
#A45AE1 #DBE15A #5AE161
monochromatic
#671EA3 #8727D7 #A45AE1 #C18EEA #DDC2F4

Accessibility & contrast

On white

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

On black

5.13
#A45AE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AE1
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AE1#FFFFFF#000000##000000
##A45AE11.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#197BE5
Deuteranopia (green-blind)
#417EDE
Tritanopia (blue-blind)
#9A7595
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45ae1;
/* rgb */ color: rgb(164, 90, 225);
/* oklch */ color: oklch(61.4% 0.201 306.7);
Tailwind
colors: {
  custom: {
    50: '#c38ceb',
    500: '#a45ae1',
    950: '#000000',
  },
}
SCSS
$custom: #a45ae1;
$custom-light: #c38ceb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ae1",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 225
  },
  "hsl": {
    "h": 272.889,
    "s": 69.231,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61429,
    "c": 0.20149,
    "h": 306.7
  },
  "luminance": 0.20641
}

Semantic roles & 50–950 ramp

primary
#A45AE1
secondary
#C9E4B2
accent
#D1146A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45AE1

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

Preview Lab → · Contrast checker → · Palette generator →

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