#B051DB#B051DB

#B051DB is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.3% C 0.212 H 313.6°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B051DB
RGBrgb(176, 81, 219)
HSLhsl(281, 66%, 59%)
HSVhsv(281, 63%, 86%)
CMYKcmyk(19.6%, 63%, 0%, 14.1%)
CIE-LABlab(52.10, 60.13, -54.49)
CIE-LCHlch(52.10, 81.15, 317.81°)
OKLaboklab(61.3% 0.1461 -0.1532)
OKLCHoklch(61.3% 0.212 313.6)
XYZxyz(33.6309, 20.2304, 69.1374)
Luminance0.2023 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B051DB #7CDB51
analogous
#6B51DB #B051DB #DB51C1
triadic
#B051DB #DBB051 #51DBB0
tetradic
#B051DB #DB6B51 #7CDB51 #51C1DB
square
#B051DB #DB6B51 #7CDB51 #51C1DB
split-complementary
#B051DB #C1DB51 #51DB6B
monochromatic
#6F1E93 #9529C6 #B051DB #C784E5 #DEB6F0

Accessibility & contrast

On white

4.16
#B051DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B051DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B051DB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B051DB#FFFFFF#000000##000000
##B051DB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1577DF
Deuteranopia (green-blind)
#4A7FD8
Tritanopia (blue-blind)
#AC6B8F
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b051db;
/* rgb */ color: rgb(176, 81, 219);
/* oklch */ color: oklch(61.3% 0.212 313.6);
Tailwind
colors: {
  custom: {
    50: '#cb87e7',
    500: '#b051db',
    950: '#000000',
  },
}
SCSS
$custom: #b051db;
$custom-light: #cb87e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b051db",
  "rgb": {
    "r": 176,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 281.304,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61303,
    "c": 0.21167,
    "h": 313.6
  },
  "luminance": 0.20229
}

Semantic roles & 50–950 ramp

primary
#B051DB
secondary
#BADFA9
accent
#E93F74
background
#FCF8FE
surface
#F9F0FC
border
#D2CBD5
text
#140C16
muted
#827D84

Preview Lab

Preview with #B051DB

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

Preview Lab → · Contrast checker → · Palette generator →

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