#B751DC#B751DC

#B751DC is a light, highly saturated purple. Relative luminance 0.211; OKLCH L 62.2% C 0.215 H 315.9°. Best body text is #000000 at 5.22:1 contrast (WCAG AA passes).

Color values

HEX#B751DC
RGBrgb(183, 81, 220)
HSLhsl(284, 67%, 59%)
HSVhsv(284, 63%, 86%)
CMYKcmyk(16.8%, 63.2%, 0%, 13.7%)
CIE-LABlab(53.08, 61.93, -53.43)
CIE-LCHlch(53.08, 81.80, 319.21°)
OKLaboklab(62.23% 0.1546 -0.1499)
OKLCHoklch(62.23% 0.215 315.9)
XYZxyz(35.3871, 21.1207, 69.9089)
Luminance0.2112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751DC #76DC51
analogous
#7251DC #B751DC #DC51BC
triadic
#B751DC #DCB751 #51DCB7
tetradic
#B751DC #DC7251 #76DC51 #51BCDC
square
#B751DC #DC7251 #76DC51 #51BCDC
split-complementary
#B751DC #BCDC51 #51DC72
monochromatic
#751E95 #9D28C8 #B751DC #CC84E6 #E1B7F0

Accessibility & contrast

On white

4.02
#B751DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.22
#B751DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751DC
5.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751DC#FFFFFF#000000##000000
##B751DC1.004.025.225.22
#FFFFFF4.021.0021.0021.00
#0000005.2221.001.001.00
##0000005.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1D79E0
Deuteranopia (green-blind)
#5182D9
Tritanopia (blue-blind)
#B56A8F
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #b751dc;
/* rgb */ color: rgb(183, 81, 220);
/* oklch */ color: oklch(62.2% 0.215 315.9);
Tailwind
colors: {
  custom: {
    50: '#d088e7',
    500: '#b751dc',
    950: '#000000',
  },
}
SCSS
$custom: #b751dc;
$custom-light: #d088e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b751dc",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 284.029,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.62228,
    "c": 0.2153,
    "h": 315.9
  },
  "luminance": 0.21119
}

Semantic roles & 50–950 ramp

primary
#B751DC
secondary
#B8E0A9
accent
#E93E6C
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B751DC

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

Preview Lab → · Contrast checker → · Palette generator →

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