#B751D5#B751D5

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

Color values

HEX#B751D5
RGBrgb(183, 81, 213)
HSLhsl(286, 61%, 58%)
HSVhsv(286, 62%, 84%)
CMYKcmyk(14.1%, 62%, 0%, 16.5%)
CIE-LABlab(52.68, 60.55, -50.09)
CIE-LCHlch(52.68, 78.58, 320.40°)
OKLaboklab(61.81% 0.1546 -0.1401)
OKLCHoklch(61.81% 0.209 317.8)
XYZxyz(34.4794, 20.7576, 65.1283)
Luminance0.2076 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751D5 #6FD551
analogous
#7551D5 #B751D5 #D551B1
triadic
#B751D5 #D5B751 #51D5B7
tetradic
#B751D5 #D57551 #6FD551 #51B1D5
square
#B751D5 #D57551 #6FD551 #51B1D5
split-complementary
#B751D5 #B1D551 #51D575
monochromatic
#72218A #9B2DBC #B751D5 #CB82E1 #E0B4ED

Accessibility & contrast

On white

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

On black

5.15
#B751D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751D5
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751D5#FFFFFF#000000##000000
##B751D51.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2977D9
Deuteranopia (green-blind)
#5681D2
Tritanopia (blue-blind)
#B6688C
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b751d5;
/* rgb */ color: rgb(183, 81, 213);
/* oklch */ color: oklch(61.8% 0.209 317.8);
Tailwind
colors: {
  custom: {
    50: '#d088e2',
    500: '#b751d5',
    950: '#000000',
  },
}
SCSS
$custom: #b751d5;
$custom-light: #d088e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b751d5",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 286.364,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.61812,
    "c": 0.20865,
    "h": 317.8
  },
  "luminance": 0.20756
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B751D5

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

Preview Lab → · Contrast checker → · Palette generator →

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