#B351D5#B351D5

#B351D5 is a mid, highly saturated purple. Relative luminance 0.203; OKLCH L 61.3% C 0.207 H 316.4°. Best body text is #000000 at 5.05:1 contrast (WCAG AA passes).

Color values

HEX#B351D5
RGBrgb(179, 81, 213)
HSLhsl(285, 61%, 58%)
HSVhsv(285, 62%, 84%)
CMYKcmyk(16%, 62%, 0%, 16.5%)
CIE-LABlab(52.15, 59.60, -50.98)
CIE-LCHlch(52.15, 78.43, 319.46°)
OKLaboklab(61.31% 0.1498 -0.1428)
OKLCHoklch(61.31% 0.207 316.4)
XYZxyz(33.5413, 20.2739, 65.0843)
Luminance0.2027 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351D5 #73D551
analogous
#7151D5 #B351D5 #D551B5
triadic
#B351D5 #D5B351 #51D5B3
tetradic
#B351D5 #D57151 #73D551 #51B5D5
square
#B351D5 #D57151 #73D551 #51B5D5
split-complementary
#B351D5 #B5D551 #51D571
monochromatic
#6F218A #972DBC #B351D5 #C982E1 #DEB4ED

Accessibility & contrast

On white

4.15
#B351D5 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.05
#B351D5 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351D5
5.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351D5#FFFFFF#000000##000000
##B351D51.004.155.055.05
#FFFFFF4.151.0021.0021.00
#0000005.0521.001.001.00
##0000005.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2676D9
Deuteranopia (green-blind)
#527FD2
Tritanopia (blue-blind)
#B1688C
Achromatopsia (no color)
#7C7C7C

Design tokens & code

CSS
--color: #b351d5;
/* rgb */ color: rgb(179, 81, 213);
/* oklch */ color: oklch(61.3% 0.207 316.4);
Tailwind
colors: {
  custom: {
    50: '#cd88e2',
    500: '#b351d5',
    950: '#000000',
  },
}
SCSS
$custom: #b351d5;
$custom-light: #cd88e2;
$custom-dark: #000000;
JSON
{
  "hex": "#b351d5",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 213
  },
  "hsl": {
    "h": 284.545,
    "s": 61.111,
    "l": 57.647
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.20699,
    "h": 316.4
  },
  "luminance": 0.20273
}

Semantic roles & 50–950 ramp

primary
#B351D5
secondary
#B4DBA6
accent
#E4446D
background
#FDF8FD
surface
#FAF0FB
border
#D3CBD4
text
#140C15
muted
#837D83

Preview Lab

Preview with #B351D5

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

Preview Lab → · Contrast checker → · Palette generator →

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