#B751CB#B751CB

#B751CB is a mid, vivid purple. Relative luminance 0.203; OKLCH L 61.2% C 0.199 H 320.8°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B751CB
RGBrgb(183, 81, 203)
HSLhsl(290, 54%, 56%)
HSVhsv(290, 60%, 80%)
CMYKcmyk(9.9%, 60.1%, 0%, 20.4%)
CIE-LABlab(52.14, 58.61, -45.25)
CIE-LCHlch(52.14, 74.05, 322.33°)
OKLaboklab(61.24% 0.1544 -0.126)
OKLCHoklch(61.24% 0.199 320.8)
XYZxyz(33.2491, 20.2655, 58.6486)
Luminance0.2026 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B751CB #65CB51
analogous
#7A51CB #B751CB #CB51A2
triadic
#B751CB #CBB751 #51CBB7
tetradic
#B751CB #CB7A51 #65CB51 #51A2CB
square
#B751CB #CB7A51 #65CB51 #51A2CB
split-complementary
#B751CB #A2CB51 #51CB7A
monochromatic
#6E257C #9833AC #B751CB #CA80D9 #DEAFE7

Accessibility & contrast

On white

4.16
#B751CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B751CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B751CB
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B751CB#FFFFFF#000000##000000
##B751CB1.004.165.055.05
#FFFFFF4.161.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3675CF
Deuteranopia (green-blind)
#5D80C8
Tritanopia (blue-blind)
#B86487
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b751cb;
/* rgb */ color: rgb(183, 81, 203);
/* oklch */ color: oklch(61.2% 0.199 320.8);
Tailwind
colors: {
  custom: {
    50: '#d088db',
    500: '#b751cb',
    950: '#000000',
  },
}
SCSS
$custom: #b751cb;
$custom-light: #d088db;
$custom-dark: #000000;
JSON
{
  "hex": "#b751cb",
  "rgb": {
    "r": 183,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 290.164,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.61238,
    "c": 0.19927,
    "h": 320.8
  },
  "luminance": 0.20264
}

Semantic roles & 50–950 ramp

primary
#B751CB
secondary
#ABD5A3
accent
#DD4A63
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B751CB

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

Preview Lab → · Contrast checker → · Palette generator →

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