#A45DE2#A45DE2

#A45DE2 is a mid, vivid violet. Relative luminance 0.212; OKLCH L 61.9% C 0.198 H 306.0°. Best body text is #000000 at 5.24:1 contrast (WCAG AA passes).

Color values

HEX#A45DE2
RGBrgb(164, 93, 226)
HSLhsl(272, 70%, 63%)
HSVhsv(272, 59%, 89%)
CMYKcmyk(27.4%, 58.8%, 0%, 11.4%)
CIE-LABlab(53.18, 53.04, -56.80)
CIE-LCHlch(53.18, 77.71, 313.04°)
OKLaboklab(61.91% 0.1167 -0.1603)
OKLCHoklch(61.91% 0.198 306)
XYZxyz(32.9487, 21.2125, 74.2954)
Luminance0.2121 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DE2 #9BE25D
analogous
#615DE2 #A45DE2 #E25DDE
triadic
#A45DE2 #E2A45D #5DE2A4
tetradic
#A45DE2 #E2615D #9BE25D #5DDEE2
square
#A45DE2 #E2615D #9BE25D #5DDEE2
split-complementary
#A45DE2 #DEE25D #5DE261
monochromatic
#671EA7 #8729D9 #A45DE2 #C191EB #DEC5F5

Accessibility & contrast

On white

4.01
#A45DE2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.24
#A45DE2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DE2
5.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DE2#FFFFFF#000000##000000
##A45DE21.004.015.245.24
#FFFFFF4.011.0021.0021.00
#0000005.2421.001.001.00
##0000005.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#227DE6
Deuteranopia (green-blind)
#447FDF
Tritanopia (blue-blind)
#9A7797
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45de2;
/* rgb */ color: rgb(164, 93, 226);
/* oklch */ color: oklch(61.9% 0.198 306.0);
Tailwind
colors: {
  custom: {
    50: '#c38eec',
    500: '#a45de2',
    950: '#000000',
  },
}
SCSS
$custom: #a45de2;
$custom-light: #c38eec;
$custom-dark: #000000;
JSON
{
  "hex": "#a45de2",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 226
  },
  "hsl": {
    "h": 272.03,
    "s": 69.634,
    "l": 62.549
  },
  "oklch": {
    "l": 0.61905,
    "c": 0.1983,
    "h": 306
  },
  "luminance": 0.21212
}

Semantic roles & 50–950 ramp

primary
#A45DE2
secondary
#CCE6B5
accent
#D2146C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45DE2

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

Preview Lab → · Contrast checker → · Palette generator →

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