#B45FCD#B45FCD

#B45FCD is a light, vivid purple. Relative luminance 0.223; OKLCH L 62.8% C 0.179 H 318.1°. Best body text is #000000 at 5.46:1 contrast (WCAG AA passes).

Color values

HEX#B45FCD
RGBrgb(180, 95, 205)
HSLhsl(286, 52%, 59%)
HSVhsv(286, 54%, 80%)
CMYKcmyk(12.2%, 53.7%, 0%, 19.6%)
CIE-LABlab(54.34, 51.51, -42.93)
CIE-LCHlch(54.34, 67.05, 320.19°)
OKLaboklab(62.8% 0.133 -0.1194)
OKLCHoklch(62.8% 0.179 318.1)
XYZxyz(33.9325, 22.2967, 60.2620)
Luminance0.2230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B45FCD #78CD5F
analogous
#7D5FCD #B45FCD #CD5FAF
triadic
#B45FCD #CDB45F #5FCDB4
tetradic
#B45FCD #CD7D5F #78CD5F #5FAFCD
square
#B45FCD #CD7D5F #78CD5F #5FAFCD
split-complementary
#B45FCD #AFCD5F #5FCD7D
monochromatic
#722A87 #9A39B6 #B45FCD #CA8EDC #E0BCEA

Accessibility & contrast

On white

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

On black

5.46
#B45FCD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B45FCD
5.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B45FCD#FFFFFF#000000##000000
##B45FCD1.003.855.465.46
#FFFFFF3.851.0021.0021.00
#0000005.4621.001.001.00
##0000005.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#487CD1
Deuteranopia (green-blind)
#6485CA
Tritanopia (blue-blind)
#B4708D
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #b45fcd;
/* rgb */ color: rgb(180, 95, 205);
/* oklch */ color: oklch(62.8% 0.179 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd90dd',
    500: '#b45fcd',
    950: '#000000',
  },
}
SCSS
$custom: #b45fcd;
$custom-light: #cd90dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b45fcd",
  "rgb": {
    "r": 180,
    "g": 95,
    "b": 205
  },
  "hsl": {
    "h": 286.364,
    "s": 52.381,
    "l": 58.824
  },
  "oklch": {
    "l": 0.62801,
    "c": 0.17872,
    "h": 318.1
  },
  "luminance": 0.22295
}

Semantic roles & 50–950 ramp

primary
#B45FCD
secondary
#B8DAAE
accent
#DC4C6D
background
#FCF9FD
surface
#F9F1FB
border
#D2CBD4
text
#140D15
muted
#827E83

Preview Lab

Preview with #B45FCD

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

Preview Lab → · Contrast checker → · Palette generator →

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