#B351DC#B351DC

#B351DC is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.214 H 314.5°. Best body text is #000000 at 5.13:1 contrast (WCAG AA passes).

Color values

HEX#B351DC
RGBrgb(179, 81, 220)
HSLhsl(282, 67%, 59%)
HSVhsv(282, 63%, 86%)
CMYKcmyk(18.6%, 63.2%, 0%, 13.7%)
CIE-LABlab(52.55, 61.02, -54.31)
CIE-LCHlch(52.55, 81.69, 318.33°)
OKLaboklab(61.73% 0.1497 -0.1526)
OKLCHoklch(61.73% 0.214 314.5)
XYZxyz(34.4490, 20.6370, 69.8649)
Luminance0.2064 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351DC #7ADC51
analogous
#6E51DC #B351DC #DC51C0
triadic
#B351DC #DCB351 #51DCB3
tetradic
#B351DC #DC6E51 #7ADC51 #51C0DC
square
#B351DC #DC6E51 #7ADC51 #51C0DC
split-complementary
#B351DC #C0DC51 #51DC6E
monochromatic
#721E95 #9928C8 #B351DC #C984E6 #E0B7F0

Accessibility & contrast

On white

4.10
#B351DC on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.13
#B351DC on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351DC
5.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351DC#FFFFFF#000000##000000
##B351DC1.004.105.135.13
#FFFFFF4.101.0021.0021.00
#0000005.1321.001.001.00
##0000005.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#1778E0
Deuteranopia (green-blind)
#4D80D9
Tritanopia (blue-blind)
#B06B8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b351dc;
/* rgb */ color: rgb(179, 81, 220);
/* oklch */ color: oklch(61.7% 0.214 314.5);
Tailwind
colors: {
  custom: {
    50: '#cd88e7',
    500: '#b351dc',
    950: '#000000',
  },
}
SCSS
$custom: #b351dc;
$custom-light: #cd88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b351dc",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 220
  },
  "hsl": {
    "h": 282.302,
    "s": 66.507,
    "l": 59.02
  },
  "oklch": {
    "l": 0.61733,
    "c": 0.21377,
    "h": 314.5
  },
  "luminance": 0.20636
}

Semantic roles & 50–950 ramp

primary
#B351DC
secondary
#B9E0A9
accent
#E93E71
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B351DC

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

Preview Lab → · Contrast checker → · Palette generator →

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