#A45BCE#A45BCE

#A45BCE is a mid, vivid violet. Relative luminance 0.198; OKLCH L 60.4% C 0.179 H 311.5°. Best body text is #000000 at 4.97:1 contrast (WCAG AA passes).

Color values

HEX#A45BCE
RGBrgb(164, 91, 206)
HSLhsl(278, 54%, 58%)
HSVhsv(278, 56%, 81%)
CMYKcmyk(20.4%, 55.8%, 0%, 19.2%)
CIE-LABlab(51.65, 49.57, -47.90)
CIE-LCHlch(51.65, 68.93, 315.98°)
OKLaboklab(60.41% 0.1188 -0.1343)
OKLCHoklch(60.41% 0.179 311.5)
XYZxyz(30.1895, 19.8316, 60.6181)
Luminance0.1983 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BCE #85CE5B
analogous
#6A5BCE #A45BCE #CE5BBE
triadic
#A45BCE #CEA45B #5BCEA4
tetradic
#A45BCE #CE6A5B #85CE5B #5BBECE
square
#A45BCE #CE6A5B #85CE5B #5BBECE
split-complementary
#A45BCE #BECE5B #5BCE6A
monochromatic
#642886 #8736B6 #A45BCE #BE8ADC #D8B9EA

Accessibility & contrast

On white

4.23
#A45BCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.97
#A45BCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BCE
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BCE#FFFFFF#000000##000000
##A45BCE1.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3877D2
Deuteranopia (green-blind)
#537DCB
Tritanopia (blue-blind)
#9F6F8C
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #a45bce;
/* rgb */ color: rgb(164, 91, 206);
/* oklch */ color: oklch(60.4% 0.179 311.5);
Tailwind
colors: {
  custom: {
    50: '#c28cdd',
    500: '#a45bce',
    950: '#000000',
  },
}
SCSS
$custom: #a45bce;
$custom-light: #c28cdd;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bce",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 206
  },
  "hsl": {
    "h": 278.087,
    "s": 53.991,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60412,
    "c": 0.17929,
    "h": 311.5
  },
  "luminance": 0.19831
}

Semantic roles & 50–950 ramp

primary
#A45BCE
secondary
#BCD9AB
accent
#DD4A80
background
#FCF8FD
surface
#F8F0FB
border
#D1CBD4
text
#130C15
muted
#827D83

Preview Lab

Preview with #A45BCE

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

Preview Lab → · Contrast checker → · Palette generator →

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