#B246AF#B246AF

#B246AF is a mid, vivid purple. Relative luminance 0.169; OKLCH L 57.8% C 0.188 H 328.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).

Color values

HEX#B246AF
RGBrgb(178, 70, 175)
HSLhsl(302, 44%, 49%)
HSVhsv(302, 61%, 70%)
CMYKcmyk(0%, 60.7%, 1.7%, 30.2%)
CIE-LABlab(48.19, 57.16, -35.30)
CIE-LCHlch(48.19, 67.18, 328.30°)
OKLaboklab(57.75% 0.1604 -0.0972)
OKLCHoklch(57.75% 0.188 328.8)
XYZxyz(28.2878, 16.9423, 42.3294)
Luminance0.1694 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246AF #46B249
analogous
#7F46B2 #B246AF #B24679
triadic
#B246AF #AFB246 #46AFB2
tetradic
#B246AF #B27F46 #46B249 #4679B2
square
#B246AF #B27F46 #46B249 #4679B2
split-complementary
#B246AF #79B246 #46B27F
monochromatic
#5A2359 #863584 #B246AF #C66FC4 #D89BD6

Accessibility & contrast

On white

4.79
#B246AF on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.39
#B246AF on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B246AF
4.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246AF#FFFFFF#000000##FFFFFF
##B246AF1.004.794.394.79
#FFFFFF4.791.0021.001.00
#0000004.3921.001.0021.00
##FFFFFF4.791.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B69B2
Deuteranopia (green-blind)
#6178AC
Tritanopia (blue-blind)
#B85274
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #b246af;
/* rgb */ color: rgb(178, 70, 175);
/* oklch */ color: oklch(57.8% 0.188 328.8);
Tailwind
colors: {
  custom: {
    50: '#cc80c7',
    500: '#b246af',
    950: '#000000',
  },
}
SCSS
$custom: #b246af;
$custom-light: #cc80c7;
$custom-dark: #000000;
JSON
{
  "hex": "#b246af",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 175
  },
  "hsl": {
    "h": 301.667,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.5775,
    "c": 0.18753,
    "h": 328.8
  },
  "luminance": 0.1694
}

Semantic roles & 50–950 ramp

primary
#B246AF
secondary
#90C491
accent
#D35855
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B246AF

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

Preview Lab → · Contrast checker → · Palette generator →

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