#D374F2#D374F2

#D374F2 is a light, vivid purple. Relative luminance 0.328; OKLCH L 71.3% C 0.198 H 317.3°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).

Color values

HEX#D374F2
RGBrgb(211, 116, 242)
HSLhsl(285, 83%, 70%)
HSVhsv(285, 52%, 95%)
CMYKcmyk(12.8%, 52.1%, 0%, 5.1%)
CIE-LABlab(63.96, 56.63, -48.24)
CIE-LCHlch(63.96, 74.39, 319.58°)
OKLaboklab(71.3% 0.1452 -0.1342)
OKLCHoklch(71.3% 0.198 317.3)
XYZxyz(49.1341, 32.7522, 87.7208)
Luminance0.3275 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374F2 #93F274
analogous
#9474F2 #D374F2 #F274D2
triadic
#D374F2 #F2D374 #74F2D3
tetradic
#D374F2 #F29474 #93F274 #74D2F2
square
#D374F2 #F29474 #93F274 #74D2F2
split-complementary
#D374F2 #D2F274 #74F294
monochromatic
#A714D7 #C13CED #D374F2 #E5ACF7 #F6E3FC

Accessibility & contrast

On white

2.78
#D374F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.55
#D374F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374F2
7.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374F2#FFFFFF#000000##000000
##D374F21.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#5A95F6
Deuteranopia (green-blind)
#789EEF
Tritanopia (blue-blind)
#D287A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d374f2;
/* rgb */ color: rgb(211, 116, 242);
/* oklch */ color: oklch(71.3% 0.198 317.3);
Tailwind
colors: {
  custom: {
    50: '#e39ff7',
    500: '#d374f2',
    950: '#000000',
  },
}
SCSS
$custom: #d374f2;
$custom-light: #e39ff7;
$custom-dark: #000000;
JSON
{
  "hex": "#d374f2",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 242
  },
  "hsl": {
    "h": 285.238,
    "s": 82.895,
    "l": 70.196
  },
  "oklch": {
    "l": 0.71302,
    "c": 0.19772,
    "h": 317.3
  },
  "luminance": 0.3275
}

Semantic roles & 50–950 ramp

primary
#D374F2
secondary
#D8F2CF
accent
#DF063C
background
#FEFAFF
surface
#FCF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D374F2

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

Preview Lab → · Contrast checker → · Palette generator →

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