#D368F5#D368F5

#D368F5 is a light, highly saturated purple. Relative luminance 0.303; OKLCH L 69.9% C 0.219 H 317.3°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#D368F5
RGBrgb(211, 104, 245)
HSLhsl(286, 88%, 68%)
HSVhsv(286, 58%, 96%)
CMYKcmyk(13.9%, 57.6%, 0%, 3.9%)
CIE-LABlab(61.95, 62.99, -53.08)
CIE-LCHlch(61.95, 82.37, 319.88°)
OKLaboklab(69.88% 0.1606 -0.1482)
OKLCHoklch(69.88% 0.219 317.3)
XYZxyz(48.2933, 30.3439, 89.6816)
Luminance0.3034 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D368F5 #8AF568
analogous
#8C68F5 #D368F5 #F568D0
triadic
#D368F5 #F5D368 #68F5D3
tetradic
#D368F5 #F58C68 #8AF568 #68D0F5
square
#D368F5 #F58C68 #8AF568 #68D0F5
split-complementary
#D368F5 #D0F568 #68F58C
monochromatic
#A50ED5 #C22FF1 #D368F5 #E4A1F9 #F4DBFD

Accessibility & contrast

On white

2.97
#D368F5 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#D368F5 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D368F5
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D368F5#FFFFFF#000000##000000
##D368F51.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#448FF9
Deuteranopia (green-blind)
#6C99F1
Tritanopia (blue-blind)
#D27FA5
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d368f5;
/* rgb */ color: rgb(211, 104, 245);
/* oklch */ color: oklch(69.9% 0.219 317.3);
Tailwind
colors: {
  custom: {
    50: '#e398f9',
    500: '#d368f5',
    950: '#000000',
  },
}
SCSS
$custom: #d368f5;
$custom-light: #e398f9;
$custom-dark: #000000;
JSON
{
  "hex": "#d368f5",
  "rgb": {
    "r": 211,
    "g": 104,
    "b": 245
  },
  "hsl": {
    "h": 285.532,
    "s": 87.578,
    "l": 68.431
  },
  "oklch": {
    "l": 0.69877,
    "c": 0.21857,
    "h": 317.3
  },
  "luminance": 0.30342
}

Semantic roles & 50–950 ramp

primary
#D368F5
secondary
#D1F2C7
accent
#E40138
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D368F5

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

Preview Lab → · Contrast checker → · Palette generator →

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