#B751D8#B751D8

#B751D8 is a mid, highly saturated purple. Relative luminance 0.209; OKLCH L 62.0% C 0.211 H 317.0°. Best body text is #000000 at 5.18:1 contrast (WCAG AA passes).

Color values

HEX#B751D8
RGBrgb(183, 81, 216)
HSLhsl(285, 63%, 58%)
HSVhsv(285, 63%, 85%)
CMYKcmyk(15.3%, 62.5%, 0%, 15.3%)
CIE-LABlab(52.85, 61.14, -51.53)
CIE-LCHlch(52.85, 79.96, 319.87°)
OKLaboklab(61.99% 0.1546 -0.1443)
OKLCHoklch(61.99% 0.211 317)
XYZxyz(34.8637, 20.9113, 67.1523)
Luminance0.2091 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751D8 #72D851
analogous
#7351D8 #B751D8 #D851B6
triadic
#B751D8 #D8B751 #51D8B7
tetradic
#B751D8 #D87351 #72D851 #51B6D8
square
#B751D8 #D87351 #72D851 #51B6D8
split-complementary
#B751D8 #B6D851 #51D873
monochromatic
#74208F #9C2BC1 #B751D8 #CC83E3 #E0B5EE

Accessibility & contrast

On white

4.05
#B751D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.18
#B751D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751D8
5.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751D8#FFFFFF#000000##000000
##B751D81.004.055.185.18
#FFFFFF4.051.0021.0021.00
#0000005.1821.001.001.00
##0000005.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#2478DC
Deuteranopia (green-blind)
#5481D5
Tritanopia (blue-blind)
#B6698D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b751d8;
/* rgb */ color: rgb(183, 81, 216);
/* oklch */ color: oklch(62.0% 0.211 317.0);
Tailwind
colors: {
  custom: {
    50: '#d088e5',
    500: '#b751d8',
    950: '#000000',
  },
}
SCSS
$custom: #b751d8;
$custom-light: #d088e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b751d8",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 285.333,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.61989,
    "c": 0.21149,
    "h": 317
  },
  "luminance": 0.2091
}

Semantic roles & 50–950 ramp

primary
#B751D8
secondary
#B5DDA8
accent
#E6416A
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B751D8

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

Preview Lab → · Contrast checker → · Palette generator →

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