#B751C2#B751C2

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

Color values

HEX#B751C2
RGBrgb(183, 81, 194)
HSLhsl(294, 48%, 54%)
HSVhsv(294, 58%, 76%)
CMYKcmyk(5.7%, 58.2%, 0%, 23.9%)
CIE-LABlab(51.67, 56.92, -40.82)
CIE-LCHlch(51.67, 70.05, 324.35°)
OKLaboklab(60.74% 0.1539 -0.1131)
OKLCHoklch(60.74% 0.191 323.7)
XYZxyz(32.2076, 19.8489, 53.1632)
Luminance0.1985 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751C2 #5CC251
analogous
#7F51C2 #B751C2 #C25195
triadic
#B751C2 #C2B751 #51C2B7
tetradic
#B751C2 #C27F51 #5CC251 #5195C2
square
#B751C2 #C27F51 #5CC251 #5195C2
split-complementary
#B751C2 #95C251 #51C27F
monochromatic
#6A2871 #94379E #B751C2 #CA7ED2 #DDACE2

Accessibility & contrast

On white

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

On black

4.97
#B751C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751C2
4.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751C2#FFFFFF#000000##000000
##B751C21.004.234.974.97
#FFFFFF4.231.0021.0021.00
#0000004.9721.001.001.00
##0000004.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3E73C6
Deuteranopia (green-blind)
#627FBF
Tritanopia (blue-blind)
#BA6182
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b751c2;
/* rgb */ color: rgb(183, 81, 194);
/* oklch */ color: oklch(60.7% 0.191 323.7);
Tailwind
colors: {
  custom: {
    50: '#cf87d5',
    500: '#b751c2',
    950: '#000000',
  },
}
SCSS
$custom: #b751c2;
$custom-light: #cf87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b751c2",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 294.159,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60743,
    "c": 0.19098,
    "h": 323.7
  },
  "luminance": 0.19847
}

Semantic roles & 50–950 ramp

primary
#B751C2
secondary
#A4D09F
accent
#D8505D
background
#FDF8FD
surface
#FAF0FA
border
#D3CBD3
text
#140C14
muted
#837D83

Preview Lab

Preview with #B751C2

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

Preview Lab → · Contrast checker → · Palette generator →

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