#B45DC7#B45DC7

#B45DC7 is a light, vivid purple. Relative luminance 0.217; OKLCH L 62.2% C 0.176 H 320.2°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#B45DC7
RGBrgb(180, 93, 199)
HSLhsl(289, 49%, 57%)
HSVhsv(289, 53%, 78%)
CMYKcmyk(9.5%, 53.3%, 0%, 22%)
CIE-LABlab(53.66, 51.32, -40.57)
CIE-LCHlch(53.66, 65.42, 321.67°)
OKLaboklab(62.2% 0.1351 -0.1126)
OKLCHoklch(62.2% 0.176 320.2)
XYZxyz(33.0443, 21.6569, 56.4613)
Luminance0.2166 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45DC7 #70C75D
analogous
#7F5DC7 #B45DC7 #C75DA5
triadic
#B45DC7 #C7B45D #5DC7B4
tetradic
#B45DC7 #C77F5D #70C75D #5DA5C7
square
#B45DC7 #C77F5D #70C75D #5DA5C7
split-complementary
#B45DC7 #A5C75D #5DC77F
monochromatic
#6F2C7E #973BAC #B45DC7 #C98AD7 #DEB8E6

Accessibility & contrast

On white

3.94
#B45DC7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#B45DC7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45DC7
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45DC7#FFFFFF#000000##000000
##B45DC71.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4A7ACA
Deuteranopia (green-blind)
#6683C4
Tritanopia (blue-blind)
#B56C89
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #b45dc7;
/* rgb */ color: rgb(180, 93, 199);
/* oklch */ color: oklch(62.2% 0.176 320.2);
Tailwind
colors: {
  custom: {
    50: '#cd8ed8',
    500: '#b45dc7',
    950: '#000000',
  },
}
SCSS
$custom: #b45dc7;
$custom-light: #cd8ed8;
$custom-dark: #000000;
JSON
{
  "hex": "#b45dc7",
  "rgb": {
    "r": 180,
    "g": 93,
    "b": 199
  },
  "hsl": {
    "h": 289.245,
    "s": 48.624,
    "l": 57.255
  },
  "oklch": {
    "l": 0.62203,
    "c": 0.17582,
    "h": 320.2
  },
  "luminance": 0.21656
}

Semantic roles & 50–950 ramp

primary
#B45DC7
secondary
#B2D5AA
accent
#D85068
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140D14
muted
#827D83

Preview Lab

Preview with #B45DC7

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

Preview Lab → · Contrast checker → · Palette generator →

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