#B45FDA#B45FDA

#B45FDA is a light, vivid purple. Relative luminance 0.230; OKLCH L 63.5% C 0.192 H 314.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#B45FDA
RGBrgb(180, 95, 218)
HSLhsl(281, 62%, 61%)
HSVhsv(281, 56%, 85%)
CMYKcmyk(17.4%, 56.4%, 0%, 14.5%)
CIE-LABlab(55.02, 54.18, -49.23)
CIE-LCHlch(55.02, 73.21, 317.74°)
OKLaboklab(63.52% 0.1339 -0.1378)
OKLCHoklch(63.52% 0.192 314.2)
XYZxyz(35.5674, 22.9507, 68.8724)
Luminance0.2295 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FDA #85DA5F
analogous
#775FDA #B45FDA #DA5FC3
triadic
#B45FDA #DAB45F #5FDAB4
tetradic
#B45FDA #DA775F #85DA5F #5FC3DA
square
#B45FDA #DA775F #85DA5F #5FC3DA
split-complementary
#B45FDA #C3DA5F #5FDA77
monochromatic
#76249B #9C2FCD #B45FDA #CB91E5 #E3C2F1

Accessibility & contrast

On white

3.76
#B45FDA on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#B45FDA on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FDA
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FDA#FFFFFF#000000##000000
##B45FDA1.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D7FDE
Deuteranopia (green-blind)
#5C86D7
Tritanopia (blue-blind)
#B17494
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #b45fda;
/* rgb */ color: rgb(180, 95, 218);
/* oklch */ color: oklch(63.5% 0.192 314.2);
Tailwind
colors: {
  custom: {
    50: '#cd90e6',
    500: '#b45fda',
    950: '#000000',
  },
}
SCSS
$custom: #b45fda;
$custom-light: #cd90e6;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fda",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 218
  },
  "hsl": {
    "h": 281.463,
    "s": 62.437,
    "l": 61.373
  },
  "oklch": {
    "l": 0.63522,
    "c": 0.19208,
    "h": 314.2
  },
  "luminance": 0.2295
}

Semantic roles & 50–950 ramp

primary
#B45FDA
secondary
#C2E1B3
accent
#CA1B51
background
#FCF9FE
surface
#F9F1FC
border
#D2CBD5
text
#140D16
muted
#827E84

Preview Lab

Preview with #B45FDA

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

Preview Lab → · Contrast checker → · Palette generator →

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