#B45CD7#B45CD7

#B45CD7 is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.9% C 0.194 H 315.3°. Best body text is #000000 at 5.45:1 contrast (WCAG AA passes).

Color values

HEX#B45CD7
RGBrgb(180, 92, 215)
HSLhsl(283, 61%, 60%)
HSVhsv(283, 57%, 84%)
CMYKcmyk(16.3%, 57.2%, 0%, 15.7%)
CIE-LABlab(54.31, 55.04, -48.67)
CIE-LCHlch(54.31, 73.47, 318.51°)
OKLaboklab(62.95% 0.1375 -0.1361)
OKLCHoklch(62.95% 0.194 315.3)
XYZxyz(34.9133, 22.2650, 66.7352)
Luminance0.2226 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45CD7 #7FD75C
analogous
#775CD7 #B45CD7 #D75CBC
triadic
#B45CD7 #D7B45C #5CD7B4
tetradic
#B45CD7 #D7775C #7FD75C #5CBCD7
square
#B45CD7 #D7775C #7FD75C #5CBCD7
split-complementary
#B45CD7 #BCD75C #5CD777
monochromatic
#742494 #9B30C5 #B45CD7 #CB8DE3 #E1BEEF

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B45CD7#FFFFFF#000000##000000
##B45CD71.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)
#3A7DDB
Deuteranopia (green-blind)
#5B84D4
Tritanopia (blue-blind)
#B27191
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45cd7;
/* rgb */ color: rgb(180, 92, 215);
/* oklch */ color: oklch(62.9% 0.194 315.3);
Tailwind
colors: {
  custom: {
    50: '#cd8ee4',
    500: '#b45cd7',
    950: '#000000',
  },
}
SCSS
$custom: #b45cd7;
$custom-light: #cd8ee4;
$custom-dark: #000000;
JSON
{
  "hex": "#b45cd7",
  "rgb": {
    "r": 180,
    "g": 92,
    "b": 215
  },
  "hsl": {
    "h": 282.927,
    "s": 60.591,
    "l": 60.196
  },
  "oklch": {
    "l": 0.62946,
    "c": 0.1935,
    "h": 315.3
  },
  "luminance": 0.22264
}

Semantic roles & 50–950 ramp

primary
#B45CD7
secondary
#BDDFB0
accent
#C81D4E
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140D15
muted
#827D84

Preview Lab

Preview with #B45CD7

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

Preview Lab → · Contrast checker → · Palette generator →

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