#B147E8#B147E8

#B147E8 is a mid, highly saturated violet. Relative luminance 0.197; OKLCH L 61.1% C 0.237 H 311.5°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#B147E8
RGBrgb(177, 71, 232)
HSLhsl(280, 78%, 59%)
HSVhsv(280, 69%, 91%)
CMYKcmyk(23.7%, 69.4%, 0%, 9%)
CIE-LABlab(51.47, 67.37, -62.84)
CIE-LCHlch(51.47, 92.12, 316.99°)
OKLaboklab(61.14% 0.1572 -0.1776)
OKLCHoklch(61.14% 0.237 311.5)
XYZxyz(34.9475, 19.6807, 78.2861)
Luminance0.1968 (WCAG relative)
Temperaturecool
Familyviolet

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B147E8 #7EE847
analogous
#6147E8 #B147E8 #E847CF
triadic
#B147E8 #E8B147 #47E8B1
tetradic
#B147E8 #E86147 #7EE847 #47CFE8
square
#B147E8 #E86147 #7EE847 #47CFE8
split-complementary
#B147E8 #CFE847 #47E861
monochromatic
#7114A1 #971BD7 #B147E8 #C87DEF #DFB4F6

Accessibility & contrast

On white

4.25
#B147E8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#B147E8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B147E8
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B147E8#FFFFFF#000000##000000
##B147E81.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#0076ED
Deuteranopia (green-blind)
#327DE4
Tritanopia (blue-blind)
#AA6A93
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b147e8;
/* rgb */ color: rgb(177, 71, 232);
/* oklch */ color: oklch(61.1% 0.237 311.5);
Tailwind
colors: {
  custom: {
    50: '#cd83f0',
    500: '#b147e8',
    950: '#000000',
  },
}
SCSS
$custom: #b147e8;
$custom-light: #cd83f0;
$custom-dark: #000000;
JSON
{
  "hex": "#b147e8",
  "rgb": {
    "r": 177,
    "g": 71,
    "b": 232
  },
  "hsl": {
    "h": 279.503,
    "s": 77.778,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61142,
    "c": 0.23717,
    "h": 311.5
  },
  "luminance": 0.1968
}

Semantic roles & 50–950 ramp

primary
#B147E8
secondary
#BBE5A6
accent
#F43475
background
#FDF8FE
surface
#FAEFFD
border
#D3CAD5
text
#140B17
muted
#837C85

Preview Lab

Preview with #B147E8

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

Preview Lab → · Contrast checker → · Palette generator →

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