#A45CE8#A45CE8

#A45CE8 is a light, highly saturated violet. Relative luminance 0.214; OKLCH L 62.1% C 0.206 H 304.8°. Best body text is #000000 at 5.27:1 contrast (WCAG AA passes).

Color values

HEX#A45CE8
RGBrgb(164, 92, 232)
HSLhsl(271, 75%, 64%)
HSVhsv(271, 60%, 91%)
CMYKcmyk(29.3%, 60.3%, 0%, 9%)
CIE-LABlab(53.36, 54.94, -59.89)
CIE-LCHlch(53.36, 81.27, 312.53°)
OKLaboklab(62.15% 0.1178 -0.1694)
OKLCHoklch(62.15% 0.206 304.8)
XYZxyz(33.6993, 21.3732, 78.6784)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CE8 #A0E85C
analogous
#5E5CE8 #A45CE8 #E85CE6
triadic
#A45CE8 #E8A45C #5CE8A4
tetradic
#A45CE8 #E85E5C #A0E85C #5CE6E8
square
#A45CE8 #E85E5C #A0E85C #5CE6E8
split-complementary
#A45CE8 #E6E85C #5CE85E
monochromatic
#6719B1 #8626E0 #A45CE8 #C292F0 #E0C7F7

Accessibility & contrast

On white

3.98
#A45CE8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.27
#A45CE8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CE8
5.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CE8#FFFFFF#000000##000000
##A45CE81.003.985.275.27
#FFFFFF3.981.0021.0021.00
#0000005.2721.001.001.00
##0000005.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D7DEC
Deuteranopia (green-blind)
#3C80E5
Tritanopia (blue-blind)
#98799A
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45ce8;
/* rgb */ color: rgb(164, 92, 232);
/* oklch */ color: oklch(62.1% 0.206 304.8);
Tailwind
colors: {
  custom: {
    50: '#c38ef0',
    500: '#a45ce8',
    950: '#000000',
  },
}
SCSS
$custom: #a45ce8;
$custom-light: #c38ef0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ce8",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 232
  },
  "hsl": {
    "h": 270.857,
    "s": 75.269,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62148,
    "c": 0.20633,
    "h": 304.8
  },
  "luminance": 0.21373
}

Semantic roles & 50–950 ramp

primary
#A45CE8
secondary
#CFE9B7
accent
#D70E70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C17
muted
#827D85

Preview Lab

Preview with #A45CE8

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

Preview Lab → · Contrast checker → · Palette generator →

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