#A45CDE#A45CDE

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

Color values

HEX#A45CDE
RGBrgb(164, 92, 222)
HSLhsl(273, 66%, 62%)
HSVhsv(273, 59%, 87%)
CMYKcmyk(26.1%, 58.6%, 0%, 12.9%)
CIE-LABlab(52.75, 52.64, -55.22)
CIE-LCHlch(52.75, 76.29, 313.63°)
OKLaboklab(61.52% 0.1179 -0.1557)
OKLCHoklch(61.52% 0.195 307.1)
XYZxyz(32.3191, 20.8211, 71.4094)
Luminance0.2082 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CDE #96DE5C
analogous
#635CDE #A45CDE #DE5CD7
triadic
#A45CDE #DEA45C #5CDEA4
tetradic
#A45CDE #DE635C #96DE5C #5CD7DE
square
#A45CDE #DE635C #96DE5C #5CD7DE
split-complementary
#A45CDE #D7DE5C #5CDE63
monochromatic
#67209F #872BD2 #A45CDE #C08FE8 #DDC2F3

Accessibility & contrast

On white

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

On black

5.16
#A45CDE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CDE
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CDE#FFFFFF#000000##000000
##A45CDE1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#267BE2
Deuteranopia (green-blind)
#467FDB
Tritanopia (blue-blind)
#9B7594
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45cde;
/* rgb */ color: rgb(164, 92, 222);
/* oklch */ color: oklch(61.5% 0.195 307.1);
Tailwind
colors: {
  custom: {
    50: '#c28de9',
    500: '#a45cde',
    950: '#000000',
  },
}
SCSS
$custom: #a45cde;
$custom-light: #c28de9;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cde",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 222
  },
  "hsl": {
    "h": 273.231,
    "s": 66.327,
    "l": 61.569
  },
  "oklch": {
    "l": 0.61516,
    "c": 0.19533,
    "h": 307.1
  },
  "luminance": 0.20821
}

Semantic roles & 50–950 ramp

primary
#A45CDE
secondary
#C8E3B3
accent
#CE1769
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45CDE

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

Preview Lab → · Contrast checker → · Palette generator →

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