#B246C5#B246C5

#B246C5 is a mid, highly saturated purple. Relative luminance 0.179; OKLCH L 59.0% C 0.207 H 321.4°. Best body text is #FFFFFF at 4.59:1 contrast (WCAG AA passes).

Color values

HEX#B246C5
RGBrgb(178, 70, 197)
HSLhsl(291, 52%, 52%)
HSVhsv(291, 64%, 77%)
CMYKcmyk(9.6%, 64.5%, 0%, 22.7%)
CIE-LABlab(49.35, 61.12, -46.27)
CIE-LCHlch(49.35, 76.66, 322.87°)
OKLaboklab(58.97% 0.1614 -0.129)
OKLCHoklch(58.97% 0.207 321.4)
XYZxyz(30.6272, 17.8781, 54.6501)
Luminance0.1788 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246C5 #59C546
analogous
#7346C5 #B246C5 #C54698
triadic
#B246C5 #C5B246 #46C5B2
tetradic
#B246C5 #C57346 #59C546 #4698C5
square
#B246C5 #C57346 #59C546 #4698C5
split-complementary
#B246C5 #98C546 #46C573
monochromatic
#63236E #8D319D #B246C5 #C575D4 #D9A3E2

Accessibility & contrast

On white

4.59
#B246C5 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.58
#B246C5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B246C5
4.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246C5#FFFFFF#000000##FFFFFF
##B246C51.004.594.584.59
#FFFFFF4.591.0021.001.00
#0000004.5821.001.0021.00
##FFFFFF4.591.0021.001.00

Color blindness preview

Protanopia (red-blind)
#246EC9
Deuteranopia (green-blind)
#5479C2
Tritanopia (blue-blind)
#B45B80
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b246c5;
/* rgb */ color: rgb(178, 70, 197);
/* oklch */ color: oklch(59.0% 0.207 321.4);
Tailwind
colors: {
  custom: {
    50: '#cc81d7',
    500: '#b246c5',
    950: '#000000',
  },
}
SCSS
$custom: #b246c5;
$custom-light: #cc81d7;
$custom-dark: #000000;
JSON
{
  "hex": "#b246c5",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 197
  },
  "hsl": {
    "h": 291.024,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.58967,
    "c": 0.20667,
    "h": 321.4
  },
  "luminance": 0.17877
}

Semantic roles & 50–950 ramp

primary
#B246C5
secondary
#A0CF98
accent
#DC4C62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B246C5

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

Preview Lab → · Contrast checker → · Palette generator →

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