#B45CC7#B45CC7

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

Color values

HEX#B45CC7
RGBrgb(180, 92, 199)
HSLhsl(289, 49%, 57%)
HSVhsv(289, 54%, 78%)
CMYKcmyk(9.5%, 53.8%, 0%, 22%)
CIE-LABlab(53.47, 51.81, -40.87)
CIE-LCHlch(53.47, 65.99, 321.73°)
OKLaboklab(62.07% 0.1364 -0.1134)
OKLCHoklch(62.07% 0.177 320.3)
XYZxyz(32.9571, 21.4825, 56.4323)
Luminance0.2148 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CC7 #6FC75C
analogous
#7F5CC7 #B45CC7 #C75CA4
triadic
#B45CC7 #C7B45C #5CC7B4
tetradic
#B45CC7 #C77F5C #6FC75C #5CA4C7
square
#B45CC7 #C77F5C #6FC75C #5CA4C7
split-complementary
#B45CC7 #A4C75C #5CC77F
monochromatic
#6F2B7D #973BAB #B45CC7 #C98AD7 #DEB7E6

Accessibility & contrast

On white

3.97
#B45CC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45CC7#FFFFFF#000000##000000
##B45CC71.003.975.305.30
#FFFFFF3.971.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#487ACA
Deuteranopia (green-blind)
#6583C4
Tritanopia (blue-blind)
#B56B89
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45cc7;
/* rgb */ color: rgb(180, 92, 199);
/* oklch */ color: oklch(62.1% 0.177 320.3);
Tailwind
colors: {
  custom: {
    50: '#cd8ed8',
    500: '#b45cc7',
    950: '#000000',
  },
}
SCSS
$custom: #b45cc7;
$custom-light: #cd8ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cc7",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 199
  },
  "hsl": {
    "h": 289.346,
    "s": 48.858,
    "l": 57.059
  },
  "oklch": {
    "l": 0.62065,
    "c": 0.1774,
    "h": 320.3
  },
  "luminance": 0.21481
}

Semantic roles & 50–950 ramp

primary
#B45CC7
secondary
#B1D5AA
accent
#D84F68
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140D14
muted
#827D83

Preview Lab

Preview with #B45CC7

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

Preview Lab → · Contrast checker → · Palette generator →

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