#B45FDC#B45FDC

#B45FDC is a light, vivid purple. Relative luminance 0.231; OKLCH L 63.6% C 0.194 H 313.6°. Best body text is #000000 at 5.61:1 contrast (WCAG AA passes).

Color values

HEX#B45FDC
RGBrgb(180, 95, 220)
HSLhsl(281, 64%, 62%)
HSVhsv(281, 57%, 86%)
CMYKcmyk(18.2%, 56.8%, 0%, 13.7%)
CIE-LABlab(55.13, 54.60, -50.19)
CIE-LCHlch(55.13, 74.16, 317.41°)
OKLaboklab(63.64% 0.1339 -0.1406)
OKLCHoklch(63.64% 0.194 313.6)
XYZxyz(35.8307, 23.0560, 70.2590)
Luminance0.2306 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FDC #87DC5F
analogous
#765FDC #B45FDC #DC5FC6
triadic
#B45FDC #DCB45F #5FDCB4
tetradic
#B45FDC #DC765F #87DC5F #5FC6DC
square
#B45FDC #DC765F #87DC5F #5FC6DC
split-complementary
#B45FDC #C6DC5F #5FDC76
monochromatic
#77239E #9C2ED0 #B45FDC #CC91E7 #E3C3F2

Accessibility & contrast

On white

3.74
#B45FDC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.61
#B45FDC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FDC
5.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FDC#FFFFFF#000000##000000
##B45FDC1.003.745.615.61
#FFFFFF3.741.0021.0021.00
#0000005.6121.001.001.00
##0000005.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#3B7FE0
Deuteranopia (green-blind)
#5A86D9
Tritanopia (blue-blind)
#B07595
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45fdc;
/* rgb */ color: rgb(180, 95, 220);
/* oklch */ color: oklch(63.6% 0.194 313.6);
Tailwind
colors: {
  custom: {
    50: '#cd90e7',
    500: '#b45fdc',
    950: '#000000',
  },
}
SCSS
$custom: #b45fdc;
$custom-light: #cd90e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fdc",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 220
  },
  "hsl": {
    "h": 280.8,
    "s": 64.103,
    "l": 61.765
  },
  "oklch": {
    "l": 0.63636,
    "c": 0.19416,
    "h": 313.6
  },
  "luminance": 0.23055
}

Semantic roles & 50–950 ramp

primary
#B45FDC
secondary
#C3E3B4
accent
#CC1A53
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B45FDC

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

Preview Lab → · Contrast checker → · Palette generator →

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