#A45BDC#A45BDC

#A45BDC is a mid, vivid violet. Relative luminance 0.205; OKLCH L 61.3% C 0.195 H 307.7°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A45BDC
RGBrgb(164, 91, 220)
HSLhsl(274, 65%, 61%)
HSVhsv(274, 59%, 86%)
CMYKcmyk(25.5%, 58.6%, 0%, 13.7%)
CIE-LABlab(52.45, 52.69, -54.59)
CIE-LCHlch(52.45, 75.87, 313.99°)
OKLaboklab(61.25% 0.1191 -0.1539)
OKLCHoklch(61.25% 0.195 307.7)
XYZxyz(31.9666, 20.5424, 69.9773)
Luminance0.2054 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BDC #93DC5B
analogous
#635BDC #A45BDC #DC5BD4
triadic
#A45BDC #DCA45B #5BDCA4
tetradic
#A45BDC #DC635B #93DC5B #5BD4DC
square
#A45BDC #DC635B #93DC5B #5BD4DC
split-complementary
#A45BDC #D4DC5B #5BDC63
monochromatic
#66219B #882CCE #A45BDC #C08DE7 #DCC0F2

Accessibility & contrast

On white

4.11
#A45BDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A45BDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BDC
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BDC#FFFFFF#000000##000000
##A45BDC1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#277AE0
Deuteranopia (green-blind)
#477ED9
Tritanopia (blue-blind)
#9C7493
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45bdc;
/* rgb */ color: rgb(164, 91, 220);
/* oklch */ color: oklch(61.3% 0.195 307.7);
Tailwind
colors: {
  custom: {
    50: '#c28de7',
    500: '#a45bdc',
    950: '#000000',
  },
}
SCSS
$custom: #a45bdc;
$custom-light: #c28de7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bdc",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 220
  },
  "hsl": {
    "h": 273.953,
    "s": 64.824,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61254,
    "c": 0.19459,
    "h": 307.7
  },
  "luminance": 0.20542
}

Semantic roles & 50–950 ramp

primary
#A45BDC
secondary
#C6E2B1
accent
#CD1967
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45BDC

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

Preview Lab → · Contrast checker → · Palette generator →

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