#B245BB#B245BB

#B245BB is a mid, vivid purple. Relative luminance 0.173; OKLCH L 58.3% C 0.199 H 324.6°. Best body text is #FFFFFF at 4.71:1 contrast (WCAG AA passes).

Color values

HEX#B245BB
RGBrgb(178, 69, 187)
HSLhsl(295, 46%, 50%)
HSVhsv(295, 63%, 73%)
CMYKcmyk(4.8%, 63.1%, 0%, 26.7%)
CIE-LABlab(48.65, 59.71, -41.59)
CIE-LCHlch(48.65, 72.76, 325.14°)
OKLaboklab(58.29% 0.1624 -0.1154)
OKLCHoklch(58.29% 0.199 324.6)
XYZxyz(29.4571, 17.3108, 48.7938)
Luminance0.1731 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B245BB #4EBB45
analogous
#7745BB #B245BB #BB4589
triadic
#B245BB #BBB245 #45BBB2
tetradic
#B245BB #BB7745 #4EBB45 #4589BB
square
#B245BB #BB7745 #4EBB45 #4589BB
split-complementary
#B245BB #89BB45 #45BB77
monochromatic
#5D2462 #88348F #B245BB #C572CB #D79FDC

Accessibility & contrast

On white

4.71
#B245BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.46
#B245BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B245BB
4.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B245BB#FFFFFF#000000##FFFFFF
##B245BB1.004.714.464.71
#FFFFFF4.711.0021.001.00
#0000004.4621.001.0021.00
##FFFFFF4.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F6BBF
Deuteranopia (green-blind)
#5A78B8
Tritanopia (blue-blind)
#B6567A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b245bb;
/* rgb */ color: rgb(178, 69, 187);
/* oklch */ color: oklch(58.3% 0.199 324.6);
Tailwind
colors: {
  custom: {
    50: '#cc80d0',
    500: '#b245bb',
    950: '#000000',
  },
}
SCSS
$custom: #b245bb;
$custom-light: #cc80d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b245bb",
  "rgb": {
    "r": 178,
    "g": 69,
    "b": 187
  },
  "hsl": {
    "h": 295.424,
    "s": 46.457,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58286,
    "c": 0.19919,
    "h": 324.6
  },
  "luminance": 0.17309
}

Semantic roles & 50–950 ramp

primary
#B245BB
secondary
#98C894
accent
#D6525C
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B245BB

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

Preview Lab → · Contrast checker → · Palette generator →

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