#D351EB#D351EB

#D351EB is a light, highly saturated purple. Relative luminance 0.257; OKLCH L 66.7% C 0.240 H 321.0°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#D351EB
RGBrgb(211, 81, 235)
HSLhsl(291, 79%, 62%)
HSVhsv(291, 66%, 92%)
CMYKcmyk(10.2%, 65.5%, 0%, 7.8%)
CIE-LABlab(57.78, 71.09, -54.15)
CIE-LCHlch(57.78, 89.36, 322.70°)
OKLaboklab(66.68% 0.187 -0.1512)
OKLCHoklch(66.68% 0.24 321)
XYZxyz(44.8001, 25.7342, 81.1886)
Luminance0.2573 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351EB #69EB51
analogous
#8651EB #D351EB #EB51B6
triadic
#D351EB #EBD351 #51EBD3
tetradic
#D351EB #EB8651 #69EB51 #51B6EB
square
#D351EB #EB8651 #69EB51 #51B6EB
split-complementary
#D351EB #B6EB51 #51EB86
monochromatic
#9614AE #C51AE5 #D351EB #E188F1 #EFBFF8

Accessibility & contrast

On white

3.42
#D351EB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#D351EB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351EB
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351EB#FFFFFF#000000##000000
##D351EB1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#2282F0
Deuteranopia (green-blind)
#6190E7
Tritanopia (blue-blind)
#D56B98
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #d351eb;
/* rgb */ color: rgb(211, 81, 235);
/* oklch */ color: oklch(66.7% 0.240 321.0);
Tailwind
colors: {
  custom: {
    50: '#e48bf2',
    500: '#d351eb',
    950: '#000000',
  },
}
SCSS
$custom: #d351eb;
$custom-light: #e48bf2;
$custom-dark: #000000;
JSON
{
  "hex": "#d351eb",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 235
  },
  "hsl": {
    "h": 290.649,
    "s": 79.381,
    "l": 61.961
  },
  "oklch": {
    "l": 0.66684,
    "c": 0.24047,
    "h": 321
  },
  "luminance": 0.25732
}

Semantic roles & 50–950 ramp

primary
#D351EB
secondary
#B8E8B0
accent
#DC0A2B
background
#FEF9FE
surface
#FDF1FD
border
#D5CBD5
text
#160D17
muted
#847E85

Preview Lab

Preview with #D351EB

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

Preview Lab → · Contrast checker → · Palette generator →

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