#D374EB#D374EB

#D374EB is a light, vivid purple. Relative luminance 0.323; OKLCH L 70.9% C 0.191 H 319.2°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#D374EB
RGBrgb(211, 116, 235)
HSLhsl(288, 75%, 69%)
HSVhsv(288, 51%, 92%)
CMYKcmyk(10.2%, 50.6%, 0%, 7.8%)
CIE-LABlab(63.62, 55.26, -44.90)
CIE-LCHlch(63.62, 71.20, 320.91°)
OKLaboklab(70.94% 0.1445 -0.1245)
OKLCHoklch(70.94% 0.191 319.2)
XYZxyz(48.1028, 32.3397, 82.2895)
Luminance0.3234 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374EB #8CEB74
analogous
#9874EB #D374EB #EB74C8
triadic
#D374EB #EBD374 #74EBD3
tetradic
#D374EB #EB9874 #8CEB74 #74C8EB
square
#D374EB #EB9874 #8CEB74 #74C8EB
split-complementary
#D374EB #C8EB74 #74EB98
monochromatic
#A51DC8 #C23EE3 #D374EB #E4AAF3 #F5DFFA

Accessibility & contrast

On white

2.81
#D374EB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#D374EB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374EB
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374EB#FFFFFF#000000##000000
##D374EB1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#5E94EF
Deuteranopia (green-blind)
#7C9DE8
Tritanopia (blue-blind)
#D485A5
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #d374eb;
/* rgb */ color: rgb(211, 116, 235);
/* oklch */ color: oklch(70.9% 0.191 319.2);
Tailwind
colors: {
  custom: {
    50: '#e39ff2',
    500: '#d374eb',
    950: '#000000',
  },
}
SCSS
$custom: #d374eb;
$custom-light: #e39ff2;
$custom-dark: #000000;
JSON
{
  "hex": "#d374eb",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 235
  },
  "hsl": {
    "h": 287.899,
    "s": 74.843,
    "l": 68.824
  },
  "oklch": {
    "l": 0.70943,
    "c": 0.19073,
    "h": 319.2
  },
  "luminance": 0.32338
}

Semantic roles & 50–950 ramp

primary
#D374EB
secondary
#D3EFCC
accent
#D70F37
background
#FEFAFE
surface
#FCF3FD
border
#D5CDD5
text
#160F17
muted
#847F85

Preview Lab

Preview with #D374EB

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

Preview Lab → · Contrast checker → · Palette generator →

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