#A45CDD#A45CDD

#A45CDD is a mid, vivid violet. Relative luminance 0.208; OKLCH L 61.5% C 0.194 H 307.4°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#A45CDD
RGBrgb(164, 92, 221)
HSLhsl(273, 65%, 61%)
HSVhsv(273, 58%, 87%)
CMYKcmyk(25.8%, 58.4%, 0%, 13.3%)
CIE-LABlab(52.69, 52.41, -54.75)
CIE-LCHlch(52.69, 75.79, 313.75°)
OKLaboklab(61.46% 0.1179 -0.1543)
OKLCHoklch(61.46% 0.194 307.4)
XYZxyz(32.1855, 20.7677, 70.7056)
Luminance0.2077 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CDD #95DD5C
analogous
#645CDD #A45CDD #DD5CD6
triadic
#A45CDD #DDA45C #5CDDA4
tetradic
#A45CDD #DD645C #95DD5C #5CD6DD
square
#A45CDD #DD645C #95DD5C #5CD6DD
split-complementary
#A45CDD #D6DD5C #5CDD64
monochromatic
#67219E #872BD0 #A45CDD #C08FE8 #DDC1F2

Accessibility & contrast

On white

4.07
#A45CDD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##A45CDD#FFFFFF#000000##000000
##A45CDD1.004.075.155.15
#FFFFFF4.071.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#287BE1
Deuteranopia (green-blind)
#477EDA
Tritanopia (blue-blind)
#9B7594
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45cdd;
/* rgb */ color: rgb(164, 92, 221);
/* oklch */ color: oklch(61.5% 0.194 307.4);
Tailwind
colors: {
  custom: {
    50: '#c28de8',
    500: '#a45cdd',
    950: '#000000',
  },
}
SCSS
$custom: #a45cdd;
$custom-light: #c28de8;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cdd",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 221
  },
  "hsl": {
    "h": 273.488,
    "s": 65.482,
    "l": 61.373
  },
  "oklch": {
    "l": 0.61455,
    "c": 0.19423,
    "h": 307.4
  },
  "luminance": 0.20767
}

Semantic roles & 50–950 ramp

primary
#A45CDD
secondary
#C8E3B2
accent
#CD1868
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45CDD

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

Preview Lab → · Contrast checker → · Palette generator →

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