#A45DCC#A45DCC

#A45DCC is a mid, vivid violet. Relative luminance 0.201; OKLCH L 60.6% C 0.174 H 311.8°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#A45DCC
RGBrgb(164, 93, 204)
HSLhsl(278, 52%, 58%)
HSVhsv(278, 54%, 80%)
CMYKcmyk(19.6%, 54.4%, 0%, 20%)
CIE-LABlab(51.93, 48.09, -46.30)
CIE-LCHlch(51.93, 66.76, 316.08°)
OKLaboklab(60.58% 0.1161 -0.1296)
OKLCHoklch(60.58% 0.174 311.8)
XYZxyz(30.1213, 20.0815, 59.4044)
Luminance0.2008 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DCC #85CC5D
analogous
#6C5DCC #A45DCC #CC5DBD
triadic
#A45DCC #CCA45D #5DCCA4
tetradic
#A45DCC #CC6C5D #85CC5D #5DBDCC
square
#A45DCC #CC6C5D #85CC5D #5DBDCC
split-complementary
#A45DCC #BDCC5D #5DCC6C
monochromatic
#642A85 #8738B3 #A45DCC #BE8CDB #D8BAE9

Accessibility & contrast

On white

4.19
#A45DCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#A45DCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DCC
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DCC#FFFFFF#000000##000000
##A45DCC1.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E78D0
Deuteranopia (green-blind)
#567DC9
Tritanopia (blue-blind)
#A0708C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45dcc;
/* rgb */ color: rgb(164, 93, 204);
/* oklch */ color: oklch(60.6% 0.174 311.8);
Tailwind
colors: {
  custom: {
    50: '#c18edc',
    500: '#a45dcc',
    950: '#000000',
  },
}
SCSS
$custom: #a45dcc;
$custom-light: #c18edc;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dcc",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 204
  },
  "hsl": {
    "h": 278.378,
    "s": 52.113,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60584,
    "c": 0.174,
    "h": 311.8
  },
  "luminance": 0.20081
}

Semantic roles & 50–950 ramp

primary
#A45DCC
secondary
#BCD9AC
accent
#DC4C80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45DCC

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

Preview Lab → · Contrast checker → · Palette generator →

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