#B146DC#B146DC

#B146DC is a mid, highly saturated purple. Relative luminance 0.189; OKLCH L 60.2% C 0.227 H 314.5°. Best body text is #000000 at 4.78:1 contrast (WCAG AA passes).

Color values

HEX#B146DC
RGBrgb(177, 70, 220)
HSLhsl(283, 68%, 57%)
HSVhsv(283, 68%, 86%)
CMYKcmyk(19.5%, 68.2%, 0%, 13.7%)
CIE-LABlab(50.57, 65.34, -57.51)
CIE-LCHlch(50.57, 87.05, 318.65°)
OKLaboklab(60.25% 0.1594 -0.1619)
OKLCHoklch(60.25% 0.227 314.5)
XYZxyz(33.2377, 18.8959, 69.5927)
Luminance0.1890 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146DC #71DC46
analogous
#6646DC #B146DC #DC46BC
triadic
#B146DC #DCB146 #46DCB1
tetradic
#B146DC #DC6646 #71DC46 #46BCDC
square
#B146DC #DC6646 #71DC46 #46BCDC
split-complementary
#B146DC #BCDC46 #46DC66
monochromatic
#6C1B8D #9424C0 #B146DC #C779E6 #DCADEF

Accessibility & contrast

On white

4.39
#B146DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.78
#B146DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B146DC
4.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146DC#FFFFFF#000000##000000
##B146DC1.004.394.784.78
#FFFFFF4.391.0021.0021.00
#0000004.7821.001.001.00
##0000004.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0072E0
Deuteranopia (green-blind)
#407BD9
Tritanopia (blue-blind)
#AD648C
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #b146dc;
/* rgb */ color: rgb(177, 70, 220);
/* oklch */ color: oklch(60.2% 0.227 314.5);
Tailwind
colors: {
  custom: {
    50: '#cc82e8',
    500: '#b146dc',
    950: '#000000',
  },
}
SCSS
$custom: #b146dc;
$custom-light: #cc82e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b146dc",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 220
  },
  "hsl": {
    "h": 282.8,
    "s": 68.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.60249,
    "c": 0.22721,
    "h": 314.5
  },
  "luminance": 0.18895
}

Semantic roles & 50–950 ramp

primary
#B146DC
secondary
#B2DDA0
accent
#EB3D6F
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B146DC

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

Preview Lab → · Contrast checker → · Palette generator →

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