#B151DF#B151DF

#B151DF is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.216 H 313.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B151DF
RGBrgb(177, 81, 223)
HSLhsl(281, 69%, 60%)
HSVhsv(281, 64%, 87%)
CMYKcmyk(20.6%, 63.7%, 0%, 12.5%)
CIE-LABlab(52.47, 61.18, -56.16)
CIE-LCHlch(52.47, 83.05, 317.45°)
OKLaboklab(61.67% 0.1472 -0.158)
OKLCHoklch(61.67% 0.216 313)
XYZxyz(34.3908, 20.5607, 71.9547)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151DF #7FDF51
analogous
#6A51DF #B151DF #DF51C6
triadic
#B151DF #DFB151 #51DFB1
tetradic
#B151DF #DF6A51 #7FDF51 #51C6DF
square
#B151DF #DF6A51 #7FDF51 #51C6DF
split-complementary
#B151DF #C6DF51 #51DF6A
monochromatic
#711C99 #9726CD #B151DF #C885E9 #DFB8F2

Accessibility & contrast

On white

4.11
#B151DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B151DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151DF
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151DF#FFFFFF#000000##000000
##B151DF1.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0878E3
Deuteranopia (green-blind)
#487FDC
Tritanopia (blue-blind)
#AC6C91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b151df;
/* rgb */ color: rgb(177, 81, 223);
/* oklch */ color: oklch(61.7% 0.216 313.0);
Tailwind
colors: {
  custom: {
    50: '#cc88ea',
    500: '#b151df',
    950: '#000000',
  },
}
SCSS
$custom: #b151df;
$custom-light: #cc88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b151df",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 280.563,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61674,
    "c": 0.21596,
    "h": 313
  },
  "luminance": 0.2056
}

Semantic roles & 50–950 ramp

primary
#B151DF
secondary
#BCE1AA
accent
#EC3C75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B151DF

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

Preview Lab → · Contrast checker → · Palette generator →

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