#B246AB#B246AB

#B246AB is a mid, vivid purple. Relative luminance 0.168; OKLCH L 57.5% C 0.184 H 330.3°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).

Color values

HEX#B246AB
RGBrgb(178, 70, 171)
HSLhsl(304, 44%, 49%)
HSVhsv(304, 61%, 70%)
CMYKcmyk(0%, 60.7%, 3.9%, 30.2%)
CIE-LABlab(47.99, 56.48, -33.26)
CIE-LCHlch(47.99, 65.54, 329.51°)
OKLaboklab(57.54% 0.16 -0.0913)
OKLCHoklch(57.54% 0.184 330.3)
XYZxyz(27.9008, 16.7875, 40.2910)
Luminance0.1679 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246AB #46B24D
analogous
#8346B2 #B246AB #B24675
triadic
#B246AB #ABB246 #46ABB2
tetradic
#B246AB #B28346 #46B24D #4675B2
square
#B246AB #B28346 #46B24D #4675B2
split-complementary
#B246AB #75B246 #46B283
monochromatic
#5A2357 #863581 #B246AB #C66FC1 #D89BD4

Accessibility & contrast

On white

4.82
#B246AB on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.36
#B246AB on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B246AB
4.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246AB#FFFFFF#000000##FFFFFF
##B246AB1.004.824.364.82
#FFFFFF4.821.0021.001.00
#0000004.3621.001.0021.00
##FFFFFF4.821.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E68AE
Deuteranopia (green-blind)
#6277A8
Tritanopia (blue-blind)
#B85172
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b246ab;
/* rgb */ color: rgb(178, 70, 171);
/* oklch */ color: oklch(57.5% 0.184 330.3);
Tailwind
colors: {
  custom: {
    50: '#cc80c4',
    500: '#b246ab',
    950: '#000000',
  },
}
SCSS
$custom: #b246ab;
$custom-light: #cc80c4;
$custom-dark: #000000;
JSON
{
  "hex": "#b246ab",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 171
  },
  "hsl": {
    "h": 303.889,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57543,
    "c": 0.18419,
    "h": 330.3
  },
  "luminance": 0.16786
}

Semantic roles & 50–950 ramp

primary
#B246AB
secondary
#90C493
accent
#D35D55
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B246AB

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

Preview Lab → · Contrast checker → · Palette generator →

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