#B351DF#B351DF

#B351DF is a mid, highly saturated purple. Relative luminance 0.208; OKLCH L 61.9% C 0.217 H 313.7°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#B351DF
RGBrgb(179, 81, 223)
HSLhsl(281, 69%, 60%)
HSVhsv(281, 64%, 87%)
CMYKcmyk(19.7%, 63.7%, 0%, 12.5%)
CIE-LABlab(52.73, 61.63, -55.73)
CIE-LCHlch(52.73, 83.09, 317.88°)
OKLaboklab(61.92% 0.1496 -0.1567)
OKLCHoklch(61.92% 0.217 313.7)
XYZxyz(34.8499, 20.7973, 71.9762)
Luminance0.2080 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351DF #7DDF51
analogous
#6C51DF #B351DF #DF51C4
triadic
#B351DF #DFB351 #51DFB3
tetradic
#B351DF #DF6C51 #7DDF51 #51C4DF
square
#B351DF #DF6C51 #7DDF51 #51C4DF
split-complementary
#B351DF #C4DF51 #51DF6C
monochromatic
#731C99 #9926CD #B351DF #CA85E9 #E0B8F2

Accessibility & contrast

On white

4.07
#B351DF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#B351DF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351DF
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351DF#FFFFFF#000000##000000
##B351DF1.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#0D79E3
Deuteranopia (green-blind)
#4A80DC
Tritanopia (blue-blind)
#AF6C91
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b351df;
/* rgb */ color: rgb(179, 81, 223);
/* oklch */ color: oklch(61.9% 0.217 313.7);
Tailwind
colors: {
  custom: {
    50: '#cd88ea',
    500: '#b351df',
    950: '#000000',
  },
}
SCSS
$custom: #b351df;
$custom-light: #cd88ea;
$custom-dark: #000000;
JSON
{
  "hex": "#b351df",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 223
  },
  "hsl": {
    "h": 281.408,
    "s": 68.932,
    "l": 59.608
  },
  "oklch": {
    "l": 0.61918,
    "c": 0.21668,
    "h": 313.7
  },
  "luminance": 0.20796
}

Semantic roles & 50–950 ramp

primary
#B351DF
secondary
#BBE1AA
accent
#EC3C72
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B351DF

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

Preview Lab → · Contrast checker → · Palette generator →

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