#A45CD6#A45CD6

#A45CD6 is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.0% C 0.187 H 309.2°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A45CD6
RGBrgb(164, 92, 214)
HSLhsl(275, 60%, 60%)
HSVhsv(275, 57%, 84%)
CMYKcmyk(23.4%, 57%, 0%, 16.1%)
CIE-LABlab(52.29, 50.83, -51.43)
CIE-LCHlch(52.29, 72.31, 314.66°)
OKLaboklab(61.03% 0.1178 -0.1446)
OKLCHoklch(61.03% 0.187 309.2)
XYZxyz(31.2722, 20.4024, 65.8959)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CD6 #8ED65C
analogous
#675CD6 #A45CD6 #D65CCB
triadic
#A45CD6 #D6A45C #5CD6A4
tetradic
#A45CD6 #D6675C #8ED65C #5CCBD6
square
#A45CD6 #D6675C #8ED65C #5CCBD6
split-complementary
#A45CD6 #CBD65C #5CD667
monochromatic
#662593 #8831C4 #A45CD6 #BF8DE2 #DBBEEF

Accessibility & contrast

On white

4.13
#A45CD6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A45CD6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CD6
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CD6#FFFFFF#000000##000000
##A45CD61.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327ADA
Deuteranopia (green-blind)
#4D7ED3
Tritanopia (blue-blind)
#9D7290
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45cd6;
/* rgb */ color: rgb(164, 92, 214);
/* oklch */ color: oklch(61.0% 0.187 309.2);
Tailwind
colors: {
  custom: {
    50: '#c28de3',
    500: '#a45cd6',
    950: '#000000',
  },
}
SCSS
$custom: #a45cd6;
$custom-light: #c28de3;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cd6",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 214
  },
  "hsl": {
    "h": 275.41,
    "s": 59.804,
    "l": 60
  },
  "oklch": {
    "l": 0.61028,
    "c": 0.18653,
    "h": 309.2
  },
  "luminance": 0.20402
}

Semantic roles & 50–950 ramp

primary
#A45CD6
secondary
#C3DEAF
accent
#E34586
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A45CD6

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

Preview Lab → · Contrast checker → · Palette generator →

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