#B246C2#B246C2

#B246C2 is a mid, highly saturated purple. Relative luminance 0.177; OKLCH L 58.8% C 0.204 H 322.3°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).

Color values

HEX#B246C2
RGBrgb(178, 70, 194)
HSLhsl(292, 50%, 52%)
HSVhsv(292, 64%, 76%)
CMYKcmyk(8.2%, 63.9%, 0%, 23.9%)
CIE-LABlab(49.18, 60.56, -44.80)
CIE-LCHlch(49.18, 75.33, 323.50°)
OKLaboklab(58.79% 0.1614 -0.1247)
OKLCHoklch(58.79% 0.204 322.3)
XYZxyz(30.2869, 17.7419, 52.8577)
Luminance0.1774 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246C2 #56C246
analogous
#7446C2 #B246C2 #C24694
triadic
#B246C2 #C2B246 #46C2B2
tetradic
#B246C2 #C27446 #56C246 #4694C2
square
#B246C2 #C27446 #56C246 #4694C2
split-complementary
#B246C2 #94C246 #46C274
monochromatic
#61236A #8B3299 #B246C2 #C574D1 #D8A2E0

Accessibility & contrast

On white

4.62
#B246C2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.55
#B246C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#FFFFFF on #B246C2
4.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246C2#FFFFFF#000000##FFFFFF
##B246C21.004.624.554.62
#FFFFFF4.621.0021.001.00
#0000004.5521.001.0021.00
##FFFFFF4.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#296DC6
Deuteranopia (green-blind)
#5679BF
Tritanopia (blue-blind)
#B45A7E
Achromatopsia (no color)
#757575

Design tokens & code

CSS
--color: #b246c2;
/* rgb */ color: rgb(178, 70, 194);
/* oklch */ color: oklch(58.8% 0.204 322.3);
Tailwind
colors: {
  custom: {
    50: '#cc81d5',
    500: '#b246c2',
    950: '#000000',
  },
}
SCSS
$custom: #b246c2;
$custom-light: #cc81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b246c2",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 292.258,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58794,
    "c": 0.20399,
    "h": 322.3
  },
  "luminance": 0.1774
}

Semantic roles & 50–950 ramp

primary
#B246C2
secondary
#9ECD97
accent
#DA4E60
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B246C2

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

Preview Lab → · Contrast checker → · Palette generator →

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