#B351DB#B351DB

#B351DB is a mid, highly saturated purple. Relative luminance 0.206; OKLCH L 61.7% C 0.213 H 314.7°. Best body text is #000000 at 5.12:1 contrast (WCAG AA passes).

Color values

HEX#B351DB
RGBrgb(179, 81, 219)
HSLhsl(283, 66%, 59%)
HSVhsv(283, 63%, 86%)
CMYKcmyk(18.3%, 63%, 0%, 14.1%)
CIE-LABlab(52.49, 60.81, -53.84)
CIE-LCHlch(52.49, 81.22, 318.48°)
OKLaboklab(61.67% 0.1498 -0.1512)
OKLCHoklch(61.67% 0.213 314.7)
XYZxyz(34.3169, 20.5842, 69.1695)
Luminance0.2058 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351DB #79DB51
analogous
#6E51DB #B351DB #DB51BE
triadic
#B351DB #DBB351 #51DBB3
tetradic
#B351DB #DB6E51 #79DB51 #51BEDB
square
#B351DB #DB6E51 #79DB51 #51BEDB
split-complementary
#B351DB #BEDB51 #51DB6E
monochromatic
#711E93 #9829C6 #B351DB #C984E5 #DFB6F0

Accessibility & contrast

On white

4.10
#B351DB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.12
#B351DB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351DB
5.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351DB#FFFFFF#000000##000000
##B351DB1.004.105.125.12
#FFFFFF4.101.0021.0021.00
#0000005.1221.001.001.00
##0000005.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#1A78DF
Deuteranopia (green-blind)
#4D80D8
Tritanopia (blue-blind)
#B06B8F
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #b351db;
/* rgb */ color: rgb(179, 81, 219);
/* oklch */ color: oklch(61.7% 0.213 314.7);
Tailwind
colors: {
  custom: {
    50: '#cd88e7',
    500: '#b351db',
    950: '#000000',
  },
}
SCSS
$custom: #b351db;
$custom-light: #cd88e7;
$custom-dark: #000000;
JSON
{
  "hex": "#b351db",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 219
  },
  "hsl": {
    "h": 282.609,
    "s": 65.714,
    "l": 58.824
  },
  "oklch": {
    "l": 0.61672,
    "c": 0.21279,
    "h": 314.7
  },
  "luminance": 0.20583
}

Semantic roles & 50–950 ramp

primary
#B351DB
secondary
#B8DFA9
accent
#E93F70
background
#FDF8FE
surface
#FAF0FC
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B351DB

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

Preview Lab → · Contrast checker → · Palette generator →

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