#B151DD#B151DD

#B151DD is a mid, highly saturated purple. Relative luminance 0.205; OKLCH L 61.5% C 0.214 H 313.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B151DD
RGBrgb(177, 81, 221)
HSLhsl(281, 67%, 59%)
HSVhsv(281, 63%, 87%)
CMYKcmyk(19.9%, 63.3%, 0%, 13.3%)
CIE-LABlab(52.35, 60.77, -55.22)
CIE-LCHlch(52.35, 82.11, 317.74°)
OKLaboklab(61.55% 0.1473 -0.1553)
OKLCHoklch(61.55% 0.214 313.5)
XYZxyz(34.1228, 20.4534, 70.5430)
Luminance0.2045 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B151DD #7DDD51
analogous
#6B51DD #B151DD #DD51C3
triadic
#B151DD #DDB151 #51DDB1
tetradic
#B151DD #DD6B51 #7DDD51 #51C3DD
square
#B151DD #DD6B51 #7DDD51 #51C3DD
split-complementary
#B151DD #C3DD51 #51DD6B
monochromatic
#701D96 #9727C9 #B151DD #C884E7 #DFB7F1

Accessibility & contrast

On white

4.13
#B151DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B151DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B151DD
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B151DD#FFFFFF#000000##000000
##B151DD1.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#1178E1
Deuteranopia (green-blind)
#497FDA
Tritanopia (blue-blind)
#AD6C90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b151dd;
/* rgb */ color: rgb(177, 81, 221);
/* oklch */ color: oklch(61.5% 0.214 313.5);
Tailwind
colors: {
  custom: {
    50: '#cc88e8',
    500: '#b151dd',
    950: '#000000',
  },
}
SCSS
$custom: #b151dd;
$custom-light: #cc88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b151dd",
  "rgb": {
    "r": 177,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 281.143,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61549,
    "c": 0.214,
    "h": 313.5
  },
  "luminance": 0.20452
}

Semantic roles & 50–950 ramp

primary
#B151DD
secondary
#BBE0AA
accent
#EA3E74
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B151DD

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

Preview Lab → · Contrast checker → · Palette generator →

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