#B351CB#B351CB

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

Color values

HEX#B351CB
RGBrgb(179, 81, 203)
HSLhsl(288, 54%, 56%)
HSVhsv(288, 60%, 80%)
CMYKcmyk(11.8%, 60.1%, 0%, 20.4%)
CIE-LABlab(51.59, 57.62, -46.15)
CIE-LCHlch(51.59, 73.83, 321.31°)
OKLaboklab(60.73% 0.1497 -0.1287)
OKLCHoklch(60.73% 0.197 319.3)
XYZxyz(32.3109, 19.7818, 58.6046)
Luminance0.1978 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351CB #69CB51
analogous
#7651CB #B351CB #CB51A6
triadic
#B351CB #CBB351 #51CBB3
tetradic
#B351CB #CB7651 #69CB51 #51A6CB
square
#B351CB #CB7651 #69CB51 #51A6CB
split-complementary
#B351CB #A6CB51 #51CB76
monochromatic
#6B257C #9433AC #B351CB #C880D9 #DCAFE7

Accessibility & contrast

On white

4.24
#B351CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.96
#B351CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351CB
4.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351CB#FFFFFF#000000##000000
##B351CB1.004.244.964.96
#FFFFFF4.241.0021.0021.00
#0000004.9621.001.001.00
##0000004.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3374CF
Deuteranopia (green-blind)
#597EC8
Tritanopia (blue-blind)
#B36587
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b351cb;
/* rgb */ color: rgb(179, 81, 203);
/* oklch */ color: oklch(60.7% 0.197 319.3);
Tailwind
colors: {
  custom: {
    50: '#cd87db',
    500: '#b351cb',
    950: '#000000',
  },
}
SCSS
$custom: #b351cb;
$custom-light: #cd87db;
$custom-dark: #000000;
JSON
{
  "hex": "#b351cb",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 203
  },
  "hsl": {
    "h": 288.197,
    "s": 53.982,
    "l": 55.686
  },
  "oklch": {
    "l": 0.60727,
    "c": 0.1974,
    "h": 319.3
  },
  "luminance": 0.1978
}

Semantic roles & 50–950 ramp

primary
#B351CB
secondary
#ADD5A3
accent
#DD4A67
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B351CB

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

Preview Lab → · Contrast checker → · Palette generator →

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