#A45CCC#A45CCC

#A45CCC is a mid, vivid violet. Relative luminance 0.199; OKLCH L 60.4% C 0.176 H 312.0°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#A45CCC
RGBrgb(164, 92, 204)
HSLhsl(279, 52%, 58%)
HSVhsv(279, 55%, 80%)
CMYKcmyk(19.6%, 54.9%, 0%, 20%)
CIE-LABlab(51.73, 48.61, -46.62)
CIE-LCHlch(51.73, 67.35, 316.20°)
OKLaboklab(60.44% 0.1174 -0.1306)
OKLCHoklch(60.44% 0.176 312)
XYZxyz(30.0341, 19.9071, 59.3753)
Luminance0.1991 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CCC #84CC5C
analogous
#6C5CCC #A45CCC #CC5CBC
triadic
#A45CCC #CCA45C #5CCCA4
tetradic
#A45CCC #CC6C5C #84CC5C #5CBCCC
square
#A45CCC #CC6C5C #84CC5C #5CBCCC
split-complementary
#A45CCC #BCCC5C #5CCC6C
monochromatic
#642984 #8738B3 #A45CCC #BE8BDB #D8B9E9

Accessibility & contrast

On white

4.22
#A45CCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#A45CCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CCC
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CCC#FFFFFF#000000##000000
##A45CCC1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C78D0
Deuteranopia (green-blind)
#557DC9
Tritanopia (blue-blind)
#A06F8B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45ccc;
/* rgb */ color: rgb(164, 92, 204);
/* oklch */ color: oklch(60.4% 0.176 312.0);
Tailwind
colors: {
  custom: {
    50: '#c28ddc',
    500: '#a45ccc',
    950: '#000000',
  },
}
SCSS
$custom: #a45ccc;
$custom-light: #c28ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ccc",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 204
  },
  "hsl": {
    "h": 278.571,
    "s": 52.336,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60439,
    "c": 0.17556,
    "h": 312
  },
  "luminance": 0.19906
}

Semantic roles & 50–950 ramp

primary
#A45CCC
secondary
#BCD8AC
accent
#DC4C7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45CCC

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

Preview Lab → · Contrast checker → · Palette generator →

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