#B45ACC#B45ACC

#B45ACC is a light, vivid purple. Relative luminance 0.214; OKLCH L 62.1% C 0.185 H 318.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#B45ACC
RGBrgb(180, 90, 204)
HSLhsl(287, 53%, 58%)
HSVhsv(287, 56%, 80%)
CMYKcmyk(11.8%, 55.9%, 0%, 20%)
CIE-LABlab(53.36, 53.79, -43.91)
CIE-LCHlch(53.36, 69.44, 320.77°)
OKLaboklab(62.06% 0.1395 -0.1222)
OKLCHoklch(62.06% 0.185 318.8)
XYZxyz(33.3762, 21.3766, 59.4830)
Luminance0.2137 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45ACC #72CC5A
analogous
#7B5ACC #B45ACC #CC5AAB
triadic
#B45ACC #CCB45A #5ACCB4
tetradic
#B45ACC #CC7B5A #72CC5A #5AABCC
square
#B45ACC #CC7B5A #72CC5A #5AABCC
split-complementary
#B45ACC #ABCC5A #5ACC7B
monochromatic
#702983 #9837B2 #B45ACC #C989DA #DEB7E9

Accessibility & contrast

On white

3.98
#B45ACC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#B45ACC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45ACC
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45ACC#FFFFFF#000000##000000
##B45ACC1.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#4179D0
Deuteranopia (green-blind)
#6083C9
Tritanopia (blue-blind)
#B46C8B
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45acc;
/* rgb */ color: rgb(180, 90, 204);
/* oklch */ color: oklch(62.1% 0.185 318.8);
Tailwind
colors: {
  custom: {
    50: '#cd8ddc',
    500: '#b45acc',
    950: '#000000',
  },
}
SCSS
$custom: #b45acc;
$custom-light: #cd8ddc;
$custom-dark: #000000;
JSON
{
  "hex": "#b45acc",
  "rgb": {
    "r": 180,
    "g": 90,
    "b": 204
  },
  "hsl": {
    "h": 287.368,
    "s": 52.778,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62064,
    "c": 0.18547,
    "h": 318.8
  },
  "luminance": 0.21375
}

Semantic roles & 50–950 ramp

primary
#B45ACC
secondary
#B4D8AA
accent
#DC4C6A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B45ACC

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

Preview Lab → · Contrast checker → · Palette generator →

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