#D368FC#D368FC

#D368FC is a light, highly saturated purple. Relative luminance 0.308; OKLCH L 70.3% C 0.225 H 315.6°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#D368FC
RGBrgb(211, 104, 252)
HSLhsl(283, 96%, 70%)
HSVhsv(283, 59%, 99%)
CMYKcmyk(16.3%, 58.7%, 0%, 1.2%)
CIE-LABlab(62.32, 64.37, -56.35)
CIE-LCHlch(62.32, 85.55, 318.80°)
OKLaboklab(70.27% 0.1609 -0.1578)
OKLCHoklch(70.27% 0.225 315.6)
XYZxyz(49.3822, 30.7794, 95.4163)
Luminance0.3078 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D368FC #91FC68
analogous
#8968FC #D368FC #FC68DB
triadic
#D368FC #FCD368 #68FCD3
tetradic
#D368FC #FC8968 #91FC68 #68DBFC
square
#D368FC #FC8968 #91FC68 #68DBFC
split-complementary
#D368FC #DBFC68 #68FC89
monochromatic
#A705E5 #C22CFB #D368FC #E4A4FD #F6E0FE

Accessibility & contrast

On white

2.93
#D368FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#D368FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D368FC
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D368FC#FFFFFF#000000##000000
##D368FC1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#3C90FF
Deuteranopia (green-blind)
#679AF8
Tritanopia (blue-blind)
#D082A9
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #d368fc;
/* rgb */ color: rgb(211, 104, 252);
/* oklch */ color: oklch(70.3% 0.225 315.6);
Tailwind
colors: {
  custom: {
    50: '#e498fe',
    500: '#d368fc',
    950: '#000000',
  },
}
SCSS
$custom: #d368fc;
$custom-light: #e498fe;
$custom-dark: #000000;
JSON
{
  "hex": "#d368fc",
  "rgb": {
    "r": 211,
    "g": 104,
    "b": 252
  },
  "hsl": {
    "h": 283.378,
    "s": 96.104,
    "l": 69.804
  },
  "oklch": {
    "l": 0.70267,
    "c": 0.22532,
    "h": 315.6
  },
  "luminance": 0.30778
}

Semantic roles & 50–950 ramp

primary
#D368FC
secondary
#D7F5CB
accent
#E60040
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D368FC

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

Preview Lab → · Contrast checker → · Palette generator →

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