#B751D6#B751D6

#B751D6 is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.210 H 317.5°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B751D6
RGBrgb(183, 81, 214)
HSLhsl(286, 62%, 58%)
HSVhsv(286, 62%, 84%)
CMYKcmyk(14.5%, 62.1%, 0%, 16.1%)
CIE-LABlab(52.74, 60.74, -50.57)
CIE-LCHlch(52.74, 79.04, 320.22°)
OKLaboklab(61.87% 0.1546 -0.1415)
OKLCHoklch(61.87% 0.21 317.5)
XYZxyz(34.6067, 20.8086, 65.7988)
Luminance0.2081 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751D6 #70D651
analogous
#7451D6 #B751D6 #D651B2
triadic
#B751D6 #D6B751 #51D6B7
tetradic
#B751D6 #D67451 #70D651 #51B2D6
square
#B751D6 #D67451 #70D651 #51B2D6
split-complementary
#B751D6 #B2D651 #51D674
monochromatic
#73218C #9C2DBD #B751D6 #CB83E2 #E0B4ED

Accessibility & contrast

On white

4.07
#B751D6 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B751D6 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751D6
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751D6#FFFFFF#000000##000000
##B751D61.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#2877DA
Deuteranopia (green-blind)
#5581D3
Tritanopia (blue-blind)
#B6688C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b751d6;
/* rgb */ color: rgb(183, 81, 214);
/* oklch */ color: oklch(61.9% 0.210 317.5);
Tailwind
colors: {
  custom: {
    50: '#d088e3',
    500: '#b751d6',
    950: '#000000',
  },
}
SCSS
$custom: #b751d6;
$custom-light: #d088e3;
$custom-dark: #000000;
JSON
{
  "hex": "#b751d6",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 214
  },
  "hsl": {
    "h": 286.015,
    "s": 61.86,
    "l": 57.843
  },
  "oklch": {
    "l": 0.61871,
    "c": 0.2096,
    "h": 317.5
  },
  "luminance": 0.20807
}

Semantic roles & 50–950 ramp

primary
#B751D6
secondary
#B3DCA7
accent
#E54369
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C15
muted
#837D84

Preview Lab

Preview with #B751D6

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

Preview Lab → · Contrast checker → · Palette generator →

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