#B45CC2#B45CC2

#B45CC2 is a mid, vivid purple. Relative luminance 0.213; OKLCH L 61.8% C 0.172 H 322.0°. Best body text is #000000 at 5.25:1 contrast (WCAG AA passes).

Color values

HEX#B45CC2
RGBrgb(180, 92, 194)
HSLhsl(292, 46%, 56%)
HSVhsv(292, 53%, 76%)
CMYKcmyk(7.2%, 52.6%, 0%, 23.9%)
CIE-LABlab(53.23, 50.84, -38.39)
CIE-LCHlch(53.23, 63.71, 322.94°)
OKLaboklab(61.8% 0.1359 -0.1062)
OKLCHoklch(61.8% 0.172 322)
XYZxyz(32.3861, 21.2541, 53.4250)
Luminance0.2125 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CC2 #6AC25C
analogous
#815CC2 #B45CC2 #C25C9D
triadic
#B45CC2 #C2B45C #5CC2B4
tetradic
#B45CC2 #C2815C #6AC25C #5C9DC2
square
#B45CC2 #C2815C #6AC25C #5C9DC2
split-complementary
#B45CC2 #9DC25C #5CC281
monochromatic
#6D2D77 #963DA4 #B45CC2 #C889D3 #DDB5E3

Accessibility & contrast

On white

4.00
#B45CC2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.25
#B45CC2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CC2
5.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CC2#FFFFFF#000000##000000
##B45CC21.004.005.255.25
#FFFFFF4.001.0021.0021.00
#0000005.2521.001.001.00
##0000005.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#4C79C5
Deuteranopia (green-blind)
#6783BF
Tritanopia (blue-blind)
#B66A86
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b45cc2;
/* rgb */ color: rgb(180, 92, 194);
/* oklch */ color: oklch(61.8% 0.172 322.0);
Tailwind
colors: {
  custom: {
    50: '#cd8ed5',
    500: '#b45cc2',
    950: '#000000',
  },
}
SCSS
$custom: #b45cc2;
$custom-light: #cd8ed5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cc2",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 194
  },
  "hsl": {
    "h": 291.765,
    "s": 45.536,
    "l": 56.078
  },
  "oklch": {
    "l": 0.61803,
    "c": 0.17248,
    "h": 322
  },
  "luminance": 0.21253
}

Semantic roles & 50–950 ramp

primary
#B45CC2
secondary
#AED2A8
accent
#D55365
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B45CC2

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

Preview Lab → · Contrast checker → · Palette generator →

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