#A45AE7#A45AE7

#A45AE7 is a mid, highly saturated violet. Relative luminance 0.210; OKLCH L 61.8% C 0.208 H 305.3°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A45AE7
RGBrgb(164, 90, 231)
HSLhsl(271, 75%, 63%)
HSVhsv(271, 61%, 91%)
CMYKcmyk(29%, 61%, 0%, 9.4%)
CIE-LABlab(52.92, 55.71, -60.03)
CIE-LCHlch(52.92, 81.90, 312.86°)
OKLaboklab(61.81% 0.1201 -0.1698)
OKLCHoklch(61.81% 0.208 305.3)
XYZxyz(33.3867, 20.9746, 77.8754)
Luminance0.2097 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45AE7 #9DE75A
analogous
#5D5AE7 #A45AE7 #E75AE4
triadic
#A45AE7 #E7A45A #5AE7A4
tetradic
#A45AE7 #E75D5A #9DE75A #5AE4E7
square
#A45AE7 #E75D5A #9DE75A #5AE4E7
split-complementary
#A45AE7 #E4E75A #5AE75D
monochromatic
#6719AD #8725DF #A45AE7 #C18FEF #DFC5F7

Accessibility & contrast

On white

4.04
#A45AE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A45AE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45AE7
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45AE7#FFFFFF#000000##000000
##A45AE71.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#017CEB
Deuteranopia (green-blind)
#3A7FE4
Tritanopia (blue-blind)
#987798
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45ae7;
/* rgb */ color: rgb(164, 90, 231);
/* oklch */ color: oklch(61.8% 0.208 305.3);
Tailwind
colors: {
  custom: {
    50: '#c38cef',
    500: '#a45ae7',
    950: '#000000',
  },
}
SCSS
$custom: #a45ae7;
$custom-light: #c38cef;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ae7",
  "rgb": {
    "r": 164,
    "g": 90,
    "b": 231
  },
  "hsl": {
    "h": 271.489,
    "s": 74.603,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61814,
    "c": 0.20801,
    "h": 305.3
  },
  "luminance": 0.20974
}

Semantic roles & 50–950 ramp

primary
#A45AE7
secondary
#CDE8B5
accent
#D70F6E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A45AE7

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

Preview Lab → · Contrast checker → · Palette generator →

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