#B245BD#B245BD

#B245BD is a mid, highly saturated purple. Relative luminance 0.174; OKLCH L 58.4% C 0.201 H 323.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B245BD
RGBrgb(178, 69, 189)
HSLhsl(295, 48%, 51%)
HSVhsv(295, 63%, 74%)
CMYKcmyk(5.8%, 63.5%, 0%, 25.9%)
CIE-LABlab(48.76, 60.07, -42.58)
CIE-LCHlch(48.76, 73.63, 324.67°)
OKLaboklab(58.4% 0.1624 -0.1183)
OKLCHoklch(58.4% 0.201 323.9)
XYZxyz(29.6727, 17.3970, 49.9293)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245BD #50BD45
analogous
#7645BD #B245BD #BD458C
triadic
#B245BD #BDB245 #45BDB2
tetradic
#B245BD #BD7645 #50BD45 #458CBD
square
#B245BD #BD7645 #50BD45 #458CBD
split-complementary
#B245BD #8CBD45 #45BD76
monochromatic
#5E2464 #893491 #B245BD #C572CD #D79FDD

Accessibility & contrast

On white

4.69
#B245BD on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.48
#B245BD on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B245BD
4.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245BD#FFFFFF#000000##FFFFFF
##B245BD1.004.694.484.69
#FFFFFF4.691.0021.001.00
#0000004.4821.001.0021.00
##FFFFFF4.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2D6BC1
Deuteranopia (green-blind)
#5978BA
Tritanopia (blue-blind)
#B5577B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b245bd;
/* rgb */ color: rgb(178, 69, 189);
/* oklch */ color: oklch(58.4% 0.201 323.9);
Tailwind
colors: {
  custom: {
    50: '#cc80d1',
    500: '#b245bd',
    950: '#000000',
  },
}
SCSS
$custom: #b245bd;
$custom-light: #cc80d1;
$custom-dark: #000000;
JSON
{
  "hex": "#b245bd",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 189
  },
  "hsl": {
    "h": 294.5,
    "s": 47.619,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.20093,
    "h": 323.9
  },
  "luminance": 0.17395
}

Semantic roles & 50–950 ramp

primary
#B245BD
secondary
#99CA94
accent
#D7515D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B245BD

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

Preview Lab → · Contrast checker → · Palette generator →

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