#D368FB#D368FB

#D368FB is a light, highly saturated purple. Relative luminance 0.307; OKLCH L 70.2% C 0.224 H 315.8°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#D368FB
RGBrgb(211, 104, 251)
HSLhsl(284, 95%, 70%)
HSVhsv(284, 59%, 98%)
CMYKcmyk(15.9%, 58.6%, 0%, 1.6%)
CIE-LABlab(62.27, 64.17, -55.89)
CIE-LCHlch(62.27, 85.09, 318.95°)
OKLaboklab(70.21% 0.1609 -0.1564)
OKLCHoklch(70.21% 0.224 315.8)
XYZxyz(49.2242, 30.7162, 94.5839)
Luminance0.3071 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D368FB #90FB68
analogous
#8968FB #D368FB #FB68DA
triadic
#D368FB #FBD368 #68FBD3
tetradic
#D368FB #FB8968 #90FB68 #68DAFB
square
#D368FB #FB8968 #90FB68 #68DAFB
split-complementary
#D368FB #DAFB68 #68FB89
monochromatic
#A706E3 #C22CF9 #D368FB #E4A4FD #F6DFFE

Accessibility & contrast

On white

2.94
#D368FB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#D368FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D368FB
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D368FB#FFFFFF#000000##000000
##D368FB1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#3D90FF
Deuteranopia (green-blind)
#689AF7
Tritanopia (blue-blind)
#D181A8
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d368fb;
/* rgb */ color: rgb(211, 104, 251);
/* oklch */ color: oklch(70.2% 0.224 315.8);
Tailwind
colors: {
  custom: {
    50: '#e498fd',
    500: '#d368fb',
    950: '#000000',
  },
}
SCSS
$custom: #d368fb;
$custom-light: #e498fd;
$custom-dark: #000000;
JSON
{
  "hex": "#d368fb",
  "rgb": {
    "r": 211,
    "g": 104,
    "b": 251
  },
  "hsl": {
    "h": 283.673,
    "s": 94.839,
    "l": 69.608
  },
  "oklch": {
    "l": 0.70211,
    "c": 0.22435,
    "h": 315.8
  },
  "luminance": 0.30715
}

Semantic roles & 50–950 ramp

primary
#D368FB
secondary
#D6F4CA
accent
#E6003E
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#160E18
muted
#847E86

Preview Lab

Preview with #D368FB

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

Preview Lab → · Contrast checker → · Palette generator →

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