#A45BDA#A45BDA

#A45BDA is a mid, vivid violet. Relative luminance 0.204; OKLCH L 61.1% C 0.192 H 308.3°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#A45BDA
RGBrgb(164, 91, 218)
HSLhsl(274, 63%, 61%)
HSVhsv(274, 58%, 85%)
CMYKcmyk(24.8%, 58.3%, 0%, 14.5%)
CIE-LABlab(52.33, 52.24, -53.64)
CIE-LCHlch(52.33, 74.88, 314.24°)
OKLaboklab(61.13% 0.1191 -0.1511)
OKLCHoklch(61.13% 0.192 308.3)
XYZxyz(31.7033, 20.4371, 68.5907)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BDA #91DA5B
analogous
#645BDA #A45BDA #DA5BD1
triadic
#A45BDA #DAA45B #5BDAA4
tetradic
#A45BDA #DA645B #91DA5B #5BD1DA
square
#A45BDA #DA645B #91DA5B #5BD1DA
split-complementary
#A45BDA #D1DA5B #5BDA64
monochromatic
#662298 #882ECA #A45BDA #C08DE5 #DBBFF1

Accessibility & contrast

On white

4.13
#A45BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#A45BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BDA
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BDA#FFFFFF#000000##000000
##A45BDA1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A7ADE
Deuteranopia (green-blind)
#497ED7
Tritanopia (blue-blind)
#9C7392
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45bda;
/* rgb */ color: rgb(164, 91, 218);
/* oklch */ color: oklch(61.1% 0.192 308.3);
Tailwind
colors: {
  custom: {
    50: '#c28de6',
    500: '#a45bda',
    950: '#000000',
  },
}
SCSS
$custom: #a45bda;
$custom-light: #c28de6;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bda",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 274.488,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.6113,
    "c": 0.1924,
    "h": 308.3
  },
  "luminance": 0.20437
}

Semantic roles & 50–950 ramp

primary
#A45BDA
secondary
#C5E1B0
accent
#CB1B66
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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