#D374CB#D374CB

#D374CB is a light, vivid purple. Relative luminance 0.307; OKLCH L 69.4% C 0.160 H 330.3°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#D374CB
RGBrgb(211, 116, 203)
HSLhsl(305, 52%, 64%)
HSVhsv(305, 45%, 83%)
CMYKcmyk(0%, 45%, 3.8%, 17.3%)
CIE-LABlab(62.21, 49.33, -29.20)
CIE-LCHlch(62.21, 57.33, 329.38°)
OKLaboklab(69.44% 0.1393 -0.0795)
OKLCHoklch(69.44% 0.16 330.3)
XYZxyz(43.8884, 30.6539, 60.0934)
Luminance0.3065 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D374CB #74D37C
analogous
#AC74D3 #D374CB #D3749C
triadic
#D374CB #CBD374 #74CBD3
tetradic
#D374CB #D3AC74 #74D37C #749CD3
square
#D374CB #D3AC74 #74D37C #749CD3
split-complementary
#D374CB #9CD374 #74D3AC
monochromatic
#9B3192 #C446BA #D374CB #E2A2DC #F0D1EE

Accessibility & contrast

On white

2.95
#D374CB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#D374CB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D374CB
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D374CB#FFFFFF#000000##000000
##D374CB1.002.957.137.13
#FFFFFF2.951.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#708ECE
Deuteranopia (green-blind)
#8A9BC8
Tritanopia (blue-blind)
#DA7B96
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #d374cb;
/* rgb */ color: rgb(211, 116, 203);
/* oklch */ color: oklch(69.4% 0.160 330.3);
Tailwind
colors: {
  custom: {
    50: '#e29fdb',
    500: '#d374cb',
    950: '#000000',
  },
}
SCSS
$custom: #d374cb;
$custom-light: #e29fdb;
$custom-dark: #000000;
JSON
{
  "hex": "#d374cb",
  "rgb": {
    "r": 211,
    "g": 116,
    "b": 203
  },
  "hsl": {
    "h": 305.053,
    "s": 51.913,
    "l": 64.118
  },
  "oklch": {
    "l": 0.69437,
    "c": 0.1604,
    "h": 330.3
  },
  "luminance": 0.30651
}

Semantic roles & 50–950 ramp

primary
#D374CB
secondary
#C1E2C4
accent
#BF3326
background
#FEF9FD
surface
#FCF2FB
border
#D5CCD4
text
#160F15
muted
#847E83

Preview Lab

Preview with #D374CB

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

Preview Lab → · Contrast checker → · Palette generator →

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