#A45BC2#A45BC2

#A45BC2 is a mid, vivid purple. Relative luminance 0.193; OKLCH L 59.7% C 0.166 H 315.2°. Best body text is #000000 at 4.85:1 contrast (WCAG AA passes).

Color values

HEX#A45BC2
RGBrgb(164, 91, 194)
HSLhsl(283, 46%, 56%)
HSVhsv(283, 53%, 76%)
CMYKcmyk(15.5%, 53.1%, 0%, 23.9%)
CIE-LABlab(51.00, 46.98, -42.03)
CIE-LCHlch(51.00, 63.04, 318.18°)
OKLaboklab(59.73% 0.118 -0.1172)
OKLCHoklch(59.73% 0.166 315.2)
XYZxyz(28.7870, 19.2706, 53.2316)
Luminance0.1927 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45BC2 #79C25B
analogous
#705BC2 #A45BC2 #C25BAC
triadic
#A45BC2 #C2A45B #5BC2A4
tetradic
#A45BC2 #C2705B #79C25B #5BACC2
square
#A45BC2 #C2705B #79C25B #5BACC2
split-complementary
#A45BC2 #ACC25B #5BC270
monochromatic
#612C77 #853DA3 #A45BC2 #BD88D3 #D6B4E3

Accessibility & contrast

On white

4.33
#A45BC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.85
#A45BC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45BC2
4.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45BC2#FFFFFF#000000##000000
##A45BC21.004.334.854.85
#FFFFFF4.331.0021.0021.00
#0000004.8521.001.001.00
##0000004.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4375C5
Deuteranopia (green-blind)
#5A7CBF
Tritanopia (blue-blind)
#A26B86
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a45bc2;
/* rgb */ color: rgb(164, 91, 194);
/* oklch */ color: oklch(59.7% 0.166 315.2);
Tailwind
colors: {
  custom: {
    50: '#c18cd5',
    500: '#a45bc2',
    950: '#000000',
  },
}
SCSS
$custom: #a45bc2;
$custom-light: #c18cd5;
$custom-dark: #000000;
JSON
{
  "hex": "#a45bc2",
  "rgb": {
    "r": 164,
    "g": 91,
    "b": 194
  },
  "hsl": {
    "h": 282.524,
    "s": 45.778,
    "l": 55.882
  },
  "oklch": {
    "l": 0.59729,
    "c": 0.16628,
    "h": 315.2
  },
  "luminance": 0.1927
}

Semantic roles & 50–950 ramp

primary
#A45BC2
secondary
#B3D2A7
accent
#D55279
background
#FCF8FD
surface
#F8F0FA
border
#D1CBD3
text
#130C14
muted
#827D83

Preview Lab

Preview with #A45BC2

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

Preview Lab → · Contrast checker → · Palette generator →

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