#B351CF#B351CF

#B351CF is a mid, highly saturated purple. Relative luminance 0.200; OKLCH L 61.0% C 0.201 H 318.1°. Best body text is #000000 at 4.99:1 contrast (WCAG AA passes).

Color values

HEX#B351CF
RGBrgb(179, 81, 207)
HSLhsl(287, 57%, 56%)
HSVhsv(287, 61%, 81%)
CMYKcmyk(13.5%, 60.9%, 0%, 18.8%)
CIE-LABlab(51.81, 58.41, -48.10)
CIE-LCHlch(51.81, 75.66, 320.53°)
OKLaboklab(60.96% 0.1498 -0.1344)
OKLCHoklch(60.96% 0.201 318.1)
XYZxyz(32.7938, 19.9749, 61.1475)
Luminance0.1997 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351CF #6DCF51
analogous
#7451CF #B351CF #CF51AC
triadic
#B351CF #CFB351 #51CFB3
tetradic
#B351CF #CF7451 #6DCF51 #51ACCF
square
#B351CF #CF7451 #6DCF51 #51ACCF
split-complementary
#B351CF #ACCF51 #51CF74
monochromatic
#6D2482 #9531B2 #B351CF #C881DC #DDB1E9

Accessibility & contrast

On white

4.20
#B351CF on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.99
#B351CF on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351CF
4.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351CF#FFFFFF#000000##000000
##B351CF1.004.204.994.99
#FFFFFF4.201.0021.0021.00
#0000004.9921.001.001.00
##0000004.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#2E75D3
Deuteranopia (green-blind)
#567FCC
Tritanopia (blue-blind)
#B36689
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b351cf;
/* rgb */ color: rgb(179, 81, 207);
/* oklch */ color: oklch(61.0% 0.201 318.1);
Tailwind
colors: {
  custom: {
    50: '#cd87de',
    500: '#b351cf',
    950: '#000000',
  },
}
SCSS
$custom: #b351cf;
$custom-light: #cd87de;
$custom-dark: #000000;
JSON
{
  "hex": "#b351cf",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 207
  },
  "hsl": {
    "h": 286.667,
    "s": 56.757,
    "l": 56.471
  },
  "oklch": {
    "l": 0.60957,
    "c": 0.20122,
    "h": 318.1
  },
  "luminance": 0.19974
}

Semantic roles & 50–950 ramp

primary
#B351CF
secondary
#B0D8A4
accent
#E0486A
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B351CF

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

Preview Lab → · Contrast checker → · Palette generator →

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