#A45BE6#A45BE6

#A45BE6 is a mid, highly saturated violet. Relative luminance 0.211; OKLCH L 61.9% C 0.206 H 305.4°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#A45BE6
RGBrgb(164, 91, 230)
HSLhsl(272, 74%, 63%)
HSVhsv(272, 60%, 90%)
CMYKcmyk(28.7%, 60.4%, 0%, 9.8%)
CIE-LABlab(53.05, 54.98, -59.27)
CIE-LCHlch(53.05, 80.84, 312.85°)
OKLaboklab(61.88% 0.119 -0.1676)
OKLCHoklch(61.88% 0.206 305.4)
XYZxyz(33.3308, 21.0881, 77.1621)
Luminance0.2109 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BE6 #9DE65B
analogous
#5E5BE6 #A45BE6 #E65BE2
triadic
#A45BE6 #E6A45B #5BE6A4
tetradic
#A45BE6 #E65E5B #9DE65B #5BE2E6
square
#A45BE6 #E65E5B #9DE65B #5BE2E6
split-complementary
#A45BE6 #E2E65B #5BE65E
monochromatic
#671AAC #8726DE #A45BE6 #C190EE #DFC5F6

Accessibility & contrast

On white

4.02
#A45BE6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#A45BE6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BE6
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BE6#FFFFFF#000000##000000
##A45BE61.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0E7CEA
Deuteranopia (green-blind)
#3D7FE3
Tritanopia (blue-blind)
#997798
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #a45be6;
/* rgb */ color: rgb(164, 91, 230);
/* oklch */ color: oklch(61.9% 0.206 305.4);
Tailwind
colors: {
  custom: {
    50: '#c38def',
    500: '#a45be6',
    950: '#000000',
  },
}
SCSS
$custom: #a45be6;
$custom-light: #c38def;
$custom-dark: #000000;
JSON
{
  "hex": "#a45be6",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 230
  },
  "hsl": {
    "h": 271.511,
    "s": 73.545,
    "l": 62.941
  },
  "oklch": {
    "l": 0.61884,
    "c": 0.20554,
    "h": 305.4
  },
  "luminance": 0.21088
}

Semantic roles & 50–950 ramp

primary
#A45BE6
secondary
#CDE7B5
accent
#D6106E
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45BE6

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

Preview Lab → · Contrast checker → · Palette generator →

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