#B351DD#B351DD

#B351DD is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.8% C 0.215 H 314.2°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).

Color values

HEX#B351DD
RGBrgb(179, 81, 221)
HSLhsl(282, 67%, 59%)
HSVhsv(282, 63%, 87%)
CMYKcmyk(19%, 63.3%, 0%, 13.3%)
CIE-LABlab(52.61, 61.22, -54.79)
CIE-LCHlch(52.61, 82.16, 318.18°)
OKLaboklab(61.79% 0.1497 -0.1539)
OKLCHoklch(61.79% 0.215 314.2)
XYZxyz(34.5818, 20.6901, 70.5645)
Luminance0.2069 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351DD #7BDD51
analogous
#6D51DD #B351DD #DD51C1
triadic
#B351DD #DDB351 #51DDB3
tetradic
#B351DD #DD6D51 #7BDD51 #51C1DD
square
#B351DD #DD6D51 #7BDD51 #51C1DD
split-complementary
#B351DD #C1DD51 #51DD6D
monochromatic
#721D96 #9927C9 #B351DD #C984E7 #E0B7F1

Accessibility & contrast

On white

4.09
#B351DD on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.14
#B351DD on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351DD
5.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351DD#FFFFFF#000000##000000
##B351DD1.004.095.145.14
#FFFFFF4.091.0021.0021.00
#0000005.1421.001.001.00
##0000005.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#1478E1
Deuteranopia (green-blind)
#4C80DA
Tritanopia (blue-blind)
#AF6B90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b351dd;
/* rgb */ color: rgb(179, 81, 221);
/* oklch */ color: oklch(61.8% 0.215 314.2);
Tailwind
colors: {
  custom: {
    50: '#cd88e8',
    500: '#b351dd',
    950: '#000000',
  },
}
SCSS
$custom: #b351dd;
$custom-light: #cd88e8;
$custom-dark: #000000;
JSON
{
  "hex": "#b351dd",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 221
  },
  "hsl": {
    "h": 282,
    "s": 67.308,
    "l": 59.216
  },
  "oklch": {
    "l": 0.61794,
    "c": 0.21473,
    "h": 314.2
  },
  "luminance": 0.20689
}

Semantic roles & 50–950 ramp

primary
#B351DD
secondary
#BAE0AA
accent
#EA3E71
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B351DD

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

Preview Lab → · Contrast checker → · Palette generator →

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