#A45ECF#A45ECF

#A45ECF is a mid, vivid violet. Relative luminance 0.204; OKLCH L 60.9% C 0.176 H 310.8°. Best body text is #000000 at 5.08:1 contrast (WCAG AA passes).

Color values

HEX#A45ECF
RGBrgb(164, 94, 207)
HSLhsl(277, 54%, 59%)
HSVhsv(277, 55%, 81%)
CMYKcmyk(20.8%, 54.6%, 0%, 18.8%)
CIE-LABlab(52.29, 48.23, -47.44)
CIE-LCHlch(52.29, 67.66, 315.47°)
OKLaboklab(60.9% 0.1149 -0.133)
OKLCHoklch(60.9% 0.176 310.8)
XYZxyz(30.5730, 20.4035, 61.3471)
Luminance0.2040 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45ECF #89CF5E
analogous
#6C5ECF #A45ECF #CF5EC2
triadic
#A45ECF #CFA45E #5ECFA4
tetradic
#A45ECF #CF6C5E #89CF5E #5EC2CF
square
#A45ECF #CF6C5E #89CF5E #5EC2CF
split-complementary
#A45ECF #C2CF5E #5ECF6C
monochromatic
#65298A #8737B9 #A45ECF #BF8DDD #D9BCEB

Accessibility & contrast

On white

4.13
#A45ECF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A45ECF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45ECF
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45ECF#FFFFFF#000000##000000
##A45ECF1.004.135.085.08
#FFFFFF4.131.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D79D3
Deuteranopia (green-blind)
#557ECC
Tritanopia (blue-blind)
#9F728E
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45ecf;
/* rgb */ color: rgb(164, 94, 207);
/* oklch */ color: oklch(60.9% 0.176 310.8);
Tailwind
colors: {
  custom: {
    50: '#c28ede',
    500: '#a45ecf',
    950: '#000000',
  },
}
SCSS
$custom: #a45ecf;
$custom-light: #c28ede;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ecf",
  "rgb": {
    "r": 164,
    "g": 94,
    "b": 207
  },
  "hsl": {
    "h": 277.168,
    "s": 54.067,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.17575,
    "h": 310.8
  },
  "luminance": 0.20403
}

Semantic roles & 50–950 ramp

primary
#A45ECF
secondary
#BFDBAE
accent
#DD4A82
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45ECF

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

Preview Lab → · Contrast checker → · Palette generator →

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