#B147E2#B147E2

#B147E2 is a mid, highly saturated purple. Relative luminance 0.193; OKLCH L 60.7% C 0.232 H 313.0°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B147E2
RGBrgb(177, 71, 226)
HSLhsl(281, 73%, 58%)
HSVhsv(281, 69%, 89%)
CMYKcmyk(21.7%, 68.6%, 0%, 11.4%)
CIE-LABlab(51.09, 66.14, -60.07)
CIE-LCHlch(51.09, 89.35, 317.75°)
OKLaboklab(60.74% 0.1578 -0.1694)
OKLCHoklch(60.74% 0.232 313)
XYZxyz(34.1097, 19.3456, 73.8740)
Luminance0.1935 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147E2 #78E247
analogous
#6347E2 #B147E2 #E247C6
triadic
#B147E2 #E2B147 #47E2B1
tetradic
#B147E2 #E26347 #78E247 #47C6E2
square
#B147E2 #E26347 #78E247 #47C6E2
split-complementary
#B147E2 #C6E247 #47E263
monochromatic
#6F1897 #9520CC #B147E2 #C77CEA #DEB1F3

Accessibility & contrast

On white

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

On black

4.87
#B147E2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147E2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147E2#FFFFFF#000000##000000
##B147E21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0074E7
Deuteranopia (green-blind)
#3A7CDF
Tritanopia (blue-blind)
#AC678F
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b147e2;
/* rgb */ color: rgb(177, 71, 226);
/* oklch */ color: oklch(60.7% 0.232 313.0);
Tailwind
colors: {
  custom: {
    50: '#cd82ec',
    500: '#b147e2',
    950: '#000000',
  },
}
SCSS
$custom: #b147e2;
$custom-light: #cd82ec;
$custom-dark: #000000;
JSON
{
  "hex": "#b147e2",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 226
  },
  "hsl": {
    "h": 281.032,
    "s": 72.77,
    "l": 58.235
  },
  "oklch": {
    "l": 0.60744,
    "c": 0.23157,
    "h": 313
  },
  "luminance": 0.19345
}

Semantic roles & 50–950 ramp

primary
#B147E2
secondary
#B7E1A4
accent
#EF3872
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B147E2

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

Preview Lab → · Contrast checker → · Palette generator →

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