#A45EDA#A45EDA

#A45EDA is a mid, vivid violet. Relative luminance 0.210; OKLCH L 61.6% C 0.188 H 307.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#A45EDA
RGBrgb(164, 94, 218)
HSLhsl(274, 63%, 61%)
HSVhsv(274, 57%, 85%)
CMYKcmyk(24.8%, 56.9%, 0%, 14.5%)
CIE-LABlab(52.91, 50.70, -52.72)
CIE-LCHlch(52.91, 73.14, 313.88°)
OKLaboklab(61.55% 0.1154 -0.1484)
OKLCHoklch(61.55% 0.188 307.9)
XYZxyz(31.9649, 20.9603, 68.6779)
Luminance0.2096 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45EDA #94DA5E
analogous
#665EDA #A45EDA #DA5ED2
triadic
#A45EDA #DAA45E #5EDAA4
tetradic
#A45EDA #DA665E #94DA5E #5ED2DA
square
#A45EDA #DA665E #94DA5E #5ED2DA
split-complementary
#A45EDA #D2DA5E #5EDA66
monochromatic
#66239A #882FCC #A45EDA #C090E5 #DCC2F1

Accessibility & contrast

On white

4.04
#A45EDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#A45EDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45EDA
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45EDA#FFFFFF#000000##000000
##A45EDA1.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#317CDE
Deuteranopia (green-blind)
#4C7FD7
Tritanopia (blue-blind)
#9C7593
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45eda;
/* rgb */ color: rgb(164, 94, 218);
/* oklch */ color: oklch(61.6% 0.188 307.9);
Tailwind
colors: {
  custom: {
    50: '#c28ee6',
    500: '#a45eda',
    950: '#000000',
  },
}
SCSS
$custom: #a45eda;
$custom-light: #c28ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#a45eda",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 218
  },
  "hsl": {
    "h": 273.871,
    "s": 62.626,
    "l": 61.176
  },
  "oklch": {
    "l": 0.61553,
    "c": 0.18797,
    "h": 307.9
  },
  "luminance": 0.2096
}

Semantic roles & 50–950 ramp

primary
#A45EDA
secondary
#C7E1B3
accent
#CA1B67
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130D16
muted
#827D84

Preview Lab

Preview with #A45EDA

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

Preview Lab → · Contrast checker → · Palette generator →

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