#A45DE3#A45DE3

#A45DE3 is a mid, vivid violet. Relative luminance 0.213; OKLCH L 62.0% C 0.199 H 305.8°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#A45DE3
RGBrgb(164, 93, 227)
HSLhsl(272, 71%, 63%)
HSVhsv(272, 59%, 89%)
CMYKcmyk(27.8%, 59%, 0%, 11%)
CIE-LABlab(53.24, 53.28, -57.26)
CIE-LCHlch(53.24, 78.21, 312.93°)
OKLaboklab(61.97% 0.1167 -0.1617)
OKLCHoklch(61.97% 0.199 305.8)
XYZxyz(33.0864, 21.2675, 75.0202)
Luminance0.2127 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DE3 #9CE35D
analogous
#615DE3 #A45DE3 #E35DDF
triadic
#A45DE3 #E3A45D #5DE3A4
tetradic
#A45DE3 #E3615D #9CE35D #5DDFE3
square
#A45DE3 #E3615D #9CE35D #5DDFE3
split-complementary
#A45DE3 #DFE35D #5DE361
monochromatic
#671DA8 #8729DA #A45DE3 #C191EC #DFC5F5

Accessibility & contrast

On white

4.00
#A45DE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#A45DE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DE3
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DE3#FFFFFF#000000##000000
##A45DE31.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#207DE7
Deuteranopia (green-blind)
#437FE0
Tritanopia (blue-blind)
#997897
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45de3;
/* rgb */ color: rgb(164, 93, 227);
/* oklch */ color: oklch(62.0% 0.199 305.8);
Tailwind
colors: {
  custom: {
    50: '#c38eec',
    500: '#a45de3',
    950: '#000000',
  },
}
SCSS
$custom: #a45de3;
$custom-light: #c38eec;
$custom-dark: #000000;
JSON
{
  "hex": "#a45de3",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 227
  },
  "hsl": {
    "h": 271.791,
    "s": 70.526,
    "l": 62.745
  },
  "oklch": {
    "l": 0.61968,
    "c": 0.19941,
    "h": 305.8
  },
  "luminance": 0.21267
}

Semantic roles & 50–950 ramp

primary
#A45DE3
secondary
#CCE6B6
accent
#D3136D
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45DE3

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

Preview Lab → · Contrast checker → · Palette generator →

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