#D368F7#D368F7

#D368F7 is a light, highly saturated purple. Relative luminance 0.305; OKLCH L 70.0% C 0.220 H 316.8°. Best body text is #000000 at 7.09:1 contrast (WCAG AA passes).

Color values

HEX#D368F7
RGBrgb(211, 104, 247)
HSLhsl(285, 90%, 69%)
HSVhsv(285, 58%, 97%)
CMYKcmyk(14.6%, 57.9%, 0%, 3.1%)
CIE-LABlab(62.05, 63.38, -54.02)
CIE-LCHlch(62.05, 83.28, 319.56°)
OKLaboklab(69.99% 0.1607 -0.1509)
OKLCHoklch(69.99% 0.22 316.8)
XYZxyz(48.6003, 30.4667, 91.2982)
Luminance0.3046 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D368F7 #8CF768
analogous
#8C68F7 #D368F7 #F768D4
triadic
#D368F7 #F7D368 #68F7D3
tetradic
#D368F7 #F78C68 #8CF768 #68D4F7
square
#D368F7 #F78C68 #8CF768 #68D4F7
split-complementary
#D368F7 #D4F768 #68F78C
monochromatic
#A50CD9 #C22EF4 #D368F7 #E4A2FA #F5DCFD

Accessibility & contrast

On white

2.96
#D368F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.09
#D368F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D368F7
7.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D368F7#FFFFFF#000000##000000
##D368F71.002.967.097.09
#FFFFFF2.961.0021.0021.00
#0000007.0921.001.001.00
##0000007.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#428FFC
Deuteranopia (green-blind)
#6B99F3
Tritanopia (blue-blind)
#D180A6
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d368f7;
/* rgb */ color: rgb(211, 104, 247);
/* oklch */ color: oklch(70.0% 0.220 316.8);
Tailwind
colors: {
  custom: {
    50: '#e498fa',
    500: '#d368f7',
    950: '#000000',
  },
}
SCSS
$custom: #d368f7;
$custom-light: #e498fa;
$custom-dark: #000000;
JSON
{
  "hex": "#d368f7",
  "rgb": {
    "r": 211,
    "g": 104,
    "b": 247
  },
  "hsl": {
    "h": 284.895,
    "s": 89.937,
    "l": 68.824
  },
  "oklch": {
    "l": 0.69987,
    "c": 0.22049,
    "h": 316.8
  },
  "luminance": 0.30465
}

Semantic roles & 50–950 ramp

primary
#D368F7
secondary
#D3F3C8
accent
#E6003A
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D368F7

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

Preview Lab → · Contrast checker → · Palette generator →

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