#B051DD#B051DD

#B051DD is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.4% C 0.214 H 313.1°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#B051DD
RGBrgb(176, 81, 221)
HSLhsl(281, 67%, 59%)
HSVhsv(281, 63%, 87%)
CMYKcmyk(20.4%, 63.3%, 0%, 13.3%)
CIE-LABlab(52.22, 60.54, -55.44)
CIE-LCHlch(52.22, 82.09, 317.52°)
OKLaboklab(61.43% 0.146 -0.1559)
OKLCHoklch(61.43% 0.214 313.1)
XYZxyz(33.8958, 20.3364, 70.5324)
Luminance0.2034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051DD #7EDD51
analogous
#6A51DD #B051DD #DD51C4
triadic
#B051DD #DDB051 #51DDB0
tetradic
#B051DD #DD6A51 #7EDD51 #51C4DD
square
#B051DD #DD6A51 #7EDD51 #51C4DD
split-complementary
#B051DD #C4DD51 #51DD6A
monochromatic
#6F1D96 #9527C9 #B051DD #C784E7 #DEB7F1

Accessibility & contrast

On white

4.14
#B051DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#B051DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B051DD
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B051DD#FFFFFF#000000##000000
##B051DD1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#0F78E1
Deuteranopia (green-blind)
#487FDA
Tritanopia (blue-blind)
#AB6C90
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b051dd;
/* rgb */ color: rgb(176, 81, 221);
/* oklch */ color: oklch(61.4% 0.214 313.1);
Tailwind
colors: {
  custom: {
    50: '#cb88e8',
    500: '#b051dd',
    950: '#000000',
  },
}
SCSS
$custom: #b051dd;
$custom-light: #cb88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b051dd",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 280.714,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61427,
    "c": 0.21364,
    "h": 313.1
  },
  "luminance": 0.20335
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B051DD

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

Preview Lab → · Contrast checker → · Palette generator →

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