#A45BE1#A45BE1

#A45BE1 is a mid, highly saturated violet. Relative luminance 0.208; OKLCH L 61.6% C 0.200 H 306.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#A45BE1
RGBrgb(164, 91, 225)
HSLhsl(273, 69%, 62%)
HSVhsv(273, 60%, 88%)
CMYKcmyk(27.1%, 59.6%, 0%, 11.8%)
CIE-LABlab(52.74, 53.83, -56.94)
CIE-LCHlch(52.74, 78.36, 313.39°)
OKLaboklab(61.57% 0.1191 -0.1607)
OKLCHoklch(61.57% 0.2 306.5)
XYZxyz(32.6387, 20.8113, 73.5171)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BE1 #98E15B
analogous
#615BE1 #A45BE1 #E15BDB
triadic
#A45BE1 #E1A45B #5BE1A4
tetradic
#A45BE1 #E1615B #98E15B #5BDBE1
square
#A45BE1 #E1615B #98E15B #5BDBE1
split-complementary
#A45BE1 #DBE15B #5BE161
monochromatic
#671EA4 #8727D7 #A45BE1 #C18FEA #DDC2F4

Accessibility & contrast

On white

4.07
#A45BE1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#A45BE1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BE1
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BE1#FFFFFF#000000##000000
##A45BE11.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D7BE5
Deuteranopia (green-blind)
#427EDE
Tritanopia (blue-blind)
#9A7596
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45be1;
/* rgb */ color: rgb(164, 91, 225);
/* oklch */ color: oklch(61.6% 0.200 306.5);
Tailwind
colors: {
  custom: {
    50: '#c38deb',
    500: '#a45be1',
    950: '#000000',
  },
}
SCSS
$custom: #a45be1;
$custom-light: #c38deb;
$custom-dark: #000000;
JSON
{
  "hex": "#a45be1",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 225
  },
  "hsl": {
    "h": 272.687,
    "s": 69.072,
    "l": 61.961
  },
  "oklch": {
    "l": 0.61566,
    "c": 0.20006,
    "h": 306.5
  },
  "luminance": 0.20811
}

Semantic roles & 50–950 ramp

primary
#A45BE1
secondary
#CAE5B3
accent
#D1146A
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45BE1

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

Preview Lab → · Contrast checker → · Palette generator →

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