#A45EDC#A45EDC

#A45EDC is a mid, vivid violet. Relative luminance 0.211; OKLCH L 61.7% C 0.190 H 307.4°. Best body text is #000000 at 5.21:1 contrast (WCAG AA passes).

Color values

HEX#A45EDC
RGBrgb(164, 94, 220)
HSLhsl(273, 64%, 62%)
HSVhsv(273, 57%, 86%)
CMYKcmyk(25.5%, 57.3%, 0%, 13.7%)
CIE-LABlab(53.02, 51.16, -53.66)
CIE-LCHlch(53.02, 74.14, 313.63°)
OKLaboklab(61.68% 0.1154 -0.1512)
OKLCHoklch(61.68% 0.19 307.4)
XYZxyz(32.2282, 21.0656, 70.0645)
Luminance0.2107 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EDC #96DC5E
analogous
#655EDC #A45EDC #DC5ED5
triadic
#A45EDC #DCA45E #5EDCA4
tetradic
#A45EDC #DC655E #96DC5E #5ED5DC
square
#A45EDC #DC655E #96DC5E #5ED5DC
split-complementary
#A45EDC #D5DC5E #5EDC65
monochromatic
#67229D #872DD0 #A45EDC #C090E7 #DDC3F2

Accessibility & contrast

On white

4.03
#A45EDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.21
#A45EDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EDC
5.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EDC#FFFFFF#000000##000000
##A45EDC1.004.035.215.21
#FFFFFF4.031.0021.0021.00
#0000005.2121.001.001.00
##0000005.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7CE0
Deuteranopia (green-blind)
#4B7FD9
Tritanopia (blue-blind)
#9B7694
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45edc;
/* rgb */ color: rgb(164, 94, 220);
/* oklch */ color: oklch(61.7% 0.190 307.4);
Tailwind
colors: {
  custom: {
    50: '#c28ee7',
    500: '#a45edc',
    950: '#000000',
  },
}
SCSS
$custom: #a45edc;
$custom-light: #c28ee7;
$custom-dark: #000000;
JSON
{
  "hex": "#a45edc",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 220
  },
  "hsl": {
    "h": 273.333,
    "s": 64.286,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61675,
    "c": 0.19019,
    "h": 307.4
  },
  "luminance": 0.21065
}

Semantic roles & 50–950 ramp

primary
#A45EDC
secondary
#C8E2B3
accent
#CC1969
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45EDC

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

Preview Lab → · Contrast checker → · Palette generator →

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