#A45ED9#A45ED9

#A45ED9 is a mid, vivid violet. Relative luminance 0.209; OKLCH L 61.5% C 0.187 H 308.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A45ED9
RGBrgb(164, 94, 217)
HSLhsl(274, 62%, 61%)
HSVhsv(274, 57%, 85%)
CMYKcmyk(24.4%, 56.7%, 0%, 14.9%)
CIE-LABlab(52.85, 50.47, -52.24)
CIE-LCHlch(52.85, 72.64, 314.01°)
OKLaboklab(61.49% 0.1153 -0.147)
OKLCHoklch(61.49% 0.187 308.1)
XYZxyz(31.8344, 20.9081, 67.9908)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ED9 #93D95E
analogous
#665ED9 #A45ED9 #D95ED1
triadic
#A45ED9 #D9A45E #5ED9A4
tetradic
#A45ED9 #D9665E #93D95E #5ED1D9
square
#A45ED9 #D9665E #93D95E #5ED1D9
split-complementary
#A45ED9 #D1D95E #5ED966
monochromatic
#662499 #8830CA #A45ED9 #C090E5 #DCC1F0

Accessibility & contrast

On white

4.05
#A45ED9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A45ED9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ED9
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ED9#FFFFFF#000000##000000
##A45ED91.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#327BDD
Deuteranopia (green-blind)
#4D7FD6
Tritanopia (blue-blind)
#9C7593
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45ed9;
/* rgb */ color: rgb(164, 94, 217);
/* oklch */ color: oklch(61.5% 0.187 308.1);
Tailwind
colors: {
  custom: {
    50: '#c28ee5',
    500: '#a45ed9',
    950: '#000000',
  },
}
SCSS
$custom: #a45ed9;
$custom-light: #c28ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ed9",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 217
  },
  "hsl": {
    "h": 274.146,
    "s": 61.809,
    "l": 60.98
  },
  "oklch": {
    "l": 0.61493,
    "c": 0.18685,
    "h": 308.1
  },
  "luminance": 0.20908
}

Semantic roles & 50–950 ramp

primary
#A45ED9
secondary
#C6E1B2
accent
#CA1C67
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45ED9

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

Preview Lab → · Contrast checker → · Palette generator →

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