#B046C2#B046C2

#B046C2 is a mid, highly saturated purple. Relative luminance 0.175; OKLCH L 58.5% C 0.203 H 321.6°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).

Color values

HEX#B046C2
RGBrgb(176, 70, 194)
HSLhsl(291, 50%, 52%)
HSVhsv(291, 64%, 76%)
CMYKcmyk(9.3%, 63.9%, 0%, 23.9%)
CIE-LABlab(48.89, 60.08, -45.28)
CIE-LCHlch(48.89, 75.24, 323.00°)
OKLaboklab(58.53% 0.1591 -0.1262)
OKLCHoklch(58.53% 0.203 321.6)
XYZxyz(29.8312, 17.5070, 52.8363)
Luminance0.1751 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B046C2 #58C246
analogous
#7246C2 #B046C2 #C24696
triadic
#B046C2 #C2B046 #46C2B0
tetradic
#B046C2 #C27246 #58C246 #4696C2
square
#B046C2 #C27246 #58C246 #4696C2
split-complementary
#B046C2 #96C246 #46C272
monochromatic
#60236A #8A3299 #B046C2 #C474D1 #D7A2E0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B046C2#FFFFFF#000000##FFFFFF
##B046C21.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)
#276CC6
Deuteranopia (green-blind)
#5478BF
Tritanopia (blue-blind)
#B25A7E
Achromatopsia (no color)
#747474

Design tokens & code

CSS
--color: #b046c2;
/* rgb */ color: rgb(176, 70, 194);
/* oklch */ color: oklch(58.5% 0.203 321.6);
Tailwind
colors: {
  custom: {
    50: '#cb81d5',
    500: '#b046c2',
    950: '#000000',
  },
}
SCSS
$custom: #b046c2;
$custom-light: #cb81d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b046c2",
  "rgb": {
    "r": 176,
    "g": 70,
    "b": 194
  },
  "hsl": {
    "h": 291.29,
    "s": 50.407,
    "l": 51.765
  },
  "oklch": {
    "l": 0.58526,
    "c": 0.20305,
    "h": 321.6
  },
  "luminance": 0.17505
}

Semantic roles & 50–950 ramp

primary
#B046C2
secondary
#9FCD97
accent
#DA4E62
background
#FCF8FD
surface
#F9EFFA
border
#D2CAD3
text
#140B14
muted
#827C83

Preview Lab

Preview with #B046C2

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

Preview Lab → · Contrast checker → · Palette generator →

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