#A45DD9#A45DD9

#A45DD9 is a mid, vivid violet. Relative luminance 0.207; OKLCH L 61.4% C 0.188 H 308.2°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A45DD9
RGBrgb(164, 93, 217)
HSLhsl(274, 62%, 61%)
HSVhsv(274, 57%, 85%)
CMYKcmyk(24.4%, 57.1%, 0%, 14.9%)
CIE-LABlab(52.65, 50.99, -52.55)
CIE-LCHlch(52.65, 73.22, 314.14°)
OKLaboklab(61.35% 0.1166 -0.1479)
OKLCHoklch(61.35% 0.188 308.2)
XYZxyz(31.7461, 20.7314, 67.9614)
Luminance0.2073 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45DD9 #92D95D
analogous
#665DD9 #A45DD9 #D95DD0
triadic
#A45DD9 #D9A45D #5DD9A4
tetradic
#A45DD9 #D9665D #92D95D #5DD0D9
square
#A45DD9 #D9665D #92D95D #5DD0D9
split-complementary
#A45DD9 #D0D95D #5DD966
monochromatic
#662498 #882FCA #A45DD9 #C08FE5 #DCC0F0

Accessibility & contrast

On white

4.08
#A45DD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#A45DD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45DD9
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45DD9#FFFFFF#000000##000000
##A45DD91.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#307BDD
Deuteranopia (green-blind)
#4C7FD6
Tritanopia (blue-blind)
#9C7492
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45dd9;
/* rgb */ color: rgb(164, 93, 217);
/* oklch */ color: oklch(61.4% 0.188 308.2);
Tailwind
colors: {
  custom: {
    50: '#c28ee5',
    500: '#a45dd9',
    950: '#000000',
  },
}
SCSS
$custom: #a45dd9;
$custom-light: #c28ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45dd9",
  "rgb": {
    "r": 164,
    "g": 93,
    "b": 217
  },
  "hsl": {
    "h": 274.355,
    "s": 62,
    "l": 60.784
  },
  "oklch": {
    "l": 0.6135,
    "c": 0.18834,
    "h": 308.2
  },
  "luminance": 0.20731
}

Semantic roles & 50–950 ramp

primary
#A45DD9
secondary
#C5E0B1
accent
#CA1C66
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45DD9

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

Preview Lab → · Contrast checker → · Palette generator →

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