#A45AE4#A45AE4

#A45AE4 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.6% C 0.205 H 306.0°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A45AE4
RGBrgb(164, 90, 228)
HSLhsl(272, 72%, 62%)
HSVhsv(272, 61%, 89%)
CMYKcmyk(28.1%, 60.5%, 0%, 10.6%)
CIE-LABlab(52.74, 55.02, -58.64)
CIE-LCHlch(52.74, 80.41, 313.18°)
OKLaboklab(61.62% 0.1202 -0.1657)
OKLCHoklch(61.62% 0.205 306)
XYZxyz(32.9666, 20.8066, 75.6631)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AE4 #9AE45A
analogous
#5F5AE4 #A45AE4 #E45ADF
triadic
#A45AE4 #E4A45A #5AE4A4
tetradic
#A45AE4 #E45F5A #9AE45A #5ADFE4
square
#A45AE4 #E45F5A #9AE45A #5ADFE4
split-complementary
#A45AE4 #DFE45A #5AE45F
monochromatic
#671CA8 #8725DB #A45AE4 #C18FED #DEC3F5

Accessibility & contrast

On white

4.07
#A45AE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A45AE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AE4
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AE4#FFFFFF#000000##000000
##A45AE41.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#107CE8
Deuteranopia (green-blind)
#3E7EE1
Tritanopia (blue-blind)
#997697
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45ae4;
/* rgb */ color: rgb(164, 90, 228);
/* oklch */ color: oklch(61.6% 0.205 306.0);
Tailwind
colors: {
  custom: {
    50: '#c38ced',
    500: '#a45ae4',
    950: '#000000',
  },
}
SCSS
$custom: #a45ae4;
$custom-light: #c38ced;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ae4",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 228
  },
  "hsl": {
    "h": 272.174,
    "s": 71.875,
    "l": 62.353
  },
  "oklch": {
    "l": 0.6162,
    "c": 0.20475,
    "h": 306
  },
  "luminance": 0.20806
}

Semantic roles & 50–950 ramp

primary
#A45AE4
secondary
#CBE6B4
accent
#D4126C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45AE4

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

Preview Lab → · Contrast checker → · Palette generator →

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