#A45DDC#A45DDC

#A45DDC is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.192 H 307.5°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A45DDC
RGBrgb(164, 93, 220)
HSLhsl(274, 64%, 61%)
HSVhsv(274, 58%, 86%)
CMYKcmyk(25.5%, 57.7%, 0%, 13.7%)
CIE-LABlab(52.83, 51.67, -53.97)
CIE-LCHlch(52.83, 74.72, 313.75°)
OKLaboklab(61.53% 0.1167 -0.1521)
OKLCHoklch(61.53% 0.192 307.5)
XYZxyz(32.1398, 20.8889, 70.0351)
Luminance0.2089 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DDC #95DC5D
analogous
#655DDC #A45DDC #DC5DD5
triadic
#A45DDC #DCA45D #5DDCA4
tetradic
#A45DDC #DC655D #95DC5D #5DD5DC
square
#A45DDC #DC655D #95DC5D #5DD5DC
split-complementary
#A45DDC #D5DC5D #5DDC65
monochromatic
#67229D #872DCF #A45DDC #C08FE7 #DDC2F2

Accessibility & contrast

On white

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

On black

5.18
#A45DDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DDC
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DDC#FFFFFF#000000##000000
##A45DDC1.004.065.185.18
#FFFFFF4.061.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2C7BE0
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#9B7594
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45ddc;
/* rgb */ color: rgb(164, 93, 220);
/* oklch */ color: oklch(61.5% 0.192 307.5);
Tailwind
colors: {
  custom: {
    50: '#c28ee7',
    500: '#a45ddc',
    950: '#000000',
  },
}
SCSS
$custom: #a45ddc;
$custom-light: #c28ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ddc",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 220
  },
  "hsl": {
    "h": 273.543,
    "s": 64.467,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61533,
    "c": 0.19166,
    "h": 307.5
  },
  "luminance": 0.20889
}

Semantic roles & 50–950 ramp

primary
#A45DDC
secondary
#C8E2B3
accent
#CC1968
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45DDC

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

Preview Lab → · Contrast checker → · Palette generator →

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