#A45BCD#A45BCD

#A45BCD is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.178 H 311.8°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#A45BCD
RGBrgb(164, 91, 205)
HSLhsl(278, 53%, 58%)
HSVhsv(278, 56%, 80%)
CMYKcmyk(20%, 55.6%, 0%, 19.6%)
CIE-LABlab(51.59, 49.35, -47.41)
CIE-LCHlch(51.59, 68.44, 316.15°)
OKLaboklab(60.35% 0.1187 -0.1329)
OKLCHoklch(60.35% 0.178 311.8)
XYZxyz(30.0684, 19.7831, 59.9803)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BCD #84CD5B
analogous
#6B5BCD #A45BCD #CD5BBD
triadic
#A45BCD #CDA45B #5BCDA4
tetradic
#A45BCD #CD6B5B #84CD5B #5BBDCD
square
#A45BCD #CD6B5B #84CD5B #5BBDCD
split-complementary
#A45BCD #BDCD5B #5BCD6B
monochromatic
#642985 #8737B4 #A45BCD #BE8ADB #D8B9EA

Accessibility & contrast

On white

4.24
#A45BCD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#A45BCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BCD
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BCD#FFFFFF#000000##000000
##A45BCD1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3977D1
Deuteranopia (green-blind)
#537CCA
Tritanopia (blue-blind)
#9F6F8B
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45bcd;
/* rgb */ color: rgb(164, 91, 205);
/* oklch */ color: oklch(60.4% 0.178 311.8);
Tailwind
colors: {
  custom: {
    50: '#c28cdd',
    500: '#a45bcd',
    950: '#000000',
  },
}
SCSS
$custom: #a45bcd;
$custom-light: #c28cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bcd",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 205
  },
  "hsl": {
    "h": 278.421,
    "s": 53.271,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60353,
    "c": 0.1782,
    "h": 311.8
  },
  "luminance": 0.19782
}

Semantic roles & 50–950 ramp

primary
#A45BCD
secondary
#BCD9AB
accent
#DD4B7F
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45BCD

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

Preview Lab → · Contrast checker → · Palette generator →

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