#B351D3#B351D3

#B351D3 is a mid, highly saturated purple. Relative luminance 0.202; OKLCH L 61.2% C 0.205 H 316.9°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).

Color values

HEX#B351D3
RGBrgb(179, 81, 211)
HSLhsl(285, 60%, 57%)
HSVhsv(285, 62%, 83%)
CMYKcmyk(15.2%, 61.6%, 0%, 17.3%)
CIE-LABlab(52.03, 59.20, -50.02)
CIE-LCHlch(52.03, 77.51, 319.80°)
OKLaboklab(61.19% 0.1498 -0.14)
OKLCHoklch(61.19% 0.205 316.9)
XYZxyz(33.2890, 20.1730, 63.7556)
Luminance0.2017 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351D3 #71D351
analogous
#7251D3 #B351D3 #D351B2
triadic
#B351D3 #D3B351 #51D3B3
tetradic
#B351D3 #D37251 #71D351 #51B2D3
square
#B351D3 #D37251 #71D351 #51B2D3
split-complementary
#B351D3 #B2D351 #51D372
monochromatic
#6E2287 #962FB8 #B351D3 #C882DF #DEB3EC

Accessibility & contrast

On white

4.17
#B351D3 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.03
#B351D3 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351D3
5.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351D3#FFFFFF#000000##000000
##B351D31.004.175.035.03
#FFFFFF4.171.0021.0021.00
#0000005.0321.001.001.00
##0000005.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#2976D7
Deuteranopia (green-blind)
#547FD0
Tritanopia (blue-blind)
#B2688B
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b351d3;
/* rgb */ color: rgb(179, 81, 211);
/* oklch */ color: oklch(61.2% 0.205 316.9);
Tailwind
colors: {
  custom: {
    50: '#cd88e1',
    500: '#b351d3',
    950: '#000000',
  },
}
SCSS
$custom: #b351d3;
$custom-light: #cd88e1;
$custom-dark: #000000;
JSON
{
  "hex": "#b351d3",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 211
  },
  "hsl": {
    "h": 285.231,
    "s": 59.633,
    "l": 57.255
  },
  "oklch": {
    "l": 0.61192,
    "c": 0.20506,
    "h": 316.9
  },
  "luminance": 0.20172
}

Semantic roles & 50–950 ramp

primary
#B351D3
secondary
#B3DAA6
accent
#E3456C
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B351D3

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

Preview Lab → · Contrast checker → · Palette generator →

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