#A45FCD#A45FCD

#A45FCD is a mid, vivid violet. Relative luminance 0.205; OKLCH L 60.9% C 0.172 H 311.3°. Best body text is #000000 at 5.10:1 contrast (WCAG AA passes).

Color values

HEX#A45FCD
RGBrgb(164, 95, 205)
HSLhsl(278, 52%, 59%)
HSVhsv(278, 54%, 80%)
CMYKcmyk(20%, 53.7%, 0%, 19.6%)
CIE-LABlab(52.38, 47.26, -46.16)
CIE-LCHlch(52.38, 66.06, 315.68°)
OKLaboklab(60.93% 0.1135 -0.1292)
OKLCHoklch(60.93% 0.172 311.3)
XYZxyz(30.4195, 20.4853, 60.0974)
Luminance0.2049 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45FCD #88CD5F
analogous
#6D5FCD #A45FCD #CD5FBF
triadic
#A45FCD #CDA45F #5FCDA4
tetradic
#A45FCD #CD6D5F #88CD5F #5FBFCD
square
#A45FCD #CD6D5F #88CD5F #5FBFCD
split-complementary
#A45FCD #BFCD5F #5FCD6D
monochromatic
#652A87 #8739B6 #A45FCD #BF8EDC #D9BCEA

Accessibility & contrast

On white

4.12
#A45FCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.10
#A45FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45FCD
5.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45FCD#FFFFFF#000000##000000
##A45FCD1.004.125.105.10
#FFFFFF4.121.0021.0021.00
#0000005.1021.001.001.00
##0000005.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#407AD1
Deuteranopia (green-blind)
#577ECA
Tritanopia (blue-blind)
#9F728D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45fcd;
/* rgb */ color: rgb(164, 95, 205);
/* oklch */ color: oklch(60.9% 0.172 311.3);
Tailwind
colors: {
  custom: {
    50: '#c18fdd',
    500: '#a45fcd',
    950: '#000000',
  },
}
SCSS
$custom: #a45fcd;
$custom-light: #c18fdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45fcd",
  "rgb": {
    "r": 164,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 277.636,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60935,
    "c": 0.17197,
    "h": 311.3
  },
  "luminance": 0.20485
}

Semantic roles & 50–950 ramp

primary
#A45FCD
secondary
#BEDAAE
accent
#DC4C82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130D15
muted
#827D83

Preview Lab

Preview with #A45FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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