#B245AD#B245AD

#B245AD is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.187 H 329.5°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B245AD
RGBrgb(178, 69, 173)
HSLhsl(303, 44%, 48%)
HSVhsv(303, 61%, 70%)
CMYKcmyk(0%, 61.2%, 2.8%, 30.2%)
CIE-LABlab(47.93, 57.25, -34.53)
CIE-LCHlch(47.93, 66.86, 328.91°)
OKLaboklab(57.53% 0.1614 -0.095)
OKLCHoklch(57.53% 0.187 329.5)
XYZxyz(28.0308, 16.7403, 41.2819)
Luminance0.1674 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245AD #45B24A
analogous
#8045B2 #B245AD #B24576
triadic
#B245AD #ADB245 #45ADB2
tetradic
#B245AD #B28045 #45B24A #4576B2
square
#B245AD #B28045 #45B24A #4576B2
split-complementary
#B245AD #76B245 #45B280
monochromatic
#5A2357 #863482 #B245AD #C76EC3 #D89AD5

Accessibility & contrast

On white

4.83
#B245AD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B245AD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B245AD
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245AD#FFFFFF#000000##FFFFFF
##B245AD1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C68B0
Deuteranopia (green-blind)
#6177AA
Tritanopia (blue-blind)
#B85173
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b245ad;
/* rgb */ color: rgb(178, 69, 173);
/* oklch */ color: oklch(57.5% 0.187 329.5);
Tailwind
colors: {
  custom: {
    50: '#cc80c6',
    500: '#b245ad',
    950: '#000000',
  },
}
SCSS
$custom: #b245ad;
$custom-light: #cc80c6;
$custom-dark: #000000;
JSON
{
  "hex": "#b245ad",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 173
  },
  "hsl": {
    "h": 302.752,
    "s": 44.13,
    "l": 48.431
  },
  "oklch": {
    "l": 0.57531,
    "c": 0.18728,
    "h": 329.5
  },
  "luminance": 0.16738
}

Semantic roles & 50–950 ramp

primary
#B245AD
secondary
#8FC491
accent
#D45A54
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B245AD

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

Preview Lab → · Contrast checker → · Palette generator →

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