#B45FD2#B45FD2

#B45FD2 is a light, vivid purple. Relative luminance 0.225; OKLCH L 63.1% C 0.184 H 316.5°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#B45FD2
RGBrgb(180, 95, 210)
HSLhsl(284, 56%, 60%)
HSVhsv(284, 55%, 82%)
CMYKcmyk(14.3%, 54.8%, 0%, 17.6%)
CIE-LABlab(54.60, 52.53, -45.37)
CIE-LCHlch(54.60, 69.41, 319.18°)
OKLaboklab(63.07% 0.1334 -0.1265)
OKLCHoklch(63.07% 0.184 316.5)
XYZxyz(34.5457, 22.5420, 63.4916)
Luminance0.2254 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FD2 #7DD25F
analogous
#7B5FD2 #B45FD2 #D25FB7
triadic
#B45FD2 #D2B45F #5FD2B4
tetradic
#B45FD2 #D27B5F #7DD25F #5FB7D2
square
#B45FD2 #D27B5F #7DD25F #5FB7D2
split-complementary
#B45FD2 #B7D25F #5FD27B
monochromatic
#74288F #9B36BE #B45FD2 #CA8FDF #E1BFED

Accessibility & contrast

On white

3.81
#B45FD2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#B45FD2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FD2
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FD2#FFFFFF#000000##000000
##B45FD21.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#447DD6
Deuteranopia (green-blind)
#6185CF
Tritanopia (blue-blind)
#B37190
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45fd2;
/* rgb */ color: rgb(180, 95, 210);
/* oklch */ color: oklch(63.1% 0.184 316.5);
Tailwind
colors: {
  custom: {
    50: '#cd90e0',
    500: '#b45fd2',
    950: '#000000',
  },
}
SCSS
$custom: #b45fd2;
$custom-light: #cd90e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fd2",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 210
  },
  "hsl": {
    "h": 284.348,
    "s": 56.098,
    "l": 59.804
  },
  "oklch": {
    "l": 0.63073,
    "c": 0.18383,
    "h": 316.5
  },
  "luminance": 0.22541
}

Semantic roles & 50–950 ramp

primary
#B45FD2
secondary
#BCDDB0
accent
#DF4870
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45FD2

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

Preview Lab → · Contrast checker → · Palette generator →

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