#D374F8#D374F8

#D374F8 is a light, highly saturated purple. Relative luminance 0.331; OKLCH L 71.6% C 0.204 H 315.7°. Best body text is #000000 at 7.62:1 contrast (WCAG AA passes).

Color values

HEX#D374F8
RGBrgb(211, 116, 248)
HSLhsl(283, 90%, 71%)
HSVhsv(283, 53%, 97%)
CMYKcmyk(14.9%, 53.2%, 0%, 2.7%)
CIE-LABlab(64.26, 57.83, -51.08)
CIE-LCHlch(64.26, 77.15, 318.55°)
OKLaboklab(71.62% 0.1457 -0.1424)
OKLCHoklch(71.62% 0.204 315.7)
XYZxyz(50.0500, 33.1185, 92.5448)
Luminance0.3312 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374F8 #99F874
analogous
#9174F8 #D374F8 #F874DB
triadic
#D374F8 #F8D374 #74F8D3
tetradic
#D374F8 #F89174 #99F874 #74DBF8
square
#D374F8 #F89174 #99F874 #74DBF8
split-complementary
#D374F8 #DBF874 #74F891
monochromatic
#A90CE6 #C13AF5 #D374F8 #E5AEFB #F6E2FE

Accessibility & contrast

On white

2.75
#D374F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.62
#D374F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374F8
7.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374F8#FFFFFF#000000##000000
##D374F81.002.757.627.62
#FFFFFF2.751.0021.0021.00
#0000007.6221.001.001.00
##0000007.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#5596FC
Deuteranopia (green-blind)
#749FF5
Tritanopia (blue-blind)
#D189AB
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #d374f8;
/* rgb */ color: rgb(211, 116, 248);
/* oklch */ color: oklch(71.6% 0.204 315.7);
Tailwind
colors: {
  custom: {
    50: '#e39ffb',
    500: '#d374f8',
    950: '#000000',
  },
}
SCSS
$custom: #d374f8;
$custom-light: #e39ffb;
$custom-dark: #000000;
JSON
{
  "hex": "#d374f8",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 248
  },
  "hsl": {
    "h": 283.182,
    "s": 90.411,
    "l": 71.373
  },
  "oklch": {
    "l": 0.71617,
    "c": 0.20378,
    "h": 315.7
  },
  "luminance": 0.33117
}

Semantic roles & 50–950 ramp

primary
#D374F8
secondary
#DCF5D3
accent
#E60040
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D374F8

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

Preview Lab → · Contrast checker → · Palette generator →

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