#B45BCF#B45BCF

#B45BCF is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.4% C 0.187 H 317.8°. Best body text is #000000 at 5.34:1 contrast (WCAG AA passes).

Color values

HEX#B45BCF
RGBrgb(180, 91, 207)
HSLhsl(286, 55%, 58%)
HSVhsv(286, 56%, 81%)
CMYKcmyk(13%, 56%, 0%, 18.8%)
CIE-LABlab(53.70, 53.90, -45.09)
CIE-LCHlch(53.70, 70.27, 320.09°)
OKLaboklab(62.36% 0.1384 -0.1257)
OKLCHoklch(62.36% 0.187 317.8)
XYZxyz(33.8244, 21.6917, 61.4246)
Luminance0.2169 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BCF #76CF5B
analogous
#7A5BCF #B45BCF #CF5BB0
triadic
#B45BCF #CFB45B #5BCFB4
tetradic
#B45BCF #CF7A5B #76CF5B #5BB0CF
square
#B45BCF #CF7A5B #76CF5B #5BB0CF
split-complementary
#B45BCF #B0CF5B #5BCF7A
monochromatic
#712888 #9936B7 #B45BCF #CA8ADD #DFBAEB

Accessibility & contrast

On white

3.93
#B45BCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.34
#B45BCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BCF
5.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BCF#FFFFFF#000000##000000
##B45BCF1.003.935.345.34
#FFFFFF3.931.0021.0021.00
#0000005.3421.001.001.00
##0000005.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#407BD3
Deuteranopia (green-blind)
#5F83CC
Tritanopia (blue-blind)
#B36D8C
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45bcf;
/* rgb */ color: rgb(180, 91, 207);
/* oklch */ color: oklch(62.4% 0.187 317.8);
Tailwind
colors: {
  custom: {
    50: '#cd8dde',
    500: '#b45bcf',
    950: '#000000',
  },
}
SCSS
$custom: #b45bcf;
$custom-light: #cd8dde;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bcf",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 207
  },
  "hsl": {
    "h": 286.034,
    "s": 54.717,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62363,
    "c": 0.18692,
    "h": 317.8
  },
  "luminance": 0.2169
}

Semantic roles & 50–950 ramp

primary
#B45BCF
secondary
#B7DAAC
accent
#DE4A6C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B45BCF

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

Preview Lab → · Contrast checker → · Palette generator →

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