#B146D2#B146D2

#B146D2 is a mid, highly saturated purple. Relative luminance 0.184; OKLCH L 59.6% C 0.218 H 317.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).

Color values

HEX#B146D2
RGBrgb(177, 70, 210)
HSLhsl(286, 61%, 55%)
HSVhsv(286, 67%, 82%)
CMYKcmyk(15.7%, 66.7%, 0%, 17.6%)
CIE-LABlab(49.96, 63.37, -52.79)
CIE-LCHlch(49.96, 82.48, 320.21°)
OKLaboklab(59.62% 0.16 -0.1481)
OKLCHoklch(59.62% 0.218 317.2)
XYZxyz(31.9528, 18.3819, 62.8252)
Luminance0.1838 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146D2 #67D246
analogous
#6B46D2 #B146D2 #D246AD
triadic
#B146D2 #D2B146 #46D2B1
tetradic
#B146D2 #D26B46 #67D246 #46ADD2
square
#B146D2 #D26B46 #67D246 #46ADD2
split-complementary
#B146D2 #ADD246 #46D26B
monochromatic
#681F7F #912BB0 #B146D2 #C677DE #DBA8EA

Accessibility & contrast

On white

4.49
#B146D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.68
#B146D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B146D2
4.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146D2#FFFFFF#000000##000000
##B146D21.004.494.684.68
#FFFFFF4.491.0021.0021.00
#0000004.6821.001.001.00
##0000004.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0070D6
Deuteranopia (green-blind)
#497ACF
Tritanopia (blue-blind)
#B06086
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b146d2;
/* rgb */ color: rgb(177, 70, 210);
/* oklch */ color: oklch(59.6% 0.218 317.2);
Tailwind
colors: {
  custom: {
    50: '#cc81e0',
    500: '#b146d2',
    950: '#000000',
  },
}
SCSS
$custom: #b146d2;
$custom-light: #cc81e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b146d2",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 210
  },
  "hsl": {
    "h": 285.857,
    "s": 60.87,
    "l": 54.902
  },
  "oklch": {
    "l": 0.59618,
    "c": 0.21801,
    "h": 317.2
  },
  "luminance": 0.18381
}

Semantic roles & 50–950 ramp

primary
#B146D2
secondary
#AAD79C
accent
#E4446A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B146D2

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

Preview Lab → · Contrast checker → · Palette generator →

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