#B147E5#B147E5

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

Color values

HEX#B147E5
RGBrgb(177, 71, 229)
HSLhsl(280, 75%, 59%)
HSVhsv(280, 69%, 90%)
CMYKcmyk(22.7%, 69%, 0%, 10.2%)
CIE-LABlab(51.28, 66.75, -61.46)
CIE-LCHlch(51.28, 90.73, 317.36°)
OKLaboklab(60.94% 0.1575 -0.1735)
OKLCHoklch(60.94% 0.234 312.2)
XYZxyz(34.5250, 19.5117, 76.0610)
Luminance0.1951 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147E5 #7BE547
analogous
#6247E5 #B147E5 #E547CA
triadic
#B147E5 #E5B147 #47E5B1
tetradic
#B147E5 #E56247 #7BE547 #47CAE5
square
#B147E5 #E56247 #7BE547 #47CAE5
split-complementary
#B147E5 #CAE547 #47E562
monochromatic
#70169C #961ED1 #B147E5 #C87DED #DEB2F4

Accessibility & contrast

On white

4.28
#B147E5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.90
#B147E5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147E5
4.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147E5#FFFFFF#000000##000000
##B147E51.004.284.904.90
#FFFFFF4.281.0021.0021.00
#0000004.9021.001.001.00
##0000004.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b147e5;
/* rgb */ color: rgb(177, 71, 229);
/* oklch */ color: oklch(60.9% 0.234 312.2);
Tailwind
colors: {
  custom: {
    50: '#cd82ee',
    500: '#b147e5',
    950: '#000000',
  },
}
SCSS
$custom: #b147e5;
$custom-light: #cd82ee;
$custom-dark: #000000;
JSON
{
  "hex": "#b147e5",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 229
  },
  "hsl": {
    "h": 280.253,
    "s": 75.238,
    "l": 58.824
  },
  "oklch": {
    "l": 0.60942,
    "c": 0.23436,
    "h": 312.2
  },
  "luminance": 0.19511
}

Semantic roles & 50–950 ramp

primary
#B147E5
secondary
#B9E3A5
accent
#F23674
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B16
muted
#837C84

Preview Lab

Preview with #B147E5

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

Preview Lab → · Contrast checker → · Palette generator →

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