#B45FCB#B45FCB

#B45FCB is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.7% C 0.177 H 318.7°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B45FCB
RGBrgb(180, 95, 203)
HSLhsl(287, 51%, 58%)
HSVhsv(287, 53%, 80%)
CMYKcmyk(11.3%, 53.2%, 0%, 20.4%)
CIE-LABlab(54.24, 51.11, -41.95)
CIE-LCHlch(54.24, 66.12, 320.62°)
OKLaboklab(62.69% 0.1328 -0.1166)
OKLCHoklch(62.69% 0.177 318.7)
XYZxyz(33.6927, 22.2008, 58.9987)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FCB #76CB5F
analogous
#7E5FCB #B45FCB #CB5FAC
triadic
#B45FCB #CBB45F #5FCBB4
tetradic
#B45FCB #CB7E5F #76CB5F #5FACCB
square
#B45FCB #CB7E5F #76CB5F #5FACCB
split-complementary
#B45FCB #ACCB5F #5FCB7E
monochromatic
#712B85 #993AB3 #B45FCB #CA8DDA #DFBBE9

Accessibility & contrast

On white

3.86
#B45FCB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B45FCB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FCB
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FCB#FFFFFF#000000##000000
##B45FCB1.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7CCF
Deuteranopia (green-blind)
#6585C8
Tritanopia (blue-blind)
#B46F8C
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45fcb;
/* rgb */ color: rgb(180, 95, 203);
/* oklch */ color: oklch(62.7% 0.177 318.7);
Tailwind
colors: {
  custom: {
    50: '#cd90db',
    500: '#b45fcb',
    950: '#000000',
  },
}
SCSS
$custom: #b45fcb;
$custom-light: #cd90db;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fcb",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 203
  },
  "hsl": {
    "h": 287.222,
    "s": 50.943,
    "l": 58.431
  },
  "oklch": {
    "l": 0.62694,
    "c": 0.17668,
    "h": 318.7
  },
  "luminance": 0.222
}

Semantic roles & 50–950 ramp

primary
#B45FCB
secondary
#B7D8AD
accent
#DA4D6B
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45FCB

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

Preview Lab → · Contrast checker → · Palette generator →

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