#B45CBC#B45CBC

#B45CBC is a mid, vivid purple. Relative luminance 0.210; OKLCH L 61.5% C 0.167 H 324.2°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).

Color values

HEX#B45CBC
RGBrgb(180, 92, 188)
HSLhsl(295, 42%, 55%)
HSVhsv(295, 51%, 74%)
CMYKcmyk(4.3%, 51.1%, 0%, 26.3%)
CIE-LABlab(52.94, 49.69, -35.39)
CIE-LCHlch(52.94, 61.00, 324.54°)
OKLaboklab(61.5% 0.1351 -0.0976)
OKLCHoklch(61.5% 0.167 324.2)
XYZxyz(31.7258, 20.9900, 49.9476)
Luminance0.2099 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CBC #64BC5C
analogous
#845CBC #B45CBC #BC5C94
triadic
#B45CBC #BCB45C #5CBCB4
tetradic
#B45CBC #BC845C #64BC5C #5C94BC
square
#B45CBC #BC845C #64BC5C #5C94BC
split-complementary
#B45CBC #94BC5C #5CBC84
monochromatic
#6A2E70 #93409B #B45CBC #C887CE #DCB3E0

Accessibility & contrast

On white

4.04
#B45CBC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.20
#B45CBC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CBC
5.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CBC#FFFFFF#000000##000000
##B45CBC1.004.045.205.20
#FFFFFF4.041.0021.0021.00
#0000005.2021.001.001.00
##0000005.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#4F78BF
Deuteranopia (green-blind)
#6A82B9
Tritanopia (blue-blind)
#B76884
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b45cbc;
/* rgb */ color: rgb(180, 92, 188);
/* oklch */ color: oklch(61.5% 0.167 324.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ed0',
    500: '#b45cbc',
    950: '#000000',
  },
}
SCSS
$custom: #b45cbc;
$custom-light: #cd8ed0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cbc",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 188
  },
  "hsl": {
    "h": 295,
    "s": 41.739,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61496,
    "c": 0.16666,
    "h": 324.2
  },
  "luminance": 0.20988
}

Semantic roles & 50–950 ramp

primary
#B45CBC
secondary
#A9CEA6
accent
#D25661
background
#FCF8FC
surface
#F9F0F9
border
#D2CBD2
text
#140C14
muted
#827D82

Preview Lab

Preview with #B45CBC

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

Preview Lab → · Contrast checker → · Palette generator →

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