#A45BE3#A45BE3

#A45BE3 is a mid, highly saturated violet. Relative luminance 0.209; OKLCH L 61.7% C 0.202 H 306.1°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#A45BE3
RGBrgb(164, 91, 227)
HSLhsl(272, 71%, 62%)
HSVhsv(272, 60%, 89%)
CMYKcmyk(27.8%, 59.9%, 0%, 11%)
CIE-LABlab(52.86, 54.29, -57.87)
CIE-LCHlch(52.86, 79.35, 313.17°)
OKLaboklab(61.69% 0.1191 -0.1635)
OKLCHoklch(61.69% 0.202 306.1)
XYZxyz(32.9131, 20.9210, 74.9624)
Luminance0.2092 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BE3 #9AE35B
analogous
#605BE3 #A45BE3 #E35BDE
triadic
#A45BE3 #E3A45B #5BE3A4
tetradic
#A45BE3 #E3605B #9AE35B #5BDEE3
square
#A45BE3 #E3605B #9AE35B #5BDEE3
split-complementary
#A45BE3 #DEE35B #5BE360
monochromatic
#671DA7 #8727DA #A45BE3 #C18FEC #DEC4F5

Accessibility & contrast

On white

4.05
#A45BE3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#A45BE3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BE3
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BE3#FFFFFF#000000##000000
##A45BE31.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#187CE7
Deuteranopia (green-blind)
#407FE0
Tritanopia (blue-blind)
#997697
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #a45be3;
/* rgb */ color: rgb(164, 91, 227);
/* oklch */ color: oklch(61.7% 0.202 306.1);
Tailwind
colors: {
  custom: {
    50: '#c38dec',
    500: '#a45be3',
    950: '#000000',
  },
}
SCSS
$custom: #a45be3;
$custom-light: #c38dec;
$custom-dark: #000000;
JSON
{
  "hex": "#a45be3",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 227
  },
  "hsl": {
    "h": 272.206,
    "s": 70.833,
    "l": 62.353
  },
  "oklch": {
    "l": 0.61692,
    "c": 0.20225,
    "h": 306.1
  },
  "luminance": 0.20921
}

Semantic roles & 50–950 ramp

primary
#A45BE3
secondary
#CBE6B4
accent
#D3136C
background
#FCF8FE
surface
#F8F0FD
border
#D1CBD5
text
#130C16
muted
#827D84

Preview Lab

Preview with #A45BE3

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

Preview Lab → · Contrast checker → · Palette generator →

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