#D368FE#D368FE

#D368FE is a light, highly saturated purple. Relative luminance 0.309; OKLCH L 70.4% C 0.227 H 315.1°. Best body text is #000000 at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#D368FE
RGBrgb(211, 104, 254)
HSLhsl(283, 99%, 70%)
HSVhsv(283, 59%, 100%)
CMYKcmyk(16.9%, 59.1%, 0%, 0.4%)
CIE-LABlab(62.43, 64.76, -57.28)
CIE-LCHlch(62.43, 86.46, 318.51°)
OKLaboklab(70.38% 0.1609 -0.1605)
OKLCHoklch(70.38% 0.227 315.1)
XYZxyz(49.7008, 30.9069, 97.0943)
Luminance0.3090 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D368FE #93FE68
analogous
#8868FE #D368FE #FE68DE
triadic
#D368FE #FED368 #68FED3
tetradic
#D368FE #FE8868 #93FE68 #68DEFE
square
#D368FE #FE8868 #93FE68 #68DEFE
split-complementary
#D368FE #DEFE68 #68FE88
monochromatic
#A702EA #C12BFE #D368FE #E5A5FE #F6E1FF

Accessibility & contrast

On white

2.92
#D368FE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.18
#D368FE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D368FE
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D368FE#FFFFFF#000000##000000
##D368FE1.002.927.187.18
#FFFFFF2.921.0021.0021.00
#0000007.1821.001.001.00
##0000007.1821.001.001.00

Color blindness preview

Protanopia (red-blind)
#3A91FF
Deuteranopia (green-blind)
#669AFA
Tritanopia (blue-blind)
#D082AA
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d368fe;
/* rgb */ color: rgb(211, 104, 254);
/* oklch */ color: oklch(70.4% 0.227 315.1);
Tailwind
colors: {
  custom: {
    50: '#e498ff',
    500: '#d368fe',
    950: '#000000',
  },
}
SCSS
$custom: #d368fe;
$custom-light: #e498ff;
$custom-dark: #000000;
JSON
{
  "hex": "#d368fe",
  "rgb": {
    "r": 211,
    "g": 104,
    "b": 254
  },
  "hsl": {
    "h": 282.8,
    "s": 98.684,
    "l": 70.196
  },
  "oklch": {
    "l": 0.70381,
    "c": 0.22725,
    "h": 315.1
  },
  "luminance": 0.30905
}

Semantic roles & 50–950 ramp

primary
#D368FE
secondary
#D8F6CC
accent
#E60042
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D368FE

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

Preview Lab → · Contrast checker → · Palette generator →

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