#B751D1#B751D1

#B751D1 is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.6% C 0.205 H 319.0°. Best body text is #000000 at 5.11:1 contrast (WCAG AA passes).

Color values

HEX#B751D1
RGBrgb(183, 81, 209)
HSLhsl(288, 58%, 57%)
HSVhsv(288, 61%, 82%)
CMYKcmyk(12.4%, 61.2%, 0%, 18%)
CIE-LABlab(52.46, 59.77, -48.17)
CIE-LCHlch(52.46, 76.76, 321.13°)
OKLaboklab(61.58% 0.1546 -0.1345)
OKLCHoklch(61.58% 0.205 319)
XYZxyz(33.9780, 20.5571, 62.4874)
Luminance0.2056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751D1 #6BD151
analogous
#7751D1 #B751D1 #D151AB
triadic
#B751D1 #D1B751 #51D1B7
tetradic
#B751D1 #D17751 #6BD151 #51ABD1
square
#B751D1 #D17751 #6BD151 #51ABD1
split-complementary
#B751D1 #ABD151 #51D177
monochromatic
#712385 #9A30B5 #B751D1 #CB81DE #DFB2EB

Accessibility & contrast

On white

4.11
#B751D1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.11
#B751D1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751D1
5.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751D1#FFFFFF#000000##000000
##B751D11.004.115.115.11
#FFFFFF4.111.0021.0021.00
#0000005.1121.001.001.00
##0000005.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#2F76D5
Deuteranopia (green-blind)
#5981CE
Tritanopia (blue-blind)
#B7668A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b751d1;
/* rgb */ color: rgb(183, 81, 209);
/* oklch */ color: oklch(61.6% 0.205 319.0);
Tailwind
colors: {
  custom: {
    50: '#d088e0',
    500: '#b751d1',
    950: '#000000',
  },
}
SCSS
$custom: #b751d1;
$custom-light: #d088e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b751d1",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 209
  },
  "hsl": {
    "h": 287.813,
    "s": 58.182,
    "l": 56.863
  },
  "oklch": {
    "l": 0.61579,
    "c": 0.20488,
    "h": 319
  },
  "luminance": 0.20556
}

Semantic roles & 50–950 ramp

primary
#B751D1
secondary
#AFD9A5
accent
#E14666
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B751D1

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

Preview Lab → · Contrast checker → · Palette generator →

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