#B146E2#B146E2

#B146E2 is a mid, highly saturated purple. Relative luminance 0.192; OKLCH L 60.6% C 0.233 H 313.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B146E2
RGBrgb(177, 70, 226)
HSLhsl(281, 73%, 58%)
HSVhsv(281, 69%, 89%)
CMYKcmyk(21.7%, 69%, 0%, 11.4%)
CIE-LABlab(50.94, 66.55, -60.31)
CIE-LCHlch(50.94, 89.81, 317.82°)
OKLaboklab(60.64% 0.1589 -0.1701)
OKLCHoklch(60.64% 0.233 313)
XYZxyz(34.0467, 19.2194, 73.8530)
Luminance0.1922 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146E2 #77E246
analogous
#6346E2 #B146E2 #E246C5
triadic
#B146E2 #E2B146 #46E2B1
tetradic
#B146E2 #E26346 #77E246 #46C5E2
square
#B146E2 #E26346 #77E246 #46C5E2
split-complementary
#B146E2 #C5E246 #46E263
monochromatic
#6E1896 #9520CB #B146E2 #C77BEA #DEB0F3

Accessibility & contrast

On white

4.34
#B146E2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.84
#B146E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B146E2
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146E2#FFFFFF#000000##000000
##B146E21.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#397CDF
Tritanopia (blue-blind)
#AC678F
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b146e2;
/* rgb */ color: rgb(177, 70, 226);
/* oklch */ color: oklch(60.6% 0.233 313.0);
Tailwind
colors: {
  custom: {
    50: '#cd82ec',
    500: '#b146e2',
    950: '#000000',
  },
}
SCSS
$custom: #b146e2;
$custom-light: #cd82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b146e2",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 226
  },
  "hsl": {
    "h": 281.154,
    "s": 72.897,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6064,
    "c": 0.23277,
    "h": 313
  },
  "luminance": 0.19218
}

Semantic roles & 50–950 ramp

primary
#B146E2
secondary
#B6E1A3
accent
#F03872
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B146E2

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

Preview Lab → · Contrast checker → · Palette generator →

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