#A45FCC#A45FCC

#A45FCC is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.171 H 311.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A45FCC
RGBrgb(164, 95, 204)
HSLhsl(278, 52%, 59%)
HSVhsv(278, 53%, 80%)
CMYKcmyk(19.6%, 53.4%, 0%, 20%)
CIE-LABlab(52.33, 47.04, -45.67)
CIE-LCHlch(52.33, 65.57, 315.85°)
OKLaboklab(60.88% 0.1134 -0.1278)
OKLCHoklch(60.88% 0.171 311.6)
XYZxyz(30.2992, 20.4372, 59.4637)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FCC #87CC5F
analogous
#6D5FCC #A45FCC #CC5FBD
triadic
#A45FCC #CCA45F #5FCCA4
tetradic
#A45FCC #CC6D5F #87CC5F #5FBDCC
square
#A45FCC #CC6D5F #87CC5F #5FBDCC
split-complementary
#A45FCC #BDCC5F #5FCC6D
monochromatic
#642B86 #8739B4 #A45FCC #BE8DDB #D9BCEA

Accessibility & contrast

On white

4.13
#A45FCC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A45FCC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FCC
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FCC#FFFFFF#000000##000000
##A45FCC1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179D0
Deuteranopia (green-blind)
#587EC9
Tritanopia (blue-blind)
#A0718D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45fcc;
/* rgb */ color: rgb(164, 95, 204);
/* oklch */ color: oklch(60.9% 0.171 311.6);
Tailwind
colors: {
  custom: {
    50: '#c18fdc',
    500: '#a45fcc',
    950: '#000000',
  },
}
SCSS
$custom: #a45fcc;
$custom-light: #c18fdc;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fcc",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 204
  },
  "hsl": {
    "h": 277.982,
    "s": 51.659,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60878,
    "c": 0.17086,
    "h": 311.6
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#A45FCC
secondary
#BED9AE
accent
#DB4D81
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #A45FCC

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

Preview Lab → · Contrast checker → · Palette generator →

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