#D351E7#D351E7

#D351E7 is a light, highly saturated purple. Relative luminance 0.255; OKLCH L 66.5% C 0.237 H 322.1°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#D351E7
RGBrgb(211, 81, 231)
HSLhsl(292, 76%, 61%)
HSVhsv(292, 65%, 91%)
CMYKcmyk(8.7%, 64.9%, 0%, 9.4%)
CIE-LABlab(57.56, 70.37, -52.26)
CIE-LCHlch(57.56, 87.65, 323.40°)
OKLaboklab(66.46% 0.187 -0.1456)
OKLCHoklch(66.46% 0.237 322.1)
XYZxyz(44.2287, 25.5056, 78.1792)
Luminance0.2550 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351E7 #65E751
analogous
#8851E7 #D351E7 #E751B0
triadic
#D351E7 #E7D351 #51E7D3
tetradic
#D351E7 #E78851 #65E751 #51B0E7
square
#D351E7 #E78851 #65E751 #51B0E7
split-complementary
#D351E7 #B0E751 #51E788
monochromatic
#9317A7 #C31EDC #D351E7 #E187EE #EEBDF6

Accessibility & contrast

On white

3.44
#D351E7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#D351E7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351E7
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351E7#FFFFFF#000000##000000
##D351E71.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#2981EB
Deuteranopia (green-blind)
#648FE3
Tritanopia (blue-blind)
#D56A96
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #d351e7;
/* rgb */ color: rgb(211, 81, 231);
/* oklch */ color: oklch(66.5% 0.237 322.1);
Tailwind
colors: {
  custom: {
    50: '#e48bef',
    500: '#d351e7',
    950: '#000000',
  },
}
SCSS
$custom: #d351e7;
$custom-light: #e48bef;
$custom-dark: #000000;
JSON
{
  "hex": "#d351e7",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 231
  },
  "hsl": {
    "h": 292,
    "s": 75.758,
    "l": 61.176
  },
  "oklch": {
    "l": 0.66455,
    "c": 0.23705,
    "h": 322.1
  },
  "luminance": 0.25503
}

Semantic roles & 50–950 ramp

primary
#D351E7
secondary
#B5E6AE
accent
#D80E29
background
#FEF8FE
surface
#FDF0FD
border
#D5CBD5
text
#160D16
muted
#847D84

Preview Lab

Preview with #D351E7

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

Preview Lab → · Contrast checker → · Palette generator →

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