#B351D2#B351D2

#B351D2 is a mid, highly saturated purple. Relative luminance 0.201; OKLCH L 61.1% C 0.204 H 317.2°. Best body text is #000000 at 5.02:1 contrast (WCAG AA passes).

Color values

HEX#B351D2
RGBrgb(179, 81, 210)
HSLhsl(286, 59%, 57%)
HSVhsv(286, 61%, 82%)
CMYKcmyk(14.8%, 61.4%, 0%, 17.6%)
CIE-LABlab(51.98, 59.00, -49.54)
CIE-LCHlch(51.98, 77.04, 319.98°)
OKLaboklab(61.13% 0.1498 -0.1386)
OKLCHoklch(61.13% 0.204 317.2)
XYZxyz(33.1640, 20.1230, 63.0975)
Luminance0.2012 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351D2 #70D251
analogous
#7251D2 #B351D2 #D251B1
triadic
#B351D2 #D2B351 #51D2B3
tetradic
#B351D2 #D27251 #70D251 #51B1D2
square
#B351D2 #D27251 #70D251 #51B1D2
split-complementary
#B351D2 #B1D251 #51D272
monochromatic
#6E2386 #962FB7 #B351D2 #C882DF #DDB2EB

Accessibility & contrast

On white

4.18
#B351D2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.02
#B351D2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351D2
5.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351D2#FFFFFF#000000##000000
##B351D21.004.185.025.02
#FFFFFF4.181.0021.0021.00
#0000005.0221.001.001.00
##0000005.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#2A76D6
Deuteranopia (green-blind)
#547FCF
Tritanopia (blue-blind)
#B2678A
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b351d2;
/* rgb */ color: rgb(179, 81, 210);
/* oklch */ color: oklch(61.1% 0.204 317.2);
Tailwind
colors: {
  custom: {
    50: '#cd87e0',
    500: '#b351d2',
    950: '#000000',
  },
}
SCSS
$custom: #b351d2;
$custom-light: #cd87e0;
$custom-dark: #000000;
JSON
{
  "hex": "#b351d2",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 210
  },
  "hsl": {
    "h": 285.581,
    "s": 58.904,
    "l": 57.059
  },
  "oklch": {
    "l": 0.61133,
    "c": 0.2041,
    "h": 317.2
  },
  "luminance": 0.20122
}

Semantic roles & 50–950 ramp

primary
#B351D2
secondary
#B2DAA5
accent
#E2466B
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B351D2

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

Preview Lab → · Contrast checker → · Palette generator →

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