#D374FC#D374FC

#D374FC is a light, highly saturated purple. Relative luminance 0.334; OKLCH L 71.8% C 0.208 H 314.6°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#D374FC
RGBrgb(211, 116, 252)
HSLhsl(282, 96%, 72%)
HSVhsv(282, 54%, 99%)
CMYKcmyk(16.3%, 54%, 0%, 1.2%)
CIE-LABlab(64.46, 58.64, -52.96)
CIE-LCHlch(64.46, 79.01, 317.91°)
OKLaboklab(71.83% 0.146 -0.1479)
OKLCHoklch(71.83% 0.208 314.6)
XYZxyz(50.6772, 33.3694, 95.8480)
Luminance0.3337 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374FC #9DFC74
analogous
#8F74FC #D374FC #FC74E1
triadic
#D374FC #FCD374 #74FCD3
tetradic
#D374FC #FC8F74 #9DFC74 #74E1FC
square
#D374FC #FC8F74 #9DFC74 #74E1FC
split-complementary
#D374FC #E1FC74 #74FC8F
monochromatic
#AA05F0 #C038FB #D374FC #E6B0FD #F6E1FE

Accessibility & contrast

On white

2.74
#D374FC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#D374FC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374FC
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374FC#FFFFFF#000000##000000
##D374FC1.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5297FF
Deuteranopia (green-blind)
#729FF8
Tritanopia (blue-blind)
#D08AAD
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d374fc;
/* rgb */ color: rgb(211, 116, 252);
/* oklch */ color: oklch(71.8% 0.208 314.6);
Tailwind
colors: {
  custom: {
    50: '#e39ffe',
    500: '#d374fc',
    950: '#000000',
  },
}
SCSS
$custom: #d374fc;
$custom-light: #e39ffe;
$custom-dark: #000000;
JSON
{
  "hex": "#d374fc",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 252
  },
  "hsl": {
    "h": 281.912,
    "s": 95.775,
    "l": 72.157
  },
  "oklch": {
    "l": 0.71831,
    "c": 0.20784,
    "h": 314.6
  },
  "luminance": 0.33368
}

Semantic roles & 50–950 ramp

primary
#D374FC
secondary
#DFF7D4
accent
#E60045
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D374FC

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

Preview Lab → · Contrast checker → · Palette generator →

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