#B751C1#B751C1

#B751C1 is a mid, vivid purple. Relative luminance 0.198; OKLCH L 60.7% C 0.190 H 324.0°. Best body text is #000000 at 4.96:1 contrast (WCAG AA passes).

Color values

HEX#B751C1
RGBrgb(183, 81, 193)
HSLhsl(295, 47%, 54%)
HSVhsv(295, 58%, 76%)
CMYKcmyk(5.2%, 58%, 0%, 24.3%)
CIE-LABlab(51.62, 56.74, -40.33)
CIE-LCHlch(51.62, 69.61, 324.60°)
OKLaboklab(60.69% 0.1538 -0.1117)
OKLCHoklch(60.69% 0.19 324)
XYZxyz(32.0956, 19.8041, 52.5737)
Luminance0.1980 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751C1 #5BC151
analogous
#7F51C1 #B751C1 #C15193
triadic
#B751C1 #C1B751 #51C1B7
tetradic
#B751C1 #C17F51 #5BC151 #5193C1
square
#B751C1 #C17F51 #5BC151 #5193C1
split-complementary
#B751C1 #93C151 #51C17F
monochromatic
#692870 #94389D #B751C1 #CA7ED1 #DCABE1

Accessibility & contrast

On white

4.23
#B751C1 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B751C1 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751C1
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751C1#FFFFFF#000000##000000
##B751C11.004.234.964.96
#FFFFFF4.231.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3F73C5
Deuteranopia (green-blind)
#627FBE
Tritanopia (blue-blind)
#BA6081
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b751c1;
/* rgb */ color: rgb(183, 81, 193);
/* oklch */ color: oklch(60.7% 0.190 324.0);
Tailwind
colors: {
  custom: {
    50: '#cf87d4',
    500: '#b751c1',
    950: '#000000',
  },
}
SCSS
$custom: #b751c1;
$custom-light: #cf87d4;
$custom-dark: #000000;
JSON
{
  "hex": "#b751c1",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 193
  },
  "hsl": {
    "h": 294.643,
    "s": 47.458,
    "l": 53.725
  },
  "oklch": {
    "l": 0.60689,
    "c": 0.19007,
    "h": 324
  },
  "luminance": 0.19802
}

Semantic roles & 50–950 ramp

primary
#B751C1
secondary
#A3CF9F
accent
#D7515D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B751C1

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

Preview Lab → · Contrast checker → · Palette generator →

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