#B351DE#B351DE

#B351DE is a mid, highly saturated purple. Relative luminance 0.207; OKLCH L 61.9% C 0.216 H 313.9°. Best body text is #000000 at 5.15:1 contrast (WCAG AA passes).

Color values

HEX#B351DE
RGBrgb(179, 81, 222)
HSLhsl(282, 68%, 59%)
HSVhsv(282, 64%, 87%)
CMYKcmyk(19.4%, 63.5%, 0%, 12.9%)
CIE-LABlab(52.67, 61.43, -55.26)
CIE-LCHlch(52.67, 82.62, 318.03°)
OKLaboklab(61.86% 0.1497 -0.1553)
OKLCHoklch(61.86% 0.216 313.9)
XYZxyz(34.7154, 20.7436, 71.2683)
Luminance0.2074 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B351DE #7CDE51
analogous
#6D51DE #B351DE #DE51C3
triadic
#B351DE #DEB351 #51DEB3
tetradic
#B351DE #DE6D51 #7CDE51 #51C3DE
square
#B351DE #DE6D51 #7CDE51 #51C3DE
split-complementary
#B351DE #C3DE51 #51DE6D
monochromatic
#721D98 #9927CB #B351DE #C984E8 #E0B8F2

Accessibility & contrast

On white

4.08
#B351DE on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.15
#B351DE on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #B351DE
5.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B351DE#FFFFFF#000000##000000
##B351DE1.004.085.155.15
#FFFFFF4.081.0021.0021.00
#0000005.1521.001.001.00
##0000005.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#1178E2
Deuteranopia (green-blind)
#4B80DB
Tritanopia (blue-blind)
#AF6C90
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #b351de;
/* rgb */ color: rgb(179, 81, 222);
/* oklch */ color: oklch(61.9% 0.216 313.9);
Tailwind
colors: {
  custom: {
    50: '#cd88e9',
    500: '#b351de',
    950: '#000000',
  },
}
SCSS
$custom: #b351de;
$custom-light: #cd88e9;
$custom-dark: #000000;
JSON
{
  "hex": "#b351de",
  "rgb": {
    "r": 179,
    "g": 81,
    "b": 222
  },
  "hsl": {
    "h": 281.702,
    "s": 68.116,
    "l": 59.412
  },
  "oklch": {
    "l": 0.61856,
    "c": 0.2157,
    "h": 313.9
  },
  "luminance": 0.20742
}

Semantic roles & 50–950 ramp

primary
#B351DE
secondary
#BBE1AA
accent
#EB3D72
background
#FDF8FE
surface
#FAF0FD
border
#D3CBD5
text
#140C16
muted
#837D84

Preview Lab

Preview with #B351DE

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

Preview Lab → · Contrast checker → · Palette generator →

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