#B751D7#B751D7

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

Color values

HEX#B751D7
RGBrgb(183, 81, 215)
HSLhsl(286, 63%, 58%)
HSVhsv(286, 62%, 84%)
CMYKcmyk(14.9%, 62.3%, 0%, 15.7%)
CIE-LABlab(52.80, 60.94, -51.05)
CIE-LCHlch(52.80, 79.50, 320.05°)
OKLaboklab(61.93% 0.1546 -0.1429)
OKLCHoklch(61.93% 0.211 317.3)
XYZxyz(34.7348, 20.8598, 66.4735)
Luminance0.2086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751D7 #71D751
analogous
#7451D7 #B751D7 #D751B4
triadic
#B751D7 #D7B751 #51D7B7
tetradic
#B751D7 #D77451 #71D751 #51B4D7
square
#B751D7 #D77451 #71D751 #51B4D7
split-complementary
#B751D7 #B4D751 #51D774
monochromatic
#73208D #9C2CBF #B751D7 #CC83E2 #E0B5EE

Accessibility & contrast

On white

4.06
#B751D7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.17
#B751D7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751D7
5.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751D7#FFFFFF#000000##000000
##B751D71.004.065.175.17
#FFFFFF4.061.0021.0021.00
#0000005.1721.001.001.00
##0000005.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#2678DB
Deuteranopia (green-blind)
#5581D4
Tritanopia (blue-blind)
#B6688D
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b751d7;
/* rgb */ color: rgb(183, 81, 215);
/* oklch */ color: oklch(61.9% 0.211 317.3);
Tailwind
colors: {
  custom: {
    50: '#d088e4',
    500: '#b751d7',
    950: '#000000',
  },
}
SCSS
$custom: #b751d7;
$custom-light: #d088e4;
$custom-dark: #000000;
JSON
{
  "hex": "#b751d7",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 215
  },
  "hsl": {
    "h": 285.672,
    "s": 62.617,
    "l": 58.039
  },
  "oklch": {
    "l": 0.6193,
    "c": 0.21055,
    "h": 317.3
  },
  "luminance": 0.20858
}

Semantic roles & 50–950 ramp

primary
#B751D7
secondary
#B4DDA7
accent
#E64269
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B751D7

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

Preview Lab → · Contrast checker → · Palette generator →

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