#A45AEB#A45AEB

#A45AEB is a light, highly saturated violet. Relative luminance 0.212; OKLCH L 62.1% C 0.212 H 304.4°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A45AEB
RGBrgb(164, 90, 235)
HSLhsl(271, 78%, 64%)
HSVhsv(271, 62%, 92%)
CMYKcmyk(30.2%, 61.7%, 0%, 7.8%)
CIE-LABlab(53.17, 56.64, -61.87)
CIE-LCHlch(53.17, 83.88, 312.47°)
OKLaboklab(62.07% 0.12 -0.1752)
OKLCHoklch(62.07% 0.212 304.4)
XYZxyz(33.9581, 21.2031, 80.8848)
Luminance0.2120 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AEB #A1EB5A
analogous
#5B5AEB #A45AEB #EB5AE9
triadic
#A45AEB #EBA45A #5AEBA4
tetradic
#A45AEB #EB5B5A #A1EB5A #5AE9EB
square
#A45AEB #EB5B5A #A1EB5A #5AE9EB
split-complementary
#A45AEB #E9EB5A #5AEB5B
monochromatic
#6716B5 #8623E4 #A45AEB #C291F2 #E0C7F8

Accessibility & contrast

On white

4.01
#A45AEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A45AEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AEB
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AEB#FFFFFF#000000##000000
##A45AEB1.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#007DF0
Deuteranopia (green-blind)
#357FE8
Tritanopia (blue-blind)
#97789A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45aeb;
/* rgb */ color: rgb(164, 90, 235);
/* oklch */ color: oklch(62.1% 0.212 304.4);
Tailwind
colors: {
  custom: {
    50: '#c38cf2',
    500: '#a45aeb',
    950: '#000000',
  },
}
SCSS
$custom: #a45aeb;
$custom-light: #c38cf2;
$custom-dark: #000000;
JSON
{
  "hex": "#a45aeb",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 235
  },
  "hsl": {
    "h": 270.621,
    "s": 78.378,
    "l": 63.725
  },
  "oklch": {
    "l": 0.62074,
    "c": 0.21237,
    "h": 304.4
  },
  "luminance": 0.21203
}

Semantic roles & 50–950 ramp

primary
#A45AEB
secondary
#D0EAB7
accent
#DB0B71
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A45AEB

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

Preview Lab → · Contrast checker → · Palette generator →

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