#B147E4#B147E4

#B147E4 is a mid, highly saturated purple. Relative luminance 0.195; OKLCH L 60.9% C 0.233 H 312.5°. Best body text is #000000 at 4.89:1 contrast (WCAG AA passes).

Color values

HEX#B147E4
RGBrgb(177, 71, 228)
HSLhsl(281, 74%, 59%)
HSVhsv(281, 69%, 89%)
CMYKcmyk(22.4%, 68.9%, 0%, 10.6%)
CIE-LABlab(51.22, 66.55, -61.00)
CIE-LCHlch(51.22, 90.27, 317.49°)
OKLaboklab(60.88% 0.1576 -0.1722)
OKLCHoklch(60.88% 0.233 312.5)
XYZxyz(34.3858, 19.4560, 75.3278)
Luminance0.1946 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147E4 #7AE447
analogous
#6247E4 #B147E4 #E447C8
triadic
#B147E4 #E4B147 #47E4B1
tetradic
#B147E4 #E46247 #7AE447 #47C8E4
square
#B147E4 #E46247 #7AE447 #47C8E4
split-complementary
#B147E4 #C8E447 #47E462
monochromatic
#6F179A #961ECF #B147E4 #C87CEC #DEB2F4

Accessibility & contrast

On white

4.29
#B147E4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.89
#B147E4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147E4
4.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147E4#FFFFFF#000000##000000
##B147E41.004.294.894.89
#FFFFFF4.291.0021.0021.00
#0000004.8921.001.001.00
##0000004.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#0075E9
Deuteranopia (green-blind)
#377CE1
Tritanopia (blue-blind)
#AB6891
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b147e4;
/* rgb */ color: rgb(177, 71, 228);
/* oklch */ color: oklch(60.9% 0.233 312.5);
Tailwind
colors: {
  custom: {
    50: '#cd82ed',
    500: '#b147e4',
    950: '#000000',
  },
}
SCSS
$custom: #b147e4;
$custom-light: #cd82ed;
$custom-dark: #000000;
JSON
{
  "hex": "#b147e4",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 228
  },
  "hsl": {
    "h": 280.51,
    "s": 74.408,
    "l": 58.627
  },
  "oklch": {
    "l": 0.60876,
    "c": 0.23343,
    "h": 312.5
  },
  "luminance": 0.19455
}

Semantic roles & 50–950 ramp

primary
#B147E4
secondary
#B9E2A4
accent
#F13773
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B147E4

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

Preview Lab → · Contrast checker → · Palette generator →

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