#A45CB2#A45CB2

#A45CB2 is a mid, vivid purple. Relative luminance 0.188; OKLCH L 59.0% C 0.148 H 320.9°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#A45CB2
RGBrgb(164, 92, 178)
HSLhsl(290, 36%, 53%)
HSVhsv(290, 48%, 70%)
CMYKcmyk(7.9%, 48.3%, 0%, 30.2%)
CIE-LABlab(50.41, 43.14, -33.70)
CIE-LCHlch(50.41, 54.74, 322.00°)
OKLaboklab(59.03% 0.1146 -0.0931)
OKLCHoklch(59.03% 0.148 320.9)
XYZxyz(27.1719, 18.7622, 44.3010)
Luminance0.1876 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CB2 #6AB25C
analogous
#795CB2 #A45CB2 #B25C95
triadic
#A45CB2 #B2A45C #5CB2A4
tetradic
#A45CB2 #B2795C #6AB25C #5C95B2
square
#A45CB2 #B2795C #6AB25C #5C95B2
split-complementary
#A45CB2 #95B25C #5CB279
monochromatic
#5C2F64 #82438E #A45CB2 #BB86C6 #D2AFD9

Accessibility & contrast

On white

4.42
#A45CB2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#A45CB2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CB2
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CB2#FFFFFF#000000##000000
##A45CB21.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F73B5
Deuteranopia (green-blind)
#647BB0
Tritanopia (blue-blind)
#A5677F
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #a45cb2;
/* rgb */ color: rgb(164, 92, 178);
/* oklch */ color: oklch(59.0% 0.148 320.9);
Tailwind
colors: {
  custom: {
    50: '#c18cc9',
    500: '#a45cb2',
    950: '#000000',
  },
}
SCSS
$custom: #a45cb2;
$custom-light: #c18cc9;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cb2",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 178
  },
  "hsl": {
    "h": 290.233,
    "s": 35.833,
    "l": 52.941
  },
  "oklch": {
    "l": 0.5903,
    "c": 0.14765,
    "h": 320.9
  },
  "luminance": 0.18761
}

Semantic roles & 50–950 ramp

primary
#A45CB2
secondary
#A8C7A2
accent
#CC5C6E
background
#FCF8FC
surface
#F8F0F8
border
#D1CBD1
text
#120C13
muted
#817D82

Preview Lab

Preview with #A45CB2

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

Preview Lab → · Contrast checker → · Palette generator →

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