#D368F2#D368F2

#D368F2 is a light, highly saturated purple. Relative luminance 0.302; OKLCH L 69.7% C 0.216 H 318.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#D368F2
RGBrgb(211, 104, 242)
HSLhsl(287, 84%, 68%)
HSVhsv(287, 57%, 95%)
CMYKcmyk(12.8%, 57%, 0%, 5.1%)
CIE-LABlab(61.79, 62.41, -51.67)
CIE-LCHlch(61.79, 81.02, 320.38°)
OKLaboklab(69.71% 0.1605 -0.1441)
OKLCHoklch(69.71% 0.216 318.1)
XYZxyz(47.8391, 30.1622, 87.2891)
Luminance0.3016 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D368F2 #87F268
analogous
#8E68F2 #D368F2 #F268CC
triadic
#D368F2 #F2D368 #68F2D3
tetradic
#D368F2 #F28E68 #87F268 #68CCF2
square
#D368F2 #F28E68 #87F268 #68CCF2
split-complementary
#D368F2 #CCF268 #68F28E
monochromatic
#A412CE #C330ED #D368F2 #E3A0F7 #F4D9FC

Accessibility & contrast

On white

2.99
#D368F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#D368F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D368F2
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D368F2#FFFFFF#000000##000000
##D368F21.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#478EF6
Deuteranopia (green-blind)
#6E99EE
Tritanopia (blue-blind)
#D37EA3
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #d368f2;
/* rgb */ color: rgb(211, 104, 242);
/* oklch */ color: oklch(69.7% 0.216 318.1);
Tailwind
colors: {
  custom: {
    50: '#e398f7',
    500: '#d368f2',
    950: '#000000',
  },
}
SCSS
$custom: #d368f2;
$custom-light: #e398f7;
$custom-dark: #000000;
JSON
{
  "hex": "#d368f2",
  "rgb": {
    "r": 211,
    "g": 104,
    "b": 242
  },
  "hsl": {
    "h": 286.522,
    "s": 84.146,
    "l": 67.843
  },
  "oklch": {
    "l": 0.69712,
    "c": 0.2157,
    "h": 318.1
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#D368F2
secondary
#CFF0C6
accent
#E10536
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E17
muted
#847E85

Preview Lab

Preview with #D368F2

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

Preview Lab → · Contrast checker → · Palette generator →

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