#DF38C9#DF38C9

#DF38C9 is a light, highly saturated purple. Relative luminance 0.227; OKLCH L 64.3% C 0.248 H 334.1°. Best body text is #000000 at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#DF38C9
RGBrgb(223, 56, 201)
HSLhsl(308, 72%, 55%)
HSVhsv(308, 75%, 87%)
CMYKcmyk(0%, 74.9%, 9.9%, 12.5%)
CIE-LABlab(54.80, 76.83, -39.50)
CIE-LCHlch(54.80, 86.39, 332.79°)
OKLaboklab(64.33% 0.2232 -0.1082)
OKLCHoklch(64.33% 0.248 334.1)
XYZxyz(42.3886, 22.7371, 57.4032)
Luminance0.2273 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF38C9 #38DF4E
analogous
#A138DF #DF38C9 #DF3876
triadic
#DF38C9 #C9DF38 #38C9DF
tetradic
#DF38C9 #DFA138 #38DF4E #3876DF
square
#DF38C9 #DFA138 #38DF4E #3876DF
split-complementary
#DF38C9 #76DF38 #38DFA1
monochromatic
#871678 #BC1EA7 #DF38C9 #E76DD7 #F0A1E6

Accessibility & contrast

On white

3.79
#DF38C9 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.55
#DF38C9 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF38C9
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF38C9#FFFFFF#000000##000000
##DF38C91.003.795.555.55
#FFFFFF3.791.0021.0021.00
#0000005.5521.001.001.00
##0000005.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#3474CD
Deuteranopia (green-blind)
#738CC5
Tritanopia (blue-blind)
#EA487E
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #df38c9;
/* rgb */ color: rgb(223, 56, 201);
/* oklch */ color: oklch(64.3% 0.248 334.1);
Tailwind
colors: {
  custom: {
    50: '#ed80da',
    500: '#df38c9',
    950: '#000000',
  },
}
SCSS
$custom: #df38c9;
$custom-light: #ed80da;
$custom-dark: #000000;
JSON
{
  "hex": "#df38c9",
  "rgb": {
    "r": 223,
    "g": 56,
    "b": 201
  },
  "hsl": {
    "h": 307.904,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.64325,
    "c": 0.24807,
    "h": 334.1
  },
  "luminance": 0.22733
}

Semantic roles & 50–950 ramp

primary
#DF38C9
secondary
#96DD9F
accent
#EF5139
background
#FFF8FD
surface
#FEF0FA
border
#D6CBD3
text
#170B15
muted
#857C83

Preview Lab

Preview with #DF38C9

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

Preview Lab → · Contrast checker → · Palette generator →

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