#B45BD9#B45BD9

#B45BD9 is a light, vivid purple. Relative luminance 0.222; OKLCH L 62.9% C 0.197 H 314.8°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#B45BD9
RGBrgb(180, 91, 217)
HSLhsl(282, 62%, 60%)
HSVhsv(282, 58%, 85%)
CMYKcmyk(17.1%, 58.1%, 0%, 14.9%)
CIE-LABlab(54.23, 55.94, -49.92)
CIE-LCHlch(54.23, 74.97, 318.26°)
OKLaboklab(62.93% 0.1389 -0.1397)
OKLCHoklch(62.93% 0.197 314.8)
XYZxyz(35.0858, 22.1963, 68.0683)
Luminance0.2220 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BD9 #80D95B
analogous
#755BD9 #B45BD9 #D95BBF
triadic
#B45BD9 #D9B45B #5BD9B4
tetradic
#B45BD9 #D9755B #80D95B #5BBFD9
square
#B45BD9 #D9755B #80D95B #5BBFD9
split-complementary
#B45BD9 #BFD95B #5BD975
monochromatic
#752397 #9B2EC8 #B45BD9 #CB8DE5 #E1BEF0

Accessibility & contrast

On white

3.86
#B45BD9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#B45BD9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BD9
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BD9#FFFFFF#000000##000000
##B45BD91.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#367DDD
Deuteranopia (green-blind)
#5984D6
Tritanopia (blue-blind)
#B17192
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45bd9;
/* rgb */ color: rgb(180, 91, 217);
/* oklch */ color: oklch(62.9% 0.197 314.8);
Tailwind
colors: {
  custom: {
    50: '#cd8ee5',
    500: '#b45bd9',
    950: '#000000',
  },
}
SCSS
$custom: #b45bd9;
$custom-light: #cd8ee5;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bd9",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 217
  },
  "hsl": {
    "h": 282.381,
    "s": 62.376,
    "l": 60.392
  },
  "oklch": {
    "l": 0.62929,
    "c": 0.19701,
    "h": 314.8
  },
  "luminance": 0.22195
}

Semantic roles & 50–950 ramp

primary
#B45BD9
secondary
#BEE0B0
accent
#CA1B4F
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B45BD9

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

Preview Lab → · Contrast checker → · Palette generator →

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