#A45CD5#A45CD5

#A45CD5 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.0% C 0.185 H 309.4°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#A45CD5
RGBrgb(164, 92, 213)
HSLhsl(276, 59%, 60%)
HSVhsv(276, 57%, 84%)
CMYKcmyk(23%, 56.8%, 0%, 16.5%)
CIE-LABlab(52.23, 50.60, -50.95)
CIE-LCHlch(52.23, 71.81, 314.80°)
OKLaboklab(60.97% 0.1178 -0.1432)
OKLCHoklch(60.97% 0.185 309.4)
XYZxyz(31.1449, 20.3514, 65.2254)
Luminance0.2035 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CD5 #8DD55C
analogous
#675CD5 #A45CD5 #D55CCA
triadic
#A45CD5 #D5A45C #5CD5A4
tetradic
#A45CD5 #D5675C #8DD55C #5CCAD5
square
#A45CD5 #D5675C #8DD55C #5CCAD5
split-complementary
#A45CD5 #CAD55C #5CD567
monochromatic
#662591 #8832C2 #A45CD5 #BF8DE2 #DABDEE

Accessibility & contrast

On white

4.14
#A45CD5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#A45CD5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CD5
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CD5#FFFFFF#000000##000000
##A45CD51.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3379D9
Deuteranopia (green-blind)
#4E7ED2
Tritanopia (blue-blind)
#9D7290
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45cd5;
/* rgb */ color: rgb(164, 92, 213);
/* oklch */ color: oklch(61.0% 0.185 309.4);
Tailwind
colors: {
  custom: {
    50: '#c28de2',
    500: '#a45cd5',
    950: '#000000',
  },
}
SCSS
$custom: #a45cd5;
$custom-light: #c28de2;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cd5",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 213
  },
  "hsl": {
    "h": 275.702,
    "s": 59.024,
    "l": 59.804
  },
  "oklch": {
    "l": 0.60968,
    "c": 0.18543,
    "h": 309.4
  },
  "luminance": 0.20351
}

Semantic roles & 50–950 ramp

primary
#A45CD5
secondary
#C2DEAF
accent
#E24685
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45CD5

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

Preview Lab → · Contrast checker → · Palette generator →

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