#B751C4#B751C4

#B751C4 is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.9% C 0.193 H 323.0°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B751C4
RGBrgb(183, 81, 196)
HSLhsl(293, 49%, 54%)
HSVhsv(293, 59%, 77%)
CMYKcmyk(6.6%, 58.7%, 0%, 23.1%)
CIE-LABlab(51.77, 57.29, -41.81)
CIE-LCHlch(51.77, 70.93, 323.88°)
OKLaboklab(60.85% 0.154 -0.116)
OKLCHoklch(60.85% 0.193 323)
XYZxyz(32.4337, 19.9393, 54.3541)
Luminance0.1994 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751C4 #5EC451
analogous
#7E51C4 #B751C4 #C45198
triadic
#B751C4 #C4B751 #51C4B7
tetradic
#B751C4 #C47E51 #5EC451 #5198C4
square
#B751C4 #C47E51 #5EC451 #5198C4
split-complementary
#B751C4 #98C451 #51C47E
monochromatic
#6B2773 #9537A1 #B751C4 #CA7FD3 #DDACE3

Accessibility & contrast

On white

4.21
#B751C4 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B751C4 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751C4
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751C4#FFFFFF#000000##000000
##B751C41.004.214.994.99
#FFFFFF4.211.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C74C8
Deuteranopia (green-blind)
#6180C1
Tritanopia (blue-blind)
#BA6283
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b751c4;
/* rgb */ color: rgb(183, 81, 196);
/* oklch */ color: oklch(60.9% 0.193 323.0);
Tailwind
colors: {
  custom: {
    50: '#cf87d6',
    500: '#b751c4',
    950: '#000000',
  },
}
SCSS
$custom: #b751c4;
$custom-light: #cf87d6;
$custom-dark: #000000;
JSON
{
  "hex": "#b751c4",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 196
  },
  "hsl": {
    "h": 293.217,
    "s": 49.356,
    "l": 54.314
  },
  "oklch": {
    "l": 0.60851,
    "c": 0.19281,
    "h": 323
  },
  "luminance": 0.19938
}

Semantic roles & 50–950 ramp

primary
#B751C4
secondary
#A6D1A0
accent
#D94F5F
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B751C4

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

Preview Lab → · Contrast checker → · Palette generator →

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