#B45BCB#B45BCB

#B45BCB is a light, vivid purple. Relative luminance 0.215; OKLCH L 62.1% C 0.183 H 319.0°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#B45BCB
RGBrgb(180, 91, 203)
HSLhsl(288, 52%, 58%)
HSVhsv(288, 55%, 80%)
CMYKcmyk(11.3%, 55.2%, 0%, 20.4%)
CIE-LABlab(53.49, 53.10, -43.13)
CIE-LCHlch(53.49, 68.41, 320.91°)
OKLaboklab(62.14% 0.1381 -0.12)
OKLCHoklch(62.14% 0.183 319)
XYZxyz(33.3416, 21.4986, 58.8817)
Luminance0.2150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BCB #72CB5B
analogous
#7C5BCB #B45BCB #CB5BAA
triadic
#B45BCB #CBB45B #5BCBB4
tetradic
#B45BCB #CB7C5B #72CB5B #5BAACB
square
#B45BCB #CB7C5B #72CB5B #5BAACB
split-complementary
#B45BCB #AACB5B #5BCB7C
monochromatic
#702982 #9838B1 #B45BCB #C989DA #DFB8E8

Accessibility & contrast

On white

3.96
#B45BCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#B45BCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BCB
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BCB#FFFFFF#000000##000000
##B45BCB1.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#447ACF
Deuteranopia (green-blind)
#6283C8
Tritanopia (blue-blind)
#B46C8A
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45bcb;
/* rgb */ color: rgb(180, 91, 203);
/* oklch */ color: oklch(62.1% 0.183 319.0);
Tailwind
colors: {
  custom: {
    50: '#cd8ddb',
    500: '#b45bcb',
    950: '#000000',
  },
}
SCSS
$custom: #b45bcb;
$custom-light: #cd8ddb;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bcb",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 203
  },
  "hsl": {
    "h": 287.679,
    "s": 51.852,
    "l": 57.647
  },
  "oklch": {
    "l": 0.62144,
    "c": 0.18293,
    "h": 319
  },
  "luminance": 0.21497
}

Semantic roles & 50–950 ramp

primary
#B45BCB
secondary
#B4D7AA
accent
#DB4C6A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B45BCB

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

Preview Lab → · Contrast checker → · Palette generator →

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