#A45DCB#A45DCB

#A45DCB is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.5% C 0.173 H 312.1°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A45DCB
RGBrgb(164, 93, 203)
HSLhsl(279, 51%, 58%)
HSVhsv(279, 54%, 80%)
CMYKcmyk(19.2%, 54.2%, 0%, 20.4%)
CIE-LABlab(51.88, 47.87, -45.82)
CIE-LCHlch(51.88, 66.27, 316.26°)
OKLaboklab(60.53% 0.116 -0.1282)
OKLCHoklch(60.53% 0.173 312.1)
XYZxyz(30.0018, 20.0337, 58.7748)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DCB #84CB5D
analogous
#6D5DCB #A45DCB #CB5DBB
triadic
#A45DCB #CBA45D #5DCBA4
tetradic
#A45DCB #CB6D5D #84CB5D #5DBBCB
square
#A45DCB #CB6D5D #84CB5D #5DBBCB
split-complementary
#A45DCB #BBCB5D #5DCB6D
monochromatic
#642A83 #8739B2 #A45DCB #BE8BDA #D8BAE9

Accessibility & contrast

On white

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

On black

5.01
#A45DCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DCB
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DCB#FFFFFF#000000##000000
##A45DCB1.004.195.015.01
#FFFFFF4.191.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F78CF
Deuteranopia (green-blind)
#577DC8
Tritanopia (blue-blind)
#A0708B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45dcb;
/* rgb */ color: rgb(164, 93, 203);
/* oklch */ color: oklch(60.5% 0.173 312.1);
Tailwind
colors: {
  custom: {
    50: '#c18edb',
    500: '#a45dcb',
    950: '#000000',
  },
}
SCSS
$custom: #a45dcb;
$custom-light: #c18edb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dcb",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 203
  },
  "hsl": {
    "h": 278.727,
    "s": 51.402,
    "l": 58.039
  },
  "oklch": {
    "l": 0.60527,
    "c": 0.1729,
    "h": 312.1
  },
  "luminance": 0.20033
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A45DCB

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

Preview Lab → · Contrast checker → · Palette generator →

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