#A45BD2#A45BD2

#A45BD2 is a mid, vivid violet. Relative luminance 0.200; OKLCH L 60.6% C 0.184 H 310.4°. Best body text is #000000 at 5.01:1 contrast (WCAG AA passes).

Color values

HEX#A45BD2
RGBrgb(164, 91, 210)
HSLhsl(277, 57%, 59%)
HSVhsv(277, 57%, 82%)
CMYKcmyk(21.9%, 56.7%, 0%, 17.6%)
CIE-LABlab(51.87, 50.45, -49.83)
CIE-LCHlch(51.87, 70.91, 315.36°)
OKLaboklab(60.65% 0.119 -0.1399)
OKLCHoklch(60.65% 0.184 310.4)
XYZxyz(30.6816, 20.0284, 63.2099)
Luminance0.2003 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BD2 #89D25B
analogous
#695BD2 #A45BD2 #D25BC5
triadic
#A45BD2 #D2A45B #5BD2A4
tetradic
#A45BD2 #D2695B #89D25B #5BC5D2
square
#A45BD2 #D2695B #89D25B #5BC5D2
split-complementary
#A45BD2 #C5D25B #5BD269
monochromatic
#65268C #8734BC #A45BD2 #BF8BDF #D9BBEC

Accessibility & contrast

On white

4.20
#A45BD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.01
#A45BD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BD2
5.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BD2#FFFFFF#000000##000000
##A45BD21.004.205.015.01
#FFFFFF4.201.0021.0021.00
#0000005.0121.001.001.00
##0000005.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3478D6
Deuteranopia (green-blind)
#507DCF
Tritanopia (blue-blind)
#9E708E
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #a45bd2;
/* rgb */ color: rgb(164, 91, 210);
/* oklch */ color: oklch(60.6% 0.184 310.4);
Tailwind
colors: {
  custom: {
    50: '#c28ce0',
    500: '#a45bd2',
    950: '#000000',
  },
}
SCSS
$custom: #a45bd2;
$custom-light: #c28ce0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bd2",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 210
  },
  "hsl": {
    "h": 276.807,
    "s": 56.938,
    "l": 59.02
  },
  "oklch": {
    "l": 0.60647,
    "c": 0.18365,
    "h": 310.4
  },
  "luminance": 0.20028
}

Semantic roles & 50–950 ramp

primary
#A45BD2
secondary
#BFDCAD
accent
#E04883
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45BD2

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

Preview Lab → · Contrast checker → · Palette generator →

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