#B051DF#B051DF

#B051DF is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.6% C 0.216 H 312.6°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B051DF
RGBrgb(176, 81, 223)
HSLhsl(280, 69%, 60%)
HSVhsv(280, 64%, 87%)
CMYKcmyk(21.1%, 63.7%, 0%, 12.5%)
CIE-LABlab(52.34, 60.96, -56.38)
CIE-LCHlch(52.34, 83.03, 317.23°)
OKLaboklab(61.55% 0.146 -0.1587)
OKLCHoklch(61.55% 0.216 312.6)
XYZxyz(34.1638, 20.4436, 71.9441)
Luminance0.2044 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051DF #80DF51
analogous
#6951DF #B051DF #DF51C7
triadic
#B051DF #DFB051 #51DFB0
tetradic
#B051DF #DF6951 #80DF51 #51C7DF
square
#B051DF #DF6951 #80DF51 #51C7DF
split-complementary
#B051DF #C7DF51 #51DF69
monochromatic
#701C99 #9626CD #B051DF #C785E9 #DFB8F2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B051DF#FFFFFF#000000##000000
##B051DF1.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)
#0578E3
Deuteranopia (green-blind)
#467FDC
Tritanopia (blue-blind)
#AB6D91
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b051df;
/* rgb */ color: rgb(176, 81, 223);
/* oklch */ color: oklch(61.6% 0.216 312.6);
Tailwind
colors: {
  custom: {
    50: '#cb88ea',
    500: '#b051df',
    950: '#000000',
  },
}
SCSS
$custom: #b051df;
$custom-light: #cb88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b051df",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 280.141,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61552,
    "c": 0.21561,
    "h": 312.6
  },
  "luminance": 0.20443
}

Semantic roles & 50–950 ramp

primary
#B051DF
secondary
#BDE1AA
accent
#EC3C76
background
#FCF8FE
surface
#F9F0FD
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B051DF

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

Preview Lab → · Contrast checker → · Palette generator →

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