#B751B2#B751B2

#B751B2 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 59.9% C 0.177 H 329.4°. Best body text is #000000 at 4.83:1 contrast (WCAG AA passes).

Color values

HEX#B751B2
RGBrgb(183, 81, 178)
HSLhsl(303, 41%, 52%)
HSVhsv(303, 56%, 72%)
CMYKcmyk(0%, 55.7%, 2.7%, 28.2%)
CIE-LABlab(50.88, 54.05, -32.77)
CIE-LCHlch(50.88, 63.21, 328.77°)
OKLaboklab(59.92% 0.1522 -0.0899)
OKLCHoklch(59.92% 0.177 329.4)
XYZxyz(30.5064, 19.1684, 44.2039)
Luminance0.1917 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751B2 #51B756
analogous
#8951B7 #B751B2 #B7517F
triadic
#B751B2 #B2B751 #51B2B7
tetradic
#B751B2 #B78951 #51B756 #517FB7
square
#B751B2 #B78951 #51B756 #517FB7
split-complementary
#B751B2 #7FB751 #51B789
monochromatic
#642961 #8F3B8B #B751B2 #C97CC5 #DBA8D8

Accessibility & contrast

On white

4.34
#B751B2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.83
#B751B2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751B2
4.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751B2#FFFFFF#000000##000000
##B751B21.004.344.834.83
#FFFFFF4.341.0021.0021.00
#0000004.8321.001.001.00
##0000004.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#4970B5
Deuteranopia (green-blind)
#6A7EAF
Tritanopia (blue-blind)
#BD5B7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b751b2;
/* rgb */ color: rgb(183, 81, 178);
/* oklch */ color: oklch(59.9% 0.177 329.4);
Tailwind
colors: {
  custom: {
    50: '#cf87c9',
    500: '#b751b2',
    950: '#000000',
  },
}
SCSS
$custom: #b751b2;
$custom-light: #cf87c9;
$custom-dark: #000000;
JSON
{
  "hex": "#b751b2",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 178
  },
  "hsl": {
    "h": 302.941,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59916,
    "c": 0.17677,
    "h": 329.4
  },
  "luminance": 0.19166
}

Semantic roles & 50–950 ramp

primary
#B751B2
secondary
#9CC89E
accent
#D15D57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B751B2

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

Preview Lab → · Contrast checker → · Palette generator →

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