#B45FCE#B45FCE

#B45FCE is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.9% C 0.180 H 317.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B45FCE
RGBrgb(180, 95, 206)
HSLhsl(286, 53%, 59%)
HSVhsv(286, 54%, 81%)
CMYKcmyk(12.6%, 53.9%, 0%, 19.2%)
CIE-LABlab(54.39, 51.71, -43.42)
CIE-LCHlch(54.39, 67.52, 319.98°)
OKLaboklab(62.86% 0.1331 -0.1208)
OKLCHoklch(62.86% 0.18 317.8)
XYZxyz(34.0536, 22.3452, 60.8998)
Luminance0.2234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FCE #79CE5F
analogous
#7D5FCE #B45FCE #CE5FB1
triadic
#B45FCE #CEB45F #5FCEB4
tetradic
#B45FCE #CE7D5F #79CE5F #5FB1CE
square
#B45FCE #CE7D5F #79CE5F #5FB1CE
split-complementary
#B45FCE #B1CE5F #5FCE7D
monochromatic
#732A89 #9A38B8 #B45FCE #CA8EDC #E0BDEB

Accessibility & contrast

On white

3.84
#B45FCE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#B45FCE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FCE
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FCE#FFFFFF#000000##000000
##B45FCE1.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD2
Deuteranopia (green-blind)
#6385CB
Tritanopia (blue-blind)
#B4708E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45fce;
/* rgb */ color: rgb(180, 95, 206);
/* oklch */ color: oklch(62.9% 0.180 317.8);
Tailwind
colors: {
  custom: {
    50: '#cd90dd',
    500: '#b45fce',
    950: '#000000',
  },
}
SCSS
$custom: #b45fce;
$custom-light: #cd90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fce",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 206
  },
  "hsl": {
    "h": 285.946,
    "s": 53.11,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62855,
    "c": 0.17973,
    "h": 317.8
  },
  "luminance": 0.22344
}

Semantic roles & 50–950 ramp

primary
#B45FCE
secondary
#B9DAAF
accent
#DD4B6D
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45FCE

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

Preview Lab → · Contrast checker → · Palette generator →

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