#B246B2#B246B2

#B246B2 is a mid, vivid purple. Relative luminance 0.171; OKLCH L 57.9% C 0.190 H 327.7°. Best body text is #FFFFFF at 4.76:1 contrast (WCAG AA passes).

Color values

HEX#B246B2
RGBrgb(178, 70, 178)
HSLhsl(300, 44%, 49%)
HSVhsv(300, 61%, 70%)
CMYKcmyk(0%, 60.7%, 0%, 30.2%)
CIE-LABlab(48.34, 57.68, -36.82)
CIE-LCHlch(48.34, 68.43, 327.45°)
OKLaboklab(57.91% 0.1606 -0.1016)
OKLCHoklch(57.91% 0.19 327.7)
XYZxyz(28.5857, 17.0615, 43.8984)
Luminance0.1706 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B246B2 #46B246
analogous
#7C46B2 #B246B2 #B2467C
triadic
#B246B2 #B2B246 #46B2B2
tetradic
#B246B2 #B27C46 #46B246 #467CB2
square
#B246B2 #B27C46 #46B246 #467CB2
split-complementary
#B246B2 #7CB246 #46B27C
monochromatic
#5A235A #863586 #B246B2 #C66FC6 #D89BD8

Accessibility & contrast

On white

4.76
#B246B2 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.41
#B246B2 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B246B2
4.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B246B2#FFFFFF#000000##FFFFFF
##B246B21.004.764.414.76
#FFFFFF4.761.0021.001.00
#0000004.4121.001.0021.00
##FFFFFF4.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#396AB5
Deuteranopia (green-blind)
#5F78AF
Tritanopia (blue-blind)
#B75476
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #b246b2;
/* rgb */ color: rgb(178, 70, 178);
/* oklch */ color: oklch(57.9% 0.190 327.7);
Tailwind
colors: {
  custom: {
    50: '#cc80c9',
    500: '#b246b2',
    950: '#000000',
  },
}
SCSS
$custom: #b246b2;
$custom-light: #cc80c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b246b2",
  "rgb": {
    "r": 178,
    "g": 70,
    "b": 178
  },
  "hsl": {
    "h": 300,
    "s": 43.548,
    "l": 48.627
  },
  "oklch": {
    "l": 0.57908,
    "c": 0.19006,
    "h": 327.7
  },
  "luminance": 0.1706
}

Semantic roles & 50–950 ramp

primary
#B246B2
secondary
#90C490
accent
#D35555
background
#FCF8FC
surface
#F9EFF8
border
#D2CAD1
text
#140B13
muted
#827C82

Preview Lab

Preview with #B246B2

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

Preview Lab → · Contrast checker → · Palette generator →

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