#B351C2#B351C2

#B351C2 is a mid, vivid purple. Relative luminance 0.194; OKLCH L 60.2% C 0.189 H 322.2°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).

Color values

HEX#B351C2
RGBrgb(179, 81, 194)
HSLhsl(292, 48%, 54%)
HSVhsv(292, 58%, 76%)
CMYKcmyk(7.7%, 58.2%, 0%, 23.9%)
CIE-LABlab(51.11, 55.89, -41.73)
CIE-LCHlch(51.11, 69.76, 323.25°)
OKLaboklab(60.22% 0.1492 -0.1159)
OKLCHoklch(60.22% 0.189 322.2)
XYZxyz(31.2694, 19.3652, 53.1192)
Luminance0.1936 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351C2 #60C251
analogous
#7B51C2 #B351C2 #C25199
triadic
#B351C2 #C2B351 #51C2B3
tetradic
#B351C2 #C27B51 #60C251 #5199C2
square
#B351C2 #C27B51 #60C251 #5199C2
split-complementary
#B351C2 #99C251 #51C27B
monochromatic
#672871 #91379E #B351C2 #C77ED2 #DBACE2

Accessibility & contrast

On white

4.31
#B351C2 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.87
#B351C2 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351C2
4.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351C2#FFFFFF#000000##000000
##B351C21.004.314.874.87
#FFFFFF4.311.0021.0021.00
#0000004.8721.001.001.00
##0000004.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C72C6
Deuteranopia (green-blind)
#5F7EBF
Tritanopia (blue-blind)
#B56282
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #b351c2;
/* rgb */ color: rgb(179, 81, 194);
/* oklch */ color: oklch(60.2% 0.189 322.2);
Tailwind
colors: {
  custom: {
    50: '#cc87d5',
    500: '#b351c2',
    950: '#000000',
  },
}
SCSS
$custom: #b351c2;
$custom-light: #cc87d5;
$custom-dark: #000000;
JSON
{
  "hex": "#b351c2",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 194
  },
  "hsl": {
    "h": 292.035,
    "s": 48.085,
    "l": 53.922
  },
  "oklch": {
    "l": 0.60224,
    "c": 0.18891,
    "h": 322.2
  },
  "luminance": 0.19364
}

Semantic roles & 50–950 ramp

primary
#B351C2
secondary
#A6D09F
accent
#D85062
background
#FCF8FD
surface
#F9F0FA
border
#D2CBD3
text
#140C14
muted
#827D83

Preview Lab

Preview with #B351C2

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

Preview Lab → · Contrast checker → · Palette generator →

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