#B246BA#B246BA

#B246BA is a mid, vivid purple. Relative luminance 0.174; OKLCH L 58.3% C 0.197 H 324.9°. Best body text is #FFFFFF at 4.69:1 contrast (WCAG AA passes).

Color values

HEX#B246BA
RGBrgb(178, 70, 186)
HSLhsl(296, 46%, 50%)
HSVhsv(296, 62%, 73%)
CMYKcmyk(4.3%, 62.4%, 0%, 27.1%)
CIE-LABlab(48.75, 59.10, -40.84)
CIE-LCHlch(48.75, 71.84, 325.35°)
OKLaboklab(58.34% 0.1611 -0.1132)
OKLCHoklch(58.34% 0.197 324.9)
XYZxyz(29.4125, 17.3922, 48.2527)
Luminance0.1739 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246BA #4EBA46
analogous
#7846BA #B246BA #BA4688
triadic
#B246BA #BAB246 #46BAB2
tetradic
#B246BA #BA7846 #4EBA46 #4688BA
square
#B246BA #BA7846 #4EBA46 #4688BA
split-complementary
#B246BA #88BA46 #46BA78
monochromatic
#5D2461 #88358E #B246BA #C573CB #D79FDB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B246BA#FFFFFF#000000##FFFFFF
##B246BA1.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)
#326BBD
Deuteranopia (green-blind)
#5B78B7
Tritanopia (blue-blind)
#B6577A
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b246ba;
/* rgb */ color: rgb(178, 70, 186);
/* oklch */ color: oklch(58.3% 0.197 324.9);
Tailwind
colors: {
  custom: {
    50: '#cc81cf',
    500: '#b246ba',
    950: '#000000',
  },
}
SCSS
$custom: #b246ba;
$custom-light: #cc81cf;
$custom-dark: #000000;
JSON
{
  "hex": "#b246ba",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 186
  },
  "hsl": {
    "h": 295.862,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.58342,
    "c": 0.19695,
    "h": 324.9
  },
  "luminance": 0.1739
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B246BA

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

Preview Lab → · Contrast checker → · Palette generator →

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