#A45DE7#A45DE7

#A45DE7 is a light, highly saturated violet. Relative luminance 0.215; OKLCH L 62.2% C 0.204 H 304.9°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#A45DE7
RGBrgb(164, 93, 231)
HSLhsl(271, 74%, 64%)
HSVhsv(271, 60%, 91%)
CMYKcmyk(29%, 59.7%, 0%, 9.4%)
CIE-LABlab(53.48, 54.20, -59.13)
CIE-LCHlch(53.48, 80.21, 312.51°)
OKLaboklab(62.22% 0.1166 -0.1672)
OKLCHoklch(62.22% 0.204 304.9)
XYZxyz(33.6448, 21.4909, 77.9615)
Luminance0.2149 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DE7 #A0E75D
analogous
#5F5DE7 #A45DE7 #E75DE5
triadic
#A45DE7 #E7A45D #5DE7A4
tetradic
#A45DE7 #E75F5D #A0E75D #5DE5E7
square
#A45DE7 #E75F5D #A0E75D #5DE5E7
split-complementary
#A45DE7 #E5E75D #5DE75F
monochromatic
#671AB0 #8628DF #A45DE7 #C292EF #E0C8F7

Accessibility & contrast

On white

3.96
#A45DE7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#A45DE7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DE7
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DE7#FFFFFF#000000##000000
##A45DE71.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#167EEB
Deuteranopia (green-blind)
#3E80E4
Tritanopia (blue-blind)
#987999
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #a45de7;
/* rgb */ color: rgb(164, 93, 231);
/* oklch */ color: oklch(62.2% 0.204 304.9);
Tailwind
colors: {
  custom: {
    50: '#c38eef',
    500: '#a45de7',
    950: '#000000',
  },
}
SCSS
$custom: #a45de7;
$custom-light: #c38eef;
$custom-dark: #000000;
JSON
{
  "hex": "#a45de7",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 231
  },
  "hsl": {
    "h": 270.87,
    "s": 74.194,
    "l": 63.529
  },
  "oklch": {
    "l": 0.62221,
    "c": 0.20383,
    "h": 304.9
  },
  "luminance": 0.21491
}

Semantic roles & 50–950 ramp

primary
#A45DE7
secondary
#CFE8B7
accent
#D60F70
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45DE7

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

Preview Lab → · Contrast checker → · Palette generator →

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