#D374FB#D374FB

#D374FB is a light, highly saturated purple. Relative luminance 0.333; OKLCH L 71.8% C 0.207 H 314.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).

Color values

HEX#D374FB
RGBrgb(211, 116, 251)
HSLhsl(282, 94%, 72%)
HSVhsv(282, 54%, 98%)
CMYKcmyk(15.9%, 53.8%, 0%, 1.6%)
CIE-LABlab(64.41, 58.43, -52.49)
CIE-LCHlch(64.41, 78.54, 318.07°)
OKLaboklab(71.78% 0.146 -0.1466)
OKLCHoklch(71.78% 0.207 314.9)
XYZxyz(50.5192, 33.3062, 95.0156)
Luminance0.3331 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374FB #9CFB74
analogous
#9074FB #D374FB #FB74E0
triadic
#D374FB #FBD374 #74FBD3
tetradic
#D374FB #FB9074 #9CFB74 #74E0FB
square
#D374FB #FB9074 #9CFB74 #74E0FB
split-complementary
#D374FB #E0FB74 #74FB90
monochromatic
#A907EE #C039F9 #D374FB #E6AFFD #F6E1FE

Accessibility & contrast

On white

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

On black

7.66
#D374FB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374FB
7.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374FB#FFFFFF#000000##000000
##D374FB1.002.747.667.66
#FFFFFF2.741.0021.0021.00
#0000007.6621.001.001.00
##0000007.6621.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: #d374fb;
/* rgb */ color: rgb(211, 116, 251);
/* oklch */ color: oklch(71.8% 0.207 314.9);
Tailwind
colors: {
  custom: {
    50: '#e39ffd',
    500: '#d374fb',
    950: '#000000',
  },
}
SCSS
$custom: #d374fb;
$custom-light: #e39ffd;
$custom-dark: #000000;
JSON
{
  "hex": "#d374fb",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 251
  },
  "hsl": {
    "h": 282.222,
    "s": 94.406,
    "l": 71.961
  },
  "oklch": {
    "l": 0.71777,
    "c": 0.20684,
    "h": 314.9
  },
  "luminance": 0.33305
}

Semantic roles & 50–950 ramp

primary
#D374FB
secondary
#DFF6D4
accent
#E60044
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F18
muted
#847F86

Preview Lab

Preview with #D374FB

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

Preview Lab → · Contrast checker → · Palette generator →

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