#B45CD9#B45CD9

#B45CD9 is a light, vivid purple. Relative luminance 0.224; OKLCH L 63.1% C 0.196 H 314.7°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#B45CD9
RGBrgb(180, 92, 217)
HSLhsl(282, 62%, 61%)
HSVhsv(282, 58%, 85%)
CMYKcmyk(17.1%, 57.6%, 0%, 14.9%)
CIE-LABlab(54.42, 55.45, -49.63)
CIE-LCHlch(54.42, 74.42, 318.17°)
OKLaboklab(63.06% 0.1376 -0.1389)
OKLCHoklch(63.06% 0.196 314.7)
XYZxyz(35.1719, 22.3684, 68.0970)
Luminance0.2237 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CD9 #81D95C
analogous
#755CD9 #B45CD9 #D95CBF
triadic
#B45CD9 #D9B45C #5CD9B4
tetradic
#B45CD9 #D9755C #81D95C #5CBFD9
square
#B45CD9 #D9755C #81D95C #5CBFD9
split-complementary
#B45CD9 #BFD95C #5CD975
monochromatic
#752397 #9B2FC9 #B45CD9 #CB8EE5 #E2BFF0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45CD9#FFFFFF#000000##000000
##B45CD91.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)
#387DDD
Deuteranopia (green-blind)
#5A85D6
Tritanopia (blue-blind)
#B17192
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45cd9;
/* rgb */ color: rgb(180, 92, 217);
/* oklch */ color: oklch(63.1% 0.196 314.7);
Tailwind
colors: {
  custom: {
    50: '#cd8ee5',
    500: '#b45cd9',
    950: '#000000',
  },
}
SCSS
$custom: #b45cd9;
$custom-light: #cd8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cd9",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 217
  },
  "hsl": {
    "h": 282.24,
    "s": 62.189,
    "l": 60.588
  },
  "oklch": {
    "l": 0.63061,
    "c": 0.19554,
    "h": 314.7
  },
  "luminance": 0.22367
}

Semantic roles & 50–950 ramp

primary
#B45CD9
secondary
#BFE0B1
accent
#CA1C4F
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B45CD9

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

Preview Lab → · Contrast checker → · Palette generator →

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