#A45DEB#A45DEB

#A45DEB is a light, highly saturated violet. Relative luminance 0.217; OKLCH L 62.5% C 0.208 H 304.0°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#A45DEB
RGBrgb(164, 93, 235)
HSLhsl(270, 78%, 64%)
HSVhsv(270, 60%, 92%)
CMYKcmyk(30.2%, 60.4%, 0%, 7.8%)
CIE-LABlab(53.73, 55.13, -60.98)
CIE-LCHlch(53.73, 82.21, 312.12°)
OKLaboklab(62.48% 0.1165 -0.1726)
OKLCHoklch(62.48% 0.208 304)
XYZxyz(34.2162, 21.7195, 80.9708)
Luminance0.2172 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DEB #A4EB5D
analogous
#5D5DEB #A45DEB #EB5DEB
triadic
#A45DEB #EBA45D #5DEBA4
tetradic
#A45DEB #EB5D5D #A4EB5D #5DEBEB
square
#A45DEB #EB5D5D #A4EB5D #5DEBEB
split-complementary
#A45DEB #EBEB5D #5DEB5D
monochromatic
#6717B7 #8527E4 #A45DEB #C393F2 #E1CAF8

Accessibility & contrast

On white

3.93
#A45DEB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#A45DEB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DEB
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DEB#FFFFFF#000000##000000
##A45DEB1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#057FF0
Deuteranopia (green-blind)
#3980E8
Tritanopia (blue-blind)
#977A9B
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a45deb;
/* rgb */ color: rgb(164, 93, 235);
/* oklch */ color: oklch(62.5% 0.208 304.0);
Tailwind
colors: {
  custom: {
    50: '#c38ef2',
    500: '#a45deb',
    950: '#000000',
  },
}
SCSS
$custom: #a45deb;
$custom-light: #c38ef2;
$custom-dark: #000000;
JSON
{
  "hex": "#a45deb",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 235
  },
  "hsl": {
    "h": 270,
    "s": 78.022,
    "l": 64.314
  },
  "oklch": {
    "l": 0.62478,
    "c": 0.20823,
    "h": 304
  },
  "luminance": 0.21719
}

Semantic roles & 50–950 ramp

primary
#A45DEB
secondary
#D2EBB9
accent
#DA0B73
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130D17
muted
#827D85

Preview Lab

Preview with #A45DEB

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

Preview Lab → · Contrast checker → · Palette generator →

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