#B246AA#B246AA

#B246AA is a mid, vivid purple. Relative luminance 0.167; OKLCH L 57.5% C 0.183 H 330.7°. Best body text is #FFFFFF at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B246AA
RGBrgb(178, 70, 170)
HSLhsl(304, 44%, 49%)
HSVhsv(304, 61%, 70%)
CMYKcmyk(0%, 60.7%, 4.5%, 30.2%)
CIE-LABlab(47.94, 56.31, -32.74)
CIE-LCHlch(47.94, 65.13, 329.82°)
OKLaboklab(57.49% 0.1599 -0.0898)
OKLCHoklch(57.49% 0.183 330.7)
XYZxyz(27.8058, 16.7495, 39.7909)
Luminance0.1675 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246AA #46B24E
analogous
#8446B2 #B246AA #B24674
triadic
#B246AA #AAB246 #46AAB2
tetradic
#B246AA #B28446 #46B24E #4674B2
square
#B246AA #B28446 #46B24E #4674B2
split-complementary
#B246AA #74B246 #46B284
monochromatic
#5A2356 #863580 #B246AA #C66FC0 #D89BD3

Accessibility & contrast

On white

4.83
#B246AA on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.35
#B246AA on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B246AA
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246AA#FFFFFF#000000##FFFFFF
##B246AA1.004.834.354.83
#FFFFFF4.831.0021.001.00
#0000004.3521.001.0021.00
##FFFFFF4.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F68AD
Deuteranopia (green-blind)
#6377A7
Tritanopia (blue-blind)
#B95171
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b246aa;
/* rgb */ color: rgb(178, 70, 170);
/* oklch */ color: oklch(57.5% 0.183 330.7);
Tailwind
colors: {
  custom: {
    50: '#cc80c3',
    500: '#b246aa',
    950: '#000000',
  },
}
SCSS
$custom: #b246aa;
$custom-light: #cc80c3;
$custom-dark: #000000;
JSON
{
  "hex": "#b246aa",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 170
  },
  "hsl": {
    "h": 304.444,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57492,
    "c": 0.18337,
    "h": 330.7
  },
  "luminance": 0.16748
}

Semantic roles & 50–950 ramp

primary
#B246AA
secondary
#90C494
accent
#D35E55
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B12
muted
#827C81

Preview Lab

Preview with #B246AA

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

Preview Lab → · Contrast checker → · Palette generator →

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