#B146E5#B146E5

#B146E5 is a mid, highly saturated purple. Relative luminance 0.194; OKLCH L 60.8% C 0.236 H 312.3°. Best body text is #000000 at 4.88:1 contrast (WCAG AA passes).

Color values

HEX#B146E5
RGBrgb(177, 70, 229)
HSLhsl(280, 75%, 59%)
HSVhsv(280, 69%, 90%)
CMYKcmyk(22.7%, 69.4%, 0%, 10.2%)
CIE-LABlab(51.14, 67.16, -61.69)
CIE-LCHlch(51.14, 91.19, 317.43°)
OKLaboklab(60.84% 0.1586 -0.1742)
OKLCHoklch(60.84% 0.236 312.3)
XYZxyz(34.4619, 19.3855, 76.0400)
Luminance0.1938 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B146E5 #7AE546
analogous
#6146E5 #B146E5 #E546CA
triadic
#B146E5 #E5B146 #46E5B1
tetradic
#B146E5 #E56146 #7AE546 #46CAE5
square
#B146E5 #E56146 #7AE546 #46CAE5
split-complementary
#B146E5 #CAE546 #46E561
monochromatic
#6F169B #961DD0 #B146E5 #C87CED #DEB1F4

Accessibility & contrast

On white

4.31
#B146E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.88
#B146E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B146E5
4.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B146E5#FFFFFF#000000##000000
##B146E51.004.314.884.88
#FFFFFF4.311.0021.0021.00
#0000004.8821.001.001.00
##0000004.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074EA
Deuteranopia (green-blind)
#357CE1
Tritanopia (blue-blind)
#AB6891
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b146e5;
/* rgb */ color: rgb(177, 70, 229);
/* oklch */ color: oklch(60.8% 0.236 312.3);
Tailwind
colors: {
  custom: {
    50: '#cd82ee',
    500: '#b146e5',
    950: '#000000',
  },
}
SCSS
$custom: #b146e5;
$custom-light: #cd82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b146e5",
  "rgb": {
    "r": 177,
    "g": 70,
    "b": 229
  },
  "hsl": {
    "h": 280.377,
    "s": 75.355,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60838,
    "c": 0.23555,
    "h": 312.3
  },
  "luminance": 0.19385
}

Semantic roles & 50–950 ramp

primary
#B146E5
secondary
#B9E3A4
accent
#F23673
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B146E5

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

Preview Lab → · Contrast checker → · Palette generator →

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