#B246BC#B246BC

#B246BC is a mid, vivid purple. Relative luminance 0.175; OKLCH L 58.5% C 0.199 H 324.2°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B246BC
RGBrgb(178, 70, 188)
HSLhsl(295, 47%, 51%)
HSVhsv(295, 63%, 74%)
CMYKcmyk(5.3%, 62.8%, 0%, 26.3%)
CIE-LABlab(48.86, 59.46, -41.84)
CIE-LCHlch(48.86, 72.70, 324.87°)
OKLaboklab(58.45% 0.1612 -0.1161)
OKLCHoklch(58.45% 0.199 324.2)
XYZxyz(29.6266, 17.4778, 49.3803)
Luminance0.1748 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246BC #50BC46
analogous
#7746BC #B246BC #BC468B
triadic
#B246BC #BCB246 #46BCB2
tetradic
#B246BC #BC7746 #50BC46 #468BBC
square
#B246BC #BC7746 #50BC46 #468BBC
split-complementary
#B246BC #8BBC46 #46BC77
monochromatic
#5E2464 #893490 #B246BC #C573CC #D7A0DD

Accessibility & contrast

On white

4.67
#B246BC on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.50
#B246BC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B246BC
4.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246BC#FFFFFF#000000##FFFFFF
##B246BC1.004.674.504.67
#FFFFFF4.671.0021.001.00
#0000004.5021.001.0021.00
##FFFFFF4.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#306CC0
Deuteranopia (green-blind)
#5A79B9
Tritanopia (blue-blind)
#B5577B
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b246bc;
/* rgb */ color: rgb(178, 70, 188);
/* oklch */ color: oklch(58.5% 0.199 324.2);
Tailwind
colors: {
  custom: {
    50: '#cc81d0',
    500: '#b246bc',
    950: '#000000',
  },
}
SCSS
$custom: #b246bc;
$custom-light: #cc81d0;
$custom-dark: #000000;
JSON
{
  "hex": "#b246bc",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 188
  },
  "hsl": {
    "h": 294.915,
    "s": 46.825,
    "l": 50.588
  },
  "oklch": {
    "l": 0.58453,
    "c": 0.1987,
    "h": 324.2
  },
  "luminance": 0.17476
}

Semantic roles & 50–950 ramp

primary
#B246BC
secondary
#99C995
accent
#D6515D
background
#FCF8FC
surface
#F9EFF9
border
#D2CAD2
text
#140B14
muted
#827C82

Preview Lab

Preview with #B246BC

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

Preview Lab → · Contrast checker → · Palette generator →

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