#B147D2#B147D2

#B147D2 is a mid, highly saturated purple. Relative luminance 0.185; OKLCH L 59.7% C 0.217 H 317.2°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).

Color values

HEX#B147D2
RGBrgb(177, 71, 210)
HSLhsl(286, 61%, 55%)
HSVhsv(286, 66%, 82%)
CMYKcmyk(15.7%, 66.2%, 0%, 17.6%)
CIE-LABlab(50.11, 62.95, -52.54)
CIE-LCHlch(50.11, 82.00, 320.15°)
OKLaboklab(59.73% 0.1589 -0.1474)
OKLCHoklch(59.73% 0.217 317.2)
XYZxyz(32.0159, 18.5080, 62.8462)
Luminance0.1851 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147D2 #68D247
analogous
#6B47D2 #B147D2 #D247AE
triadic
#B147D2 #D2B147 #47D2B1
tetradic
#B147D2 #D26B47 #68D247 #47AED2
square
#B147D2 #D26B47 #68D247 #47AED2
split-complementary
#B147D2 #AED247 #47D26B
monochromatic
#691F7F #912BB1 #B147D2 #C678DE #DBA9EA

Accessibility & contrast

On white

4.47
#B147D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.70
#B147D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147D2
4.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147D2#FFFFFF#000000##000000
##B147D21.004.474.704.70
#FFFFFF4.471.0021.0021.00
#0000004.7021.001.001.00
##0000004.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#0471D6
Deuteranopia (green-blind)
#4A7ACF
Tritanopia (blue-blind)
#B06187
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #b147d2;
/* rgb */ color: rgb(177, 71, 210);
/* oklch */ color: oklch(59.7% 0.217 317.2);
Tailwind
colors: {
  custom: {
    50: '#cc82e0',
    500: '#b147d2',
    950: '#000000',
  },
}
SCSS
$custom: #b147d2;
$custom-light: #cc82e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b147d2",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 210
  },
  "hsl": {
    "h": 285.755,
    "s": 60.699,
    "l": 55.098
  },
  "oklch": {
    "l": 0.59726,
    "c": 0.21674,
    "h": 317.2
  },
  "luminance": 0.18507
}

Semantic roles & 50–950 ramp

primary
#B147D2
secondary
#ABD89D
accent
#E4446A
background
#FCF8FD
surface
#F9EFFB
border
#D2CAD4
text
#140B15
muted
#827C83

Preview Lab

Preview with #B147D2

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

Preview Lab → · Contrast checker → · Palette generator →

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