#A45BD9#A45BD9

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

Color values

HEX#A45BD9
RGBrgb(164, 91, 217)
HSLhsl(275, 62%, 60%)
HSVhsv(275, 58%, 85%)
CMYKcmyk(24.4%, 58.1%, 0%, 14.9%)
CIE-LABlab(52.27, 52.02, -53.17)
CIE-LCHlch(52.27, 74.38, 314.37°)
OKLaboklab(61.07% 0.1191 -0.1497)
OKLCHoklch(61.07% 0.191 308.5)
XYZxyz(31.5728, 20.3849, 67.9036)
Luminance0.2038 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BD9 #90D95B
analogous
#655BD9 #A45BD9 #D95BCF
triadic
#A45BD9 #D9A45B #5BD9A4
tetradic
#A45BD9 #D9655B #90D95B #5BCFD9
square
#A45BD9 #D9655B #90D95B #5BCFD9
split-complementary
#A45BD9 #CFD95B #5BD965
monochromatic
#662397 #882EC8 #A45BD9 #C08DE5 #DBBEF0

Accessibility & contrast

On white

4.14
#A45BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.08
#A45BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BD9
5.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BD9#FFFFFF#000000##000000
##A45BD91.004.145.085.08
#FFFFFF4.141.0021.0021.00
#0000005.0821.001.001.00
##0000005.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B7ADD
Deuteranopia (green-blind)
#4A7ED6
Tritanopia (blue-blind)
#9C7391
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #a45bd9;
/* rgb */ color: rgb(164, 91, 217);
/* oklch */ color: oklch(61.1% 0.191 308.5);
Tailwind
colors: {
  custom: {
    50: '#c28de5',
    500: '#a45bd9',
    950: '#000000',
  },
}
SCSS
$custom: #a45bd9;
$custom-light: #c28de5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bd9",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 274.762,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.61069,
    "c": 0.1913,
    "h": 308.5
  },
  "luminance": 0.20384
}

Semantic roles & 50–950 ramp

primary
#A45BD9
secondary
#C4E0B0
accent
#CA1B65
background
#FCF8FE
surface
#F8F0FC
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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