#B45BDA#B45BDA

#B45BDA is a light, vivid purple. Relative luminance 0.222; OKLCH L 63.0% C 0.198 H 314.5°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B45BDA
RGBrgb(180, 91, 218)
HSLhsl(282, 63%, 61%)
HSVhsv(282, 58%, 85%)
CMYKcmyk(17.4%, 58.3%, 0%, 14.5%)
CIE-LABlab(54.29, 56.15, -50.40)
CIE-LCHlch(54.29, 75.45, 318.09°)
OKLaboklab(62.99% 0.1389 -0.1411)
OKLCHoklch(62.99% 0.198 314.5)
XYZxyz(35.2163, 22.2485, 68.7554)
Luminance0.2225 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45BDA #81DA5B
analogous
#745BDA #B45BDA #DA5BC1
triadic
#B45BDA #DAB45B #5BDAB4
tetradic
#B45BDA #DA745B #81DA5B #5BC1DA
square
#B45BDA #DA745B #81DA5B #5BC1DA
split-complementary
#B45BDA #C1DA5B #5BDA74
monochromatic
#752298 #9B2ECA #B45BDA #CB8DE5 #E2BFF1

Accessibility & contrast

On white

3.85
#B45BDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.45
#B45BDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45BDA
5.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45BDA#FFFFFF#000000##000000
##B45BDA1.003.855.455.45
#FFFFFF3.851.0021.0021.00
#0000005.4521.001.001.00
##0000005.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#357DDE
Deuteranopia (green-blind)
#5884D7
Tritanopia (blue-blind)
#B17192
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45bda;
/* rgb */ color: rgb(180, 91, 218);
/* oklch */ color: oklch(63.0% 0.198 314.5);
Tailwind
colors: {
  custom: {
    50: '#cd8ee6',
    500: '#b45bda',
    950: '#000000',
  },
}
SCSS
$custom: #b45bda;
$custom-light: #cd8ee6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45bda",
  "rgb": {
    "r": 180,
    "g": 91,
    "b": 218
  },
  "hsl": {
    "h": 282.047,
    "s": 63.184,
    "l": 60.588
  },
  "oklch": {
    "l": 0.62987,
    "c": 0.19803,
    "h": 314.5
  },
  "luminance": 0.22247
}

Semantic roles & 50–950 ramp

primary
#B45BDA
secondary
#BFE1B0
accent
#CB1B4F
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140D16
muted
#827D84

Preview Lab

Preview with #B45BDA

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

Preview Lab → · Contrast checker → · Palette generator →

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