#D351F9#D351F9

#D351F9 is a light, highly saturated purple. Relative luminance 0.266; OKLCH L 67.5% C 0.253 H 317.6°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#D351F9
RGBrgb(211, 81, 249)
HSLhsl(286, 93%, 65%)
HSVhsv(286, 67%, 98%)
CMYKcmyk(15.3%, 67.5%, 0%, 2.4%)
CIE-LABlab(58.58, 73.65, -60.67)
CIE-LCHlch(58.58, 95.43, 320.52°)
OKLaboklab(67.51% 0.1865 -0.1703)
OKLCHoklch(67.51% 0.253 317.6)
XYZxyz(46.9028, 26.5753, 92.2631)
Luminance0.2657 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D351F9 #77F951
analogous
#7F51F9 #D351F9 #F951CB
triadic
#D351F9 #F9D351 #51F9D3
tetradic
#D351F9 #F97F51 #77F951 #51CBF9
square
#D351F9 #F97F51 #77F951 #51CBF9
split-complementary
#D351F9 #CBF951 #51F97F
monochromatic
#9D07C9 #C416F7 #D351F9 #E28CFB #F1C7FD

Accessibility & contrast

On white

3.33
#D351F9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#D351F9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D351F9
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D351F9#FFFFFF#000000##000000
##D351F91.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#0085FE
Deuteranopia (green-blind)
#5691F5
Tritanopia (blue-blind)
#D2719F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #d351f9;
/* rgb */ color: rgb(211, 81, 249);
/* oklch */ color: oklch(67.5% 0.253 317.6);
Tailwind
colors: {
  custom: {
    50: '#e58bfc',
    500: '#d351f9',
    950: '#000000',
  },
}
SCSS
$custom: #d351f9;
$custom-light: #e58bfc;
$custom-dark: #000000;
JSON
{
  "hex": "#d351f9",
  "rgb": {
    "r": 211,
    "g": 81,
    "b": 249
  },
  "hsl": {
    "h": 286.429,
    "s": 93.333,
    "l": 64.706
  },
  "oklch": {
    "l": 0.6751,
    "c": 0.25255,
    "h": 317.6
  },
  "luminance": 0.26573
}

Semantic roles & 50–950 ramp

primary
#D351F9
secondary
#C3F0B6
accent
#E60034
background
#FEF9FF
surface
#FDF1FF
border
#D5CBD7
text
#160D18
muted
#847E86

Preview Lab

Preview with #D351F9

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

Preview Lab → · Contrast checker → · Palette generator →

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