#A45CE4#A45CE4

#A45CE4 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.202 H 305.7°. Best body text is #000000 at 5.23:1 contrast (WCAG AA passes).

Color values

HEX#A45CE4
RGBrgb(164, 92, 228)
HSLhsl(272, 72%, 63%)
HSVhsv(272, 60%, 89%)
CMYKcmyk(28.1%, 59.6%, 0%, 10.6%)
CIE-LABlab(53.11, 54.01, -58.04)
CIE-LCHlch(53.11, 79.28, 312.94°)
OKLaboklab(61.89% 0.1179 -0.164)
OKLCHoklch(61.89% 0.202 305.7)
XYZxyz(33.1376, 21.1485, 75.7201)
Luminance0.2115 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CE4 #9CE45C
analogous
#605CE4 #A45CE4 #E45CE0
triadic
#A45CE4 #E4A45C #5CE4A4
tetradic
#A45CE4 #E4605C #9CE45C #5CE0E4
square
#A45CE4 #E4605C #9CE45C #5CE0E4
split-complementary
#A45CE4 #E0E45C #5CE460
monochromatic
#671CAA #8727DB #A45CE4 #C191ED #DFC5F5

Accessibility & contrast

On white

4.02
#A45CE4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.23
#A45CE4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CE4
5.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CE4#FFFFFF#000000##000000
##A45CE41.004.025.235.23
#FFFFFF4.021.0021.0021.00
#0000005.2321.001.001.00
##0000005.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A7DE8
Deuteranopia (green-blind)
#407FE1
Tritanopia (blue-blind)
#997797
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45ce4;
/* rgb */ color: rgb(164, 92, 228);
/* oklch */ color: oklch(61.9% 0.202 305.7);
Tailwind
colors: {
  custom: {
    50: '#c38ded',
    500: '#a45ce4',
    950: '#000000',
  },
}
SCSS
$custom: #a45ce4;
$custom-light: #c38ded;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ce4",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 228
  },
  "hsl": {
    "h": 271.765,
    "s": 71.579,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61893,
    "c": 0.20194,
    "h": 305.7
  },
  "luminance": 0.21148
}

Semantic roles & 50–950 ramp

primary
#A45CE4
secondary
#CCE7B5
accent
#D4126D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45CE4

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

Preview Lab → · Contrast checker → · Palette generator →

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