#A45CBC#A45CBC

#A45CBC is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.6% C 0.158 H 317.1°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#A45CBC
RGBrgb(164, 92, 188)
HSLhsl(285, 42%, 55%)
HSVhsv(285, 51%, 74%)
CMYKcmyk(12.8%, 51.1%, 0%, 26.3%)
CIE-LABlab(50.90, 45.19, -38.74)
CIE-LCHlch(50.90, 59.52, 319.40°)
OKLaboklab(59.55% 0.116 -0.1076)
OKLCHoklch(59.55% 0.158 317.1)
XYZxyz(28.2128, 19.1786, 49.7829)
Luminance0.1918 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#A45CBC #74BC5C
analogous
#745CBC #A45CBC #BC5CA4
triadic
#A45CBC #BCA45C #5CBCA4
tetradic
#A45CBC #BC745C #74BC5C #5CA4BC
square
#A45CBC #BC745C #74BC5C #5CA4BC
split-complementary
#A45CBC #A4BC5C #5CBC74
monochromatic
#5F2E70 #84409B #A45CBC #BC87CE #D4B3E0

Accessibility & contrast

On white

4.34
#A45CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#A45CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #A45CBC
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##A45CBC#FFFFFF#000000##000000
##A45CBC1.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4975BF
Deuteranopia (green-blind)
#5F7BB9
Tritanopia (blue-blind)
#A36A83
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #a45cbc;
/* rgb */ color: rgb(164, 92, 188);
/* oklch */ color: oklch(59.6% 0.158 317.1);
Tailwind
colors: {
  custom: {
    50: '#c18dd0',
    500: '#a45cbc',
    950: '#000000',
  },
}
SCSS
$custom: #a45cbc;
$custom-light: #c18dd0;
$custom-dark: #000000;
JSON
{
  "hex": "#a45cbc",
  "rgb": {
    "r": 164,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 285,
    "s": 41.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59551,
    "c": 0.15822,
    "h": 317.1
  },
  "luminance": 0.19178
}

Semantic roles & 50–950 ramp

primary
#A45CBC
secondary
#B0CEA6
accent
#D25675
background
#FCF8FC
surface
#F8F0F9
border
#D1CBD2
text
#130C14
muted
#827D82

Preview Lab

Preview with #A45CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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