#D334C7#D334C7

#D334C7 is a light, highly saturated purple. Relative luminance 0.204; OKLCH L 62.1% C 0.245 H 331.5°. Best body text is #000000 at 5.09:1 contrast (WCAG AA passes).

Color values

HEX#D334C7
RGBrgb(211, 52, 199)
HSLhsl(305, 64%, 52%)
HSVhsv(305, 75%, 83%)
CMYKcmyk(0%, 75.4%, 5.7%, 17.3%)
CIE-LABlab(52.32, 75.14, -42.39)
CIE-LCHlch(52.32, 86.28, 330.57°)
OKLaboklab(62.14% 0.2149 -0.1168)
OKLCHoklch(62.14% 0.245 331.5)
XYZxyz(38.4008, 20.4315, 55.9430)
Luminance0.2043 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D334C7 #34D340
analogous
#8F34D3 #D334C7 #D33478
triadic
#D334C7 #C7D334 #34C7D3
tetradic
#D334C7 #D38F34 #34D340 #3478D3
square
#D334C7 #D38F34 #34D340 #3478D3
split-complementary
#D334C7 #78D334 #34D38F
monochromatic
#74196D #A6249C #D334C7 #DE66D5 #E999E3

Accessibility & contrast

On white

4.13
#D334C7 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.09
#D334C7 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #D334C7
5.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D334C7#FFFFFF#000000##000000
##D334C71.004.135.095.09
#FFFFFF4.131.0021.0021.00
#0000005.0921.001.001.00
##0000005.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#256FCB
Deuteranopia (green-blind)
#6884C3
Tritanopia (blue-blind)
#DC487C
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #d334c7;
/* rgb */ color: rgb(211, 52, 199);
/* oklch */ color: oklch(62.1% 0.245 331.5);
Tailwind
colors: {
  custom: {
    50: '#e57dd8',
    500: '#d334c7',
    950: '#000000',
  },
}
SCSS
$custom: #d334c7;
$custom-light: #e57dd8;
$custom-dark: #000000;
JSON
{
  "hex": "#d334c7",
  "rgb": {
    "r": 211,
    "g": 52,
    "b": 199
  },
  "hsl": {
    "h": 304.528,
    "s": 64.372,
    "l": 51.569
  },
  "oklch": {
    "l": 0.62141,
    "c": 0.24455,
    "h": 331.5
  },
  "luminance": 0.20428
}

Semantic roles & 50–950 ramp

primary
#D334C7
secondary
#8ED494
accent
#E74D40
background
#FEF8FD
surface
#FDEFFA
border
#D5CAD3
text
#160B14
muted
#847C83

Preview Lab

Preview with #D334C7

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

Preview Lab → · Contrast checker → · Palette generator →

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