#B051DC#B051DC

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

Color values

HEX#B051DC
RGBrgb(176, 81, 220)
HSLhsl(281, 67%, 59%)
HSVhsv(281, 63%, 86%)
CMYKcmyk(20%, 63.2%, 0%, 13.7%)
CIE-LABlab(52.16, 60.33, -54.97)
CIE-LCHlch(52.16, 81.62, 317.67°)
OKLaboklab(61.37% 0.1461 -0.1546)
OKLCHoklch(61.37% 0.213 313.4)
XYZxyz(33.7630, 20.2833, 69.8328)
Luminance0.2028 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051DC #7DDC51
analogous
#6B51DC #B051DC #DC51C3
triadic
#B051DC #DCB051 #51DCB0
tetradic
#B051DC #DC6B51 #7DDC51 #51C3DC
square
#B051DC #DC6B51 #7DDC51 #51C3DC
split-complementary
#B051DC #C3DC51 #51DC6B
monochromatic
#6F1E95 #9528C8 #B051DC #C784E6 #DEB7F0

Accessibility & contrast

On white

4.15
#B051DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.06
#B051DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B051DC
5.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B051DC#FFFFFF#000000##000000
##B051DC1.004.155.065.06
#FFFFFF4.151.0021.0021.00
#0000005.0621.001.001.00
##0000005.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#1277E0
Deuteranopia (green-blind)
#497FD9
Tritanopia (blue-blind)
#AC6B8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b051dc;
/* rgb */ color: rgb(176, 81, 220);
/* oklch */ color: oklch(61.4% 0.213 313.4);
Tailwind
colors: {
  custom: {
    50: '#cb88e7',
    500: '#b051dc',
    950: '#000000',
  },
}
SCSS
$custom: #b051dc;
$custom-light: #cb88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b051dc",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 281.007,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61365,
    "c": 0.21266,
    "h": 313.4
  },
  "luminance": 0.20282
}

Semantic roles & 50–950 ramp

primary
#B051DC
secondary
#BAE0A9
accent
#E93E75
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B051DC

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

Preview Lab → · Contrast checker → · Palette generator →

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