#B45FD4#B45FD4

#B45FD4 is a light, vivid purple. Relative luminance 0.226; OKLCH L 63.2% C 0.186 H 315.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#B45FD4
RGBrgb(180, 95, 212)
HSLhsl(284, 58%, 60%)
HSVhsv(284, 55%, 83%)
CMYKcmyk(15.1%, 55.2%, 0%, 16.9%)
CIE-LABlab(54.70, 52.94, -46.34)
CIE-LCHlch(54.70, 70.35, 318.80°)
OKLaboklab(63.18% 0.1335 -0.1293)
OKLCHoklch(63.18% 0.186 315.9)
XYZxyz(34.7965, 22.6423, 64.8120)
Luminance0.2264 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FD4 #7FD45F
analogous
#7A5FD4 #B45FD4 #D45FB9
triadic
#B45FD4 #D4B45F #5FD4B4
tetradic
#B45FD4 #D47A5F #7FD45F #5FB9D4
square
#B45FD4 #D47A5F #7FD45F #5FB9D4
split-complementary
#B45FD4 #B9D45F #5FD47A
monochromatic
#742791 #9B34C2 #B45FD4 #CB8FE1 #E1BFEE

Accessibility & contrast

On white

3.80
#B45FD4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#B45FD4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FD4
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FD4#FFFFFF#000000##000000
##B45FD41.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#427ED8
Deuteranopia (green-blind)
#6085D1
Tritanopia (blue-blind)
#B27291
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #b45fd4;
/* rgb */ color: rgb(180, 95, 212);
/* oklch */ color: oklch(63.2% 0.186 315.9);
Tailwind
colors: {
  custom: {
    50: '#cd90e2',
    500: '#b45fd4',
    950: '#000000',
  },
}
SCSS
$custom: #b45fd4;
$custom-light: #cd90e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fd4",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 212
  },
  "hsl": {
    "h": 283.59,
    "s": 57.635,
    "l": 60.196
  },
  "oklch": {
    "l": 0.63184,
    "c": 0.18588,
    "h": 315.9
  },
  "luminance": 0.22641
}

Semantic roles & 50–950 ramp

primary
#B45FD4
secondary
#BDDEB1
accent
#C5204D
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45FD4

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

Preview Lab → · Contrast checker → · Palette generator →

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