#A45CDC#A45CDC

#A45CDC is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.4% C 0.193 H 307.6°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#A45CDC
RGBrgb(164, 92, 220)
HSLhsl(274, 65%, 61%)
HSVhsv(274, 58%, 86%)
CMYKcmyk(25.5%, 58.2%, 0%, 13.7%)
CIE-LABlab(52.64, 52.18, -54.28)
CIE-LCHlch(52.64, 75.30, 313.87°)
OKLaboklab(61.39% 0.1179 -0.153)
OKLCHoklch(61.39% 0.193 307.6)
XYZxyz(32.0526, 20.7145, 70.0060)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CDC #94DC5C
analogous
#645CDC #A45CDC #DC5CD4
triadic
#A45CDC #DCA45C #5CDCA4
tetradic
#A45CDC #DC645C #94DC5C #5CD4DC
square
#A45CDC #DC645C #94DC5C #5CD4DC
split-complementary
#A45CDC #D4DC5C #5CDC64
monochromatic
#66229C #882CCE #A45CDC #C08EE7 #DCC1F2

Accessibility & contrast

On white

4.08
#A45CDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#A45CDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CDC
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CDC#FFFFFF#000000##000000
##A45CDC1.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#297BE0
Deuteranopia (green-blind)
#487ED9
Tritanopia (blue-blind)
#9B7493
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45cdc;
/* rgb */ color: rgb(164, 92, 220);
/* oklch */ color: oklch(61.4% 0.193 307.6);
Tailwind
colors: {
  custom: {
    50: '#c28de7',
    500: '#a45cdc',
    950: '#000000',
  },
}
SCSS
$custom: #a45cdc;
$custom-light: #c28de7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cdc",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 220
  },
  "hsl": {
    "h": 273.75,
    "s": 64.646,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61393,
    "c": 0.19313,
    "h": 307.6
  },
  "luminance": 0.20714
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A45CDC

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

Preview Lab → · Contrast checker → · Palette generator →

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