#A45CD9#A45CD9

#A45CD9 is a mid, vivid violet. Relative luminance 0.206; OKLCH L 61.2% C 0.190 H 308.4°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#A45CD9
RGBrgb(164, 92, 217)
HSLhsl(275, 62%, 61%)
HSVhsv(275, 58%, 85%)
CMYKcmyk(24.4%, 57.6%, 0%, 14.9%)
CIE-LABlab(52.46, 51.50, -52.86)
CIE-LCHlch(52.46, 73.80, 314.25°)
OKLaboklab(61.21% 0.1179 -0.1488)
OKLCHoklch(61.21% 0.19 308.4)
XYZxyz(31.6589, 20.5570, 67.9323)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CD9 #91D95C
analogous
#655CD9 #A45CD9 #D95CCF
triadic
#A45CD9 #D9A45C #5CD9A4
tetradic
#A45CD9 #D9655C #91D95C #5CCFD9
square
#A45CD9 #D9655C #91D95C #5CCFD9
split-complementary
#A45CD9 #CFD95C #5CD965
monochromatic
#662397 #882FC9 #A45CD9 #C08EE5 #DBBFF0

Accessibility & contrast

On white

4.11
#A45CD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#A45CD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CD9
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CD9#FFFFFF#000000##000000
##A45CD91.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E7ADD
Deuteranopia (green-blind)
#4B7ED6
Tritanopia (blue-blind)
#9C7392
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45cd9;
/* rgb */ color: rgb(164, 92, 217);
/* oklch */ color: oklch(61.2% 0.190 308.4);
Tailwind
colors: {
  custom: {
    50: '#c28de5',
    500: '#a45cd9',
    950: '#000000',
  },
}
SCSS
$custom: #a45cd9;
$custom-light: #c28de5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cd9",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 274.56,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.61209,
    "c": 0.18983,
    "h": 308.4
  },
  "luminance": 0.20557
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #A45CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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