#B751B7#B751B7

#B751B7 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.181 H 327.5°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B751B7
RGBrgb(183, 81, 183)
HSLhsl(300, 41%, 52%)
HSVhsv(300, 56%, 72%)
CMYKcmyk(0%, 55.7%, 0%, 28.2%)
CIE-LABlab(51.12, 54.93, -35.31)
CIE-LCHlch(51.12, 65.30, 327.26°)
OKLaboklab(60.17% 0.1528 -0.0972)
OKLCHoklch(60.17% 0.181 327.5)
XYZxyz(31.0176, 19.3729, 46.8962)
Luminance0.1937 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751B7 #51B751
analogous
#8451B7 #B751B7 #B75184
triadic
#B751B7 #B7B751 #51B7B7
tetradic
#B751B7 #B78451 #51B751 #5184B7
square
#B751B7 #B78451 #51B751 #5184B7
split-complementary
#B751B7 #84B751 #51B784
monochromatic
#642964 #8F3B8F #B751B7 #C97CC9 #DBA8DB

Accessibility & contrast

On white

4.31
#B751B7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B751B7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751B7
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751B7#FFFFFF#000000##000000
##B751B71.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#4671BA
Deuteranopia (green-blind)
#677EB4
Tritanopia (blue-blind)
#BC5D7C
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b751b7;
/* rgb */ color: rgb(183, 81, 183);
/* oklch */ color: oklch(60.2% 0.181 327.5);
Tailwind
colors: {
  custom: {
    50: '#cf87cd',
    500: '#b751b7',
    950: '#000000',
  },
}
SCSS
$custom: #b751b7;
$custom-light: #cf87cd;
$custom-dark: #000000;
JSON
{
  "hex": "#b751b7",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 183
  },
  "hsl": {
    "h": 300,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.60167,
    "c": 0.18112,
    "h": 327.5
  },
  "luminance": 0.19371
}

Semantic roles & 50–950 ramp

primary
#B751B7
secondary
#9CC89C
accent
#D15757
background
#FDF8FC
surface
#FAF0F9
border
#D3CBD2
text
#140C13
muted
#837D82

Preview Lab

Preview with #B751B7

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

Preview Lab → · Contrast checker → · Palette generator →

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