#B751C7#B751C7

#B751C7 is a mid, vivid purple. Relative luminance 0.201; OKLCH L 61.0% C 0.196 H 322.0°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B751C7
RGBrgb(183, 81, 199)
HSLhsl(292, 51%, 55%)
HSVhsv(292, 59%, 78%)
CMYKcmyk(8%, 59.3%, 0%, 22%)
CIE-LABlab(51.92, 57.86, -43.29)
CIE-LCHlch(51.92, 72.26, 323.19°)
OKLaboklab(61.02% 0.1542 -0.1203)
OKLCHoklch(61.02% 0.196 322)
XYZxyz(32.7786, 20.0773, 56.1705)
Luminance0.2008 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751C7 #61C751
analogous
#7C51C7 #B751C7 #C7519C
triadic
#B751C7 #C7B751 #51C7B7
tetradic
#B751C7 #C77C51 #61C751 #519CC7
square
#B751C7 #C77C51 #61C751 #519CC7
split-complementary
#B751C7 #9CC751 #51C77C
monochromatic
#6C2677 #9635A6 #B751C7 #CA7FD6 #DDAEE5

Accessibility & contrast

On white

4.19
#B751C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B751C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751C7
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751C7#FFFFFF#000000##000000
##B751C71.004.195.025.02
#FFFFFF4.191.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A74CB
Deuteranopia (green-blind)
#5F80C4
Tritanopia (blue-blind)
#B96385
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b751c7;
/* rgb */ color: rgb(183, 81, 199);
/* oklch */ color: oklch(61.0% 0.196 322.0);
Tailwind
colors: {
  custom: {
    50: '#cf88d8',
    500: '#b751c7',
    950: '#000000',
  },
}
SCSS
$custom: #b751c7;
$custom-light: #cf88d8;
$custom-dark: #000000;
JSON
{
  "hex": "#b751c7",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 199
  },
  "hsl": {
    "h": 291.864,
    "s": 51.304,
    "l": 54.902
  },
  "oklch": {
    "l": 0.61015,
    "c": 0.19556,
    "h": 322
  },
  "luminance": 0.20076
}

Semantic roles & 50–950 ramp

primary
#B751C7
secondary
#A8D3A1
accent
#DB4D60
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B751C7

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

Preview Lab → · Contrast checker → · Palette generator →

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