#B147D4#B147D4

#B147D4 is a mid, highly saturated purple. Relative luminance 0.186; OKLCH L 59.9% C 0.219 H 316.6°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).

Color values

HEX#B147D4
RGBrgb(177, 71, 212)
HSLhsl(285, 62%, 55%)
HSVhsv(285, 67%, 83%)
CMYKcmyk(16.5%, 66.5%, 0%, 16.9%)
CIE-LABlab(50.23, 63.34, -53.50)
CIE-LCHlch(50.23, 82.91, 319.82°)
OKLaboklab(59.85% 0.1588 -0.1502)
OKLCHoklch(59.85% 0.219 316.6)
XYZxyz(32.2666, 18.6083, 64.1667)
Luminance0.1861 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147D4 #6AD447
analogous
#6A47D4 #B147D4 #D447B1
triadic
#B147D4 #D4B147 #47D4B1
tetradic
#B147D4 #D46A47 #6AD447 #47B1D4
square
#B147D4 #D46A47 #6AD447 #47B1D4
split-complementary
#B147D4 #B1D447 #47D46A
monochromatic
#691E82 #922AB4 #B147D4 #C679E0 #DBAAEB

Accessibility & contrast

On white

4.45
#B147D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.72
#B147D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147D4
4.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147D4#FFFFFF#000000##000000
##B147D41.004.454.724.72
#FFFFFF4.451.0021.0021.00
#0000004.7221.001.001.00
##0000004.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#0071D8
Deuteranopia (green-blind)
#487BD1
Tritanopia (blue-blind)
#AF6288
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b147d4;
/* rgb */ color: rgb(177, 71, 212);
/* oklch */ color: oklch(59.9% 0.219 316.6);
Tailwind
colors: {
  custom: {
    50: '#cc82e2',
    500: '#b147d4',
    950: '#000000',
  },
}
SCSS
$custom: #b147d4;
$custom-light: #cc82e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b147d4",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 212
  },
  "hsl": {
    "h": 285.106,
    "s": 62.115,
    "l": 55.49
  },
  "oklch": {
    "l": 0.5985,
    "c": 0.21857,
    "h": 316.6
  },
  "luminance": 0.18607
}

Semantic roles & 50–950 ramp

primary
#B147D4
secondary
#ADD99E
accent
#E5436B
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B147D4

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

Preview Lab → · Contrast checker → · Palette generator →

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