#B45FCF#B45FCF

#B45FCF is a light, vivid purple. Relative luminance 0.224; OKLCH L 62.9% C 0.181 H 317.4°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#B45FCF
RGBrgb(180, 95, 207)
HSLhsl(286, 54%, 59%)
HSVhsv(286, 54%, 81%)
CMYKcmyk(13%, 54.1%, 0%, 18.8%)
CIE-LABlab(54.44, 51.91, -43.91)
CIE-LCHlch(54.44, 67.99, 319.78°)
OKLaboklab(62.91% 0.1331 -0.1223)
OKLCHoklch(62.91% 0.181 317.4)
XYZxyz(34.1755, 22.3939, 61.5416)
Luminance0.2239 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FCF #7ACF5F
analogous
#7C5FCF #B45FCF #CF5FB2
triadic
#B45FCF #CFB45F #5FCFB4
tetradic
#B45FCF #CF7C5F #7ACF5F #5FB2CF
square
#B45FCF #CF7C5F #7ACF5F #5FB2CF
split-complementary
#B45FCF #B2CF5F #5FCF7C
monochromatic
#73298A #9A38B9 #B45FCF #CA8EDD #E0BDEB

Accessibility & contrast

On white

3.83
#B45FCF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#B45FCF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FCF
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FCF#FFFFFF#000000##000000
##B45FCF1.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#477DD3
Deuteranopia (green-blind)
#6385CC
Tritanopia (blue-blind)
#B3708E
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45fcf;
/* rgb */ color: rgb(180, 95, 207);
/* oklch */ color: oklch(62.9% 0.181 317.4);
Tailwind
colors: {
  custom: {
    50: '#cd90de',
    500: '#b45fcf',
    950: '#000000',
  },
}
SCSS
$custom: #b45fcf;
$custom-light: #cd90de;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fcf",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 207
  },
  "hsl": {
    "h": 285.536,
    "s": 53.846,
    "l": 59.216
  },
  "oklch": {
    "l": 0.62909,
    "c": 0.18075,
    "h": 317.4
  },
  "luminance": 0.22393
}

Semantic roles & 50–950 ramp

primary
#B45FCF
secondary
#BADBAF
accent
#DD4B6E
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45FCF

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

Preview Lab → · Contrast checker → · Palette generator →

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