#B246BB#B246BB

#B246BB is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.4% C 0.198 H 324.6°. Best body text is #FFFFFF at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B246BB
RGBrgb(178, 70, 187)
HSLhsl(295, 46%, 50%)
HSVhsv(295, 63%, 73%)
CMYKcmyk(4.8%, 62.6%, 0%, 26.7%)
CIE-LABlab(48.80, 59.28, -41.34)
CIE-LCHlch(48.80, 72.27, 325.11°)
OKLaboklab(58.4% 0.1612 -0.1147)
OKLCHoklch(58.4% 0.198 324.6)
XYZxyz(29.5192, 17.4349, 48.8145)
Luminance0.1743 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246BB #4FBB46
analogous
#7846BB #B246BB #BB4689
triadic
#B246BB #BBB246 #46BBB2
tetradic
#B246BB #BB7846 #4FBB46 #4689BB
square
#B246BB #BB7846 #4FBB46 #4689BB
split-complementary
#B246BB #89BB46 #46BB78
monochromatic
#5E2462 #88358F #B246BB #C573CB #D7A0DC

Accessibility & contrast

On white

4.68
#B246BB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.49
#B246BB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B246BB
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246BB#FFFFFF#000000##FFFFFF
##B246BB1.004.684.494.68
#FFFFFF4.681.0021.001.00
#0000004.4921.001.0021.00
##FFFFFF4.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#316BBF
Deuteranopia (green-blind)
#5A78B8
Tritanopia (blue-blind)
#B6577A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b246bb;
/* rgb */ color: rgb(178, 70, 187);
/* oklch */ color: oklch(58.4% 0.198 324.6);
Tailwind
colors: {
  custom: {
    50: '#cc81d0',
    500: '#b246bb',
    950: '#000000',
  },
}
SCSS
$custom: #b246bb;
$custom-light: #cc81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b246bb",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 187
  },
  "hsl": {
    "h": 295.385,
    "s": 46.245,
    "l": 50.392
  },
  "oklch": {
    "l": 0.58398,
    "c": 0.19782,
    "h": 324.6
  },
  "luminance": 0.17433
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B246BB

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

Preview Lab → · Contrast checker → · Palette generator →

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