#B751B3#B751B3

#B751B3 is a mid, vivid purple. Relative luminance 0.192; OKLCH L 60.0% C 0.178 H 329.0°. Best body text is #000000 at 4.84:1 contrast (WCAG AA passes).

Color values

HEX#B751B3
RGBrgb(183, 81, 179)
HSLhsl(302, 41%, 52%)
HSVhsv(302, 56%, 72%)
CMYKcmyk(0%, 55.7%, 2.2%, 28.2%)
CIE-LABlab(50.93, 54.22, -33.28)
CIE-LCHlch(50.93, 63.62, 328.46°)
OKLaboklab(59.97% 0.1523 -0.0914)
OKLCHoklch(59.97% 0.178 329)
XYZxyz(30.6072, 19.2087, 44.7346)
Luminance0.1921 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751B3 #51B755
analogous
#8851B7 #B751B3 #B75180
triadic
#B751B3 #B3B751 #51B3B7
tetradic
#B751B3 #B78851 #51B755 #5180B7
square
#B751B3 #B78851 #51B755 #5180B7
split-complementary
#B751B3 #80B751 #51B788
monochromatic
#642962 #8F3B8C #B751B3 #C97CC6 #DBA8D9

Accessibility & contrast

On white

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

On black

4.84
#B751B3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751B3
4.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751B3#FFFFFF#000000##000000
##B751B31.004.344.844.84
#FFFFFF4.341.0021.0021.00
#0000004.8421.001.001.00
##0000004.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#4971B6
Deuteranopia (green-blind)
#697EB0
Tritanopia (blue-blind)
#BD5C7A
Achromatopsia (no color)
#797979

Design tokens & code

CSS
--color: #b751b3;
/* rgb */ color: rgb(183, 81, 179);
/* oklch */ color: oklch(60.0% 0.178 329.0);
Tailwind
colors: {
  custom: {
    50: '#cf87ca',
    500: '#b751b3',
    950: '#000000',
  },
}
SCSS
$custom: #b751b3;
$custom-light: #cf87ca;
$custom-dark: #000000;
JSON
{
  "hex": "#b751b3",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 179
  },
  "hsl": {
    "h": 302.353,
    "s": 41.463,
    "l": 51.765
  },
  "oklch": {
    "l": 0.59966,
    "c": 0.17763,
    "h": 329
  },
  "luminance": 0.19207
}

Semantic roles & 50–950 ramp

primary
#B751B3
secondary
#9CC89D
accent
#D15B57
background
#FDF8FC
surface
#FAF0F8
border
#D3CBD1
text
#140C13
muted
#837D82

Preview Lab

Preview with #B751B3

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

Preview Lab → · Contrast checker → · Palette generator →

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