#B151D6#B151D6

#B151D6 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.1% C 0.207 H 315.4°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B151D6
RGBrgb(177, 81, 214)
HSLhsl(283, 62%, 58%)
HSVhsv(283, 62%, 84%)
CMYKcmyk(17.3%, 62.1%, 0%, 16.1%)
CIE-LABlab(51.94, 59.33, -51.90)
CIE-LCHlch(51.94, 78.83, 318.82°)
OKLaboklab(61.12% 0.1474 -0.1456)
OKLCHoklch(61.12% 0.207 315.4)
XYZxyz(33.2096, 20.0881, 65.7333)
Luminance0.2009 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151D6 #76D651
analogous
#6E51D6 #B151D6 #D651B9
triadic
#B151D6 #D6B151 #51D6B1
tetradic
#B151D6 #D66E51 #76D651 #51B9D6
square
#B151D6 #D66E51 #76D651 #51B9D6
split-complementary
#B151D6 #B9D651 #51D66E
monochromatic
#6E218C #952DBD #B151D6 #C783E2 #DDB4ED

Accessibility & contrast

On white

4.19
#B151D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B151D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151D6
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151D6#FFFFFF#000000##000000
##B151D61.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2276DA
Deuteranopia (green-blind)
#4F7ED3
Tritanopia (blue-blind)
#AE698C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b151d6;
/* rgb */ color: rgb(177, 81, 214);
/* oklch */ color: oklch(61.1% 0.207 315.4);
Tailwind
colors: {
  custom: {
    50: '#cc87e3',
    500: '#b151d6',
    950: '#000000',
  },
}
SCSS
$custom: #b151d6;
$custom-light: #cc87e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b151d6",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 283.308,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61122,
    "c": 0.20715,
    "h": 315.4
  },
  "luminance": 0.20087
}

Semantic roles & 50–950 ramp

primary
#B151D6
secondary
#B6DCA7
accent
#E54370
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C15
muted
#827D84

Preview Lab

Preview with #B151D6

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

Preview Lab → · Contrast checker → · Palette generator →

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