#A45ED2#A45ED2

#A45ED2 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.1% C 0.179 H 310.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A45ED2
RGBrgb(164, 94, 210)
HSLhsl(276, 56%, 60%)
HSVhsv(276, 55%, 82%)
CMYKcmyk(21.9%, 55.2%, 0%, 17.6%)
CIE-LABlab(52.46, 48.90, -48.89)
CIE-LCHlch(52.46, 69.15, 315.00°)
OKLaboklab(61.08% 0.1151 -0.1372)
OKLCHoklch(61.08% 0.179 310)
XYZxyz(30.9432, 20.5516, 63.2971)
Luminance0.2055 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ED2 #8CD25E
analogous
#6A5ED2 #A45ED2 #D25EC6
triadic
#A45ED2 #D2A45E #5ED2A4
tetradic
#A45ED2 #D26A5E #8CD25E #5EC6D2
square
#A45ED2 #D26A5E #8CD25E #5EC6D2
split-complementary
#A45ED2 #C6D25E #5ED26A
monochromatic
#65288E #8835BE #A45ED2 #BF8EDF #DABEED

Accessibility & contrast

On white

4.11
#A45ED2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A45ED2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ED2
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ED2#FFFFFF#000000##000000
##A45ED21.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A7AD6
Deuteranopia (green-blind)
#537ECF
Tritanopia (blue-blind)
#9E738F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45ed2;
/* rgb */ color: rgb(164, 94, 210);
/* oklch */ color: oklch(61.1% 0.179 310.0);
Tailwind
colors: {
  custom: {
    50: '#c28ee0',
    500: '#a45ed2',
    950: '#000000',
  },
}
SCSS
$custom: #a45ed2;
$custom-light: #c28ee0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ed2",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 210
  },
  "hsl": {
    "h": 276.207,
    "s": 56.311,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61077,
    "c": 0.17908,
    "h": 310
  },
  "luminance": 0.20551
}

Semantic roles & 50–950 ramp

primary
#A45ED2
secondary
#C1DCAF
accent
#E04884
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45ED2

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

Preview Lab → · Contrast checker → · Palette generator →

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