#A45CDF#A45CDF

#A45CDF is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.6% C 0.196 H 306.9°. Best body text is #000000 at 5.17:1 contrast (WCAG AA passes).

Color values

HEX#A45CDF
RGBrgb(164, 92, 223)
HSLhsl(273, 67%, 62%)
HSVhsv(273, 59%, 87%)
CMYKcmyk(26.5%, 58.7%, 0%, 12.5%)
CIE-LABlab(52.81, 52.87, -55.70)
CIE-LCHlch(52.81, 76.79, 313.51°)
OKLaboklab(61.58% 0.1179 -0.1571)
OKLCHoklch(61.58% 0.196 306.9)
XYZxyz(32.4535, 20.8749, 72.1173)
Luminance0.2087 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CDF #97DF5C
analogous
#635CDF #A45CDF #DF5CD9
triadic
#A45CDF #DFA45C #5CDFA4
tetradic
#A45CDF #DF635C #97DF5C #5CD9DF
square
#A45CDF #DF635C #97DF5C #5CD9DF
split-complementary
#A45CDF #D9DF5C #5CDF63
monochromatic
#6720A1 #872AD4 #A45CDF #C18FE9 #DDC2F3

Accessibility & contrast

On white

4.06
#A45CDF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#A45CDF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CDF
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CDF#FFFFFF#000000##000000
##A45CDF1.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#247CE3
Deuteranopia (green-blind)
#457FDC
Tritanopia (blue-blind)
#9B7595
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45cdf;
/* rgb */ color: rgb(164, 92, 223);
/* oklch */ color: oklch(61.6% 0.196 306.9);
Tailwind
colors: {
  custom: {
    50: '#c28dea',
    500: '#a45cdf',
    950: '#000000',
  },
}
SCSS
$custom: #a45cdf;
$custom-light: #c28dea;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cdf",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 223
  },
  "hsl": {
    "h": 272.977,
    "s": 67.179,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61579,
    "c": 0.19643,
    "h": 306.9
  },
  "luminance": 0.20875
}

Semantic roles & 50–950 ramp

primary
#A45CDF
secondary
#C9E4B3
accent
#CF166A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45CDF

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

Preview Lab → · Contrast checker → · Palette generator →

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