#A45DDF#A45DDF

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

Color values

HEX#A45DDF
RGBrgb(164, 93, 223)
HSLhsl(273, 67%, 62%)
HSVhsv(273, 58%, 87%)
CMYKcmyk(26.5%, 58.3%, 0%, 12.5%)
CIE-LABlab(53.00, 52.36, -55.39)
CIE-LCHlch(53.00, 76.22, 313.39°)
OKLaboklab(61.72% 0.1167 -0.1562)
OKLCHoklch(61.72% 0.195 306.8)
XYZxyz(32.5407, 21.0493, 72.1464)
Luminance0.2105 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DDF #98DF5D
analogous
#635DDF #A45DDF #DF5DD9
triadic
#A45DDF #DFA45D #5DDFA4
tetradic
#A45DDF #DF635D #98DF5D #5DD9DF
square
#A45DDF #DF635D #98DF5D #5DD9DF
split-complementary
#A45DDF #D9DF5D #5DDF63
monochromatic
#6720A2 #872AD5 #A45DDF #C190E9 #DDC3F3

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##A45DDF#FFFFFF#000000##000000
##A45DDF1.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)
#277CE3
Deuteranopia (green-blind)
#477FDC
Tritanopia (blue-blind)
#9B7695
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45ddf;
/* rgb */ color: rgb(164, 93, 223);
/* oklch */ color: oklch(61.7% 0.195 306.8);
Tailwind
colors: {
  custom: {
    50: '#c28eea',
    500: '#a45ddf',
    950: '#000000',
  },
}
SCSS
$custom: #a45ddf;
$custom-light: #c28eea;
$custom-dark: #000000;
JSON
{
  "hex": "#a45ddf",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 223
  },
  "hsl": {
    "h": 272.769,
    "s": 67.01,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.19498,
    "h": 306.8
  },
  "luminance": 0.21049
}

Semantic roles & 50–950 ramp

primary
#A45DDF
secondary
#CAE4B4
accent
#CF176A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45DDF

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

Preview Lab → · Contrast checker → · Palette generator →

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