#B351CD#B351CD

#B351CD is a mid, vivid purple. Relative luminance 0.199; OKLCH L 60.8% C 0.199 H 318.7°. Best body text is #000000 at 4.98:1 contrast (WCAG AA passes).

Color values

HEX#B351CD
RGBrgb(179, 81, 205)
HSLhsl(287, 55%, 56%)
HSVhsv(287, 60%, 80%)
CMYKcmyk(12.7%, 60.5%, 0%, 19.6%)
CIE-LABlab(51.70, 58.02, -47.13)
CIE-LCHlch(51.70, 74.74, 320.91°)
OKLaboklab(60.84% 0.1497 -0.1316)
OKLCHoklch(60.84% 0.199 318.7)
XYZxyz(32.5508, 19.8777, 59.8679)
Luminance0.1988 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351CD #6BCD51
analogous
#7551CD #B351CD #CD51A9
triadic
#B351CD #CDB351 #51CDB3
tetradic
#B351CD #CD7551 #6BCD51 #51A9CD
square
#B351CD #CD7551 #6BCD51 #51A9CD
split-complementary
#B351CD #A9CD51 #51CD75
monochromatic
#6C257F #9532AF #B351CD #C881DB #DDB0E8

Accessibility & contrast

On white

4.22
#B351CD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.98
#B351CD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351CD
4.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351CD#FFFFFF#000000##000000
##B351CD1.004.224.984.98
#FFFFFF4.221.0021.0021.00
#0000004.9821.001.001.00
##0000004.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3175D1
Deuteranopia (green-blind)
#587FCA
Tritanopia (blue-blind)
#B36588
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #b351cd;
/* rgb */ color: rgb(179, 81, 205);
/* oklch */ color: oklch(60.8% 0.199 318.7);
Tailwind
colors: {
  custom: {
    50: '#cd87dd',
    500: '#b351cd',
    950: '#000000',
  },
}
SCSS
$custom: #b351cd;
$custom-light: #cd87dd;
$custom-dark: #000000;
JSON
{
  "hex": "#b351cd",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 205
  },
  "hsl": {
    "h": 287.419,
    "s": 55.357,
    "l": 56.078
  },
  "oklch": {
    "l": 0.60842,
    "c": 0.19931,
    "h": 318.7
  },
  "luminance": 0.19876
}

Semantic roles & 50–950 ramp

primary
#B351CD
secondary
#AED7A3
accent
#DF4968
background
#FCF8FD
surface
#F9F0FB
border
#D2CBD4
text
#140C15
muted
#827D83

Preview Lab

Preview with #B351CD

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

Preview Lab → · Contrast checker → · Palette generator →

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