#A45ED7#A45ED7

#A45ED7 is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.4% C 0.185 H 308.6°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A45ED7
RGBrgb(164, 94, 215)
HSLhsl(275, 60%, 61%)
HSVhsv(275, 56%, 84%)
CMYKcmyk(23.7%, 56.3%, 0%, 15.7%)
CIE-LABlab(52.74, 50.02, -51.29)
CIE-LCHlch(52.74, 71.64, 314.28°)
OKLaboklab(61.37% 0.1153 -0.1442)
OKLCHoklch(61.37% 0.185 308.6)
XYZxyz(31.5759, 20.8047, 66.6291)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ED7 #91D75E
analogous
#675ED7 #A45ED7 #D75ECD
triadic
#A45ED7 #D7A45E #5ED7A4
tetradic
#A45ED7 #D7675E #91D75E #5ECDD7
square
#A45ED7 #D7675E #91D75E #5ECDD7
split-complementary
#A45ED7 #CDD75E #5ED767
monochromatic
#662595 #8831C6 #A45ED7 #C08FE3 #DBC0EF

Accessibility & contrast

On white

4.07
#A45ED7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A45ED7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ED7
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ED7#FFFFFF#000000##000000
##A45ED71.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#357BDB
Deuteranopia (green-blind)
#4F7FD4
Tritanopia (blue-blind)
#9D7492
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45ed7;
/* rgb */ color: rgb(164, 94, 215);
/* oklch */ color: oklch(61.4% 0.185 308.6);
Tailwind
colors: {
  custom: {
    50: '#c28ee4',
    500: '#a45ed7',
    950: '#000000',
  },
}
SCSS
$custom: #a45ed7;
$custom-light: #c28ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ed7",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 215
  },
  "hsl": {
    "h": 274.711,
    "s": 60.199,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61373,
    "c": 0.18463,
    "h": 308.6
  },
  "luminance": 0.20804
}

Semantic roles & 50–950 ramp

primary
#A45ED7
secondary
#C5DFB1
accent
#C81E65
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C15
muted
#827D84

Preview Lab

Preview with #A45ED7

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

Preview Lab → · Contrast checker → · Palette generator →

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