#B751D4#B751D4

#B751D4 is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.8% C 0.208 H 318.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B751D4
RGBrgb(183, 81, 212)
HSLhsl(287, 60%, 57%)
HSVhsv(287, 62%, 83%)
CMYKcmyk(13.7%, 61.8%, 0%, 16.9%)
CIE-LABlab(52.63, 60.35, -49.61)
CIE-LCHlch(52.63, 78.13, 320.58°)
OKLaboklab(61.75% 0.1546 -0.1387)
OKLCHoklch(61.75% 0.208 318.1)
XYZxyz(34.3529, 20.7070, 64.4619)
Luminance0.2071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751D4 #6ED451
analogous
#7651D4 #B751D4 #D451AF
triadic
#B751D4 #D4B751 #51D4B7
tetradic
#B751D4 #D47651 #6ED451 #51AFD4
square
#B751D4 #D47651 #6ED451 #51AFD4
split-complementary
#B751D4 #AFD451 #51D476
monochromatic
#722289 #9B2EBA #B751D4 #CB82E0 #E0B3EC

Accessibility & contrast

On white

4.08
#B751D4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B751D4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751D4
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751D4#FFFFFF#000000##000000
##B751D41.004.085.145.14
#FFFFFF4.081.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#2B77D8
Deuteranopia (green-blind)
#5781D1
Tritanopia (blue-blind)
#B6678B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b751d4;
/* rgb */ color: rgb(183, 81, 212);
/* oklch */ color: oklch(61.8% 0.208 318.1);
Tailwind
colors: {
  custom: {
    50: '#d088e2',
    500: '#b751d4',
    950: '#000000',
  },
}
SCSS
$custom: #b751d4;
$custom-light: #d088e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b751d4",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 212
  },
  "hsl": {
    "h": 286.718,
    "s": 60.369,
    "l": 57.451
  },
  "oklch": {
    "l": 0.61753,
    "c": 0.20771,
    "h": 318.1
  },
  "luminance": 0.20706
}

Semantic roles & 50–950 ramp

primary
#B751D4
secondary
#B2DBA6
accent
#E44468
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B751D4

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

Preview Lab → · Contrast checker → · Palette generator →

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