#B45CD8#B45CD8

#B45CD8 is a light, vivid purple. Relative luminance 0.223; OKLCH L 63.0% C 0.195 H 315.0°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B45CD8
RGBrgb(180, 92, 216)
HSLhsl(283, 61%, 60%)
HSVhsv(283, 57%, 85%)
CMYKcmyk(16.7%, 57.4%, 0%, 15.3%)
CIE-LABlab(54.36, 55.24, -49.15)
CIE-LCHlch(54.36, 73.94, 318.34°)
OKLaboklab(63% 0.1376 -0.1375)
OKLCHoklch(63% 0.195 315)
XYZxyz(35.0422, 22.3166, 67.4140)
Luminance0.2231 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CD8 #80D85C
analogous
#765CD8 #B45CD8 #D85CBE
triadic
#B45CD8 #D8B45C #5CD8B4
tetradic
#B45CD8 #D8765C #80D85C #5CBED8
square
#B45CD8 #D8765C #80D85C #5CBED8
split-complementary
#B45CD8 #BED85C #5CD876
monochromatic
#752496 #9B30C7 #B45CD8 #CB8DE4 #E1BFF0

Accessibility & contrast

On white

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

On black

5.46
#B45CD8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45CD8
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45CD8#FFFFFF#000000##000000
##B45CD81.003.845.465.46
#FFFFFF3.841.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#397DDC
Deuteranopia (green-blind)
#5A84D5
Tritanopia (blue-blind)
#B17191
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45cd8;
/* rgb */ color: rgb(180, 92, 216);
/* oklch */ color: oklch(63.0% 0.195 315.0);
Tailwind
colors: {
  custom: {
    50: '#cd8ee4',
    500: '#b45cd8',
    950: '#000000',
  },
}
SCSS
$custom: #b45cd8;
$custom-light: #cd8ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cd8",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 216
  },
  "hsl": {
    "h": 282.581,
    "s": 61.386,
    "l": 60.392
  },
  "oklch": {
    "l": 0.63004,
    "c": 0.19452,
    "h": 315
  },
  "luminance": 0.22315
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B45CD8

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

Preview Lab → · Contrast checker → · Palette generator →

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