#A45DDE#A45DDE

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

Color values

HEX#A45DDE
RGBrgb(164, 93, 222)
HSLhsl(273, 66%, 62%)
HSVhsv(273, 58%, 87%)
CMYKcmyk(26.1%, 58.1%, 0%, 12.9%)
CIE-LABlab(52.94, 52.13, -54.92)
CIE-LCHlch(52.94, 75.72, 313.51°)
OKLaboklab(61.66% 0.1167 -0.1548)
OKLCHoklch(61.66% 0.194 307)
XYZxyz(32.4063, 20.9955, 71.4384)
Luminance0.2099 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DDE #97DE5D
analogous
#645DDE #A45DDE #DE5DD8
triadic
#A45DDE #DEA45D #5DDEA4
tetradic
#A45DDE #DE645D #97DE5D #5DD8DE
square
#A45DDE #DE645D #97DE5D #5DD8DE
split-complementary
#A45DDE #D8DE5D #5DDE64
monochromatic
#6721A0 #872BD3 #A45DDE #C190E8 #DDC3F3

Accessibility & contrast

On white

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

On black

5.20
#A45DDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DDE
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DDE#FFFFFF#000000##000000
##A45DDE1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#297CE2
Deuteranopia (green-blind)
#487FDB
Tritanopia (blue-blind)
#9B7695
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45dde;
/* rgb */ color: rgb(164, 93, 222);
/* oklch */ color: oklch(61.7% 0.194 307.0);
Tailwind
colors: {
  custom: {
    50: '#c28ee9',
    500: '#a45dde',
    950: '#000000',
  },
}
SCSS
$custom: #a45dde;
$custom-light: #c28ee9;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dde",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 222
  },
  "hsl": {
    "h": 273.023,
    "s": 66.154,
    "l": 61.765
  },
  "oklch": {
    "l": 0.61656,
    "c": 0.19387,
    "h": 307
  },
  "luminance": 0.20995
}

Semantic roles & 50–950 ramp

primary
#A45DDE
secondary
#C9E3B4
accent
#CE176A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45DDE

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

Preview Lab → · Contrast checker → · Palette generator →

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