#A45AE2#A45AE2

#A45AE2 is a mid, highly saturated violet. Relative luminance 0.207; OKLCH L 61.5% C 0.203 H 306.4°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A45AE2
RGBrgb(164, 90, 226)
HSLhsl(273, 70%, 62%)
HSVhsv(273, 60%, 89%)
CMYKcmyk(27.4%, 60.2%, 0%, 11.4%)
CIE-LABlab(52.62, 54.56, -57.70)
CIE-LCHlch(52.62, 79.42, 313.40°)
OKLaboklab(61.49% 0.1203 -0.163)
OKLCHoklch(61.49% 0.203 306.4)
XYZxyz(32.6906, 20.6961, 74.2093)
Luminance0.2070 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AE2 #98E25A
analogous
#605AE2 #A45AE2 #E25ADC
triadic
#A45AE2 #E2A45A #5AE2A4
tetradic
#A45AE2 #E2605A #98E25A #5ADCE2
square
#A45AE2 #E2605A #98E25A #5ADCE2
split-complementary
#A45AE2 #DCE25A #5AE260
monochromatic
#671DA5 #8726D9 #A45AE2 #C18EEB #DDC2F4

Accessibility & contrast

On white

4.09
#A45AE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A45AE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AE2
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AE2#FFFFFF#000000##000000
##A45AE21.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#177BE6
Deuteranopia (green-blind)
#407EDF
Tritanopia (blue-blind)
#9A7596
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45ae2;
/* rgb */ color: rgb(164, 90, 226);
/* oklch */ color: oklch(61.5% 0.203 306.4);
Tailwind
colors: {
  custom: {
    50: '#c38cec',
    500: '#a45ae2',
    950: '#000000',
  },
}
SCSS
$custom: #a45ae2;
$custom-light: #c38cec;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ae2",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 226
  },
  "hsl": {
    "h": 272.647,
    "s": 70.103,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.20257,
    "h": 306.4
  },
  "luminance": 0.20696
}

Semantic roles & 50–950 ramp

primary
#A45AE2
secondary
#CAE5B3
accent
#D2136A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45AE2

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

Preview Lab → · Contrast checker → · Palette generator →

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