#B351D8#B351D8

#B351D8 is a mid, highly saturated purple. Relative luminance 0.204; OKLCH L 61.5% C 0.210 H 315.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#B351D8
RGBrgb(179, 81, 216)
HSLhsl(284, 63%, 58%)
HSVhsv(284, 63%, 85%)
CMYKcmyk(17.1%, 62.5%, 0%, 15.3%)
CIE-LABlab(52.32, 60.21, -52.42)
CIE-LCHlch(52.32, 79.83, 318.96°)
OKLaboklab(61.49% 0.1498 -0.147)
OKLCHoklch(61.49% 0.21 315.5)
XYZxyz(33.9256, 20.4276, 67.1083)
Luminance0.2043 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351D8 #76D851
analogous
#7051D8 #B351D8 #D851B9
triadic
#B351D8 #D8B351 #51D8B3
tetradic
#B351D8 #D87051 #76D851 #51B9D8
square
#B351D8 #D87051 #76D851 #51B9D8
split-complementary
#B351D8 #B9D851 #51D870
monochromatic
#70208F #982BC1 #B351D8 #C983E3 #DFB5EE

Accessibility & contrast

On white

4.13
#B351D8 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#B351D8 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351D8
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351D8#FFFFFF#000000##000000
##B351D81.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2077DC
Deuteranopia (green-blind)
#5080D5
Tritanopia (blue-blind)
#B0698D
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b351d8;
/* rgb */ color: rgb(179, 81, 216);
/* oklch */ color: oklch(61.5% 0.210 315.5);
Tailwind
colors: {
  custom: {
    50: '#cd88e5',
    500: '#b351d8',
    950: '#000000',
  },
}
SCSS
$custom: #b351d8;
$custom-light: #cd88e5;
$custom-dark: #000000;
JSON
{
  "hex": "#b351d8",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 216
  },
  "hsl": {
    "h": 283.556,
    "s": 63.38,
    "l": 58.235
  },
  "oklch": {
    "l": 0.6149,
    "c": 0.20989,
    "h": 315.5
  },
  "luminance": 0.20426
}

Semantic roles & 50–950 ramp

primary
#B351D8
secondary
#B6DDA8
accent
#E6416F
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B351D8

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

Preview Lab → · Contrast checker → · Palette generator →

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