#A45CD4#A45CD4

#A45CD4 is a mid, vivid violet. Relative luminance 0.203; OKLCH L 60.9% C 0.184 H 309.7°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).

Color values

HEX#A45CD4
RGBrgb(164, 92, 212)
HSLhsl(276, 58%, 60%)
HSVhsv(276, 57%, 83%)
CMYKcmyk(22.6%, 56.6%, 0%, 16.9%)
CIE-LABlab(52.18, 50.38, -50.48)
CIE-LCHlch(52.18, 71.32, 314.95°)
OKLaboklab(60.91% 0.1177 -0.1418)
OKLCHoklch(60.91% 0.184 309.7)
XYZxyz(31.0184, 20.3008, 64.5590)
Luminance0.2030 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CD4 #8CD45C
analogous
#685CD4 #A45CD4 #D45CC8
triadic
#A45CD4 #D4A45C #5CD4A4
tetradic
#A45CD4 #D4685C #8CD45C #5CC8D4
square
#A45CD4 #D4685C #8CD45C #5CC8D4
split-complementary
#A45CD4 #C8D45C #5CD468
monochromatic
#652690 #8833C0 #A45CD4 #BF8CE1 #DABDEE

Accessibility & contrast

On white

4.15
#A45CD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#A45CD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CD4
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CD4#FFFFFF#000000##000000
##A45CD41.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3479D8
Deuteranopia (green-blind)
#4F7ED1
Tritanopia (blue-blind)
#9E728F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45cd4;
/* rgb */ color: rgb(164, 92, 212);
/* oklch */ color: oklch(60.9% 0.184 309.7);
Tailwind
colors: {
  custom: {
    50: '#c28de2',
    500: '#a45cd4',
    950: '#000000',
  },
}
SCSS
$custom: #a45cd4;
$custom-light: #c28de2;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cd4",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 212
  },
  "hsl": {
    "h": 276,
    "s": 58.252,
    "l": 59.608
  },
  "oklch": {
    "l": 0.60908,
    "c": 0.18433,
    "h": 309.7
  },
  "luminance": 0.203
}

Semantic roles & 50–950 ramp

primary
#A45CD4
secondary
#C1DDAF
accent
#E14684
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45CD4

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

Preview Lab → · Contrast checker → · Palette generator →

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