#A45DF2#A45DF2

#A45DF2 is a light, highly saturated violet. Relative luminance 0.221; OKLCH L 62.9% C 0.216 H 302.5°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#A45DF2
RGBrgb(164, 93, 242)
HSLhsl(269, 85%, 66%)
HSVhsv(269, 62%, 95%)
CMYKcmyk(32.2%, 61.6%, 0%, 5.1%)
CIE-LABlab(54.17, 56.78, -64.18)
CIE-LCHlch(54.17, 85.70, 311.50°)
OKLaboklab(62.94% 0.1162 -0.182)
OKLCHoklch(62.94% 0.216 302.5)
XYZxyz(35.2475, 22.1320, 86.4021)
Luminance0.2213 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DF2 #ABF25D
analogous
#5D60F2 #A45DF2 #EF5DF2
triadic
#A45DF2 #F2A45D #5DF2A4
tetradic
#A45DF2 #F25D60 #ABF25D #5DF2EF
square
#A45DF2 #F25D60 #ABF25D #5DF2EF
split-complementary
#A45DF2 #F2EF5D #60F25D
monochromatic
#6610C5 #8424ED #A45DF2 #C496F7 #E4CEFB

Accessibility & contrast

On white

3.87
#A45DF2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#A45DF2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DF2
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DF2#FFFFFF#000000##000000
##A45DF21.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#0080F7
Deuteranopia (green-blind)
#2F81EF
Tritanopia (blue-blind)
#957D9F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #a45df2;
/* rgb */ color: rgb(164, 93, 242);
/* oklch */ color: oklch(62.9% 0.216 302.5);
Tailwind
colors: {
  custom: {
    50: '#c48ef7',
    500: '#a45df2',
    950: '#000000',
  },
}
SCSS
$custom: #a45df2;
$custom-light: #c48ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45df2",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 242
  },
  "hsl": {
    "h": 268.591,
    "s": 85.143,
    "l": 65.686
  },
  "oklch": {
    "l": 0.62937,
    "c": 0.21595,
    "h": 302.5
  },
  "luminance": 0.22132
}

Semantic roles & 50–950 ramp

primary
#A45DF2
secondary
#D7EEBD
accent
#E20478
background
#FCF8FF
surface
#F8F0FF
border
#D1CBD7
text
#130D17
muted
#827D85

Preview Lab

Preview with #A45DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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