#DF38CB#DF38CB

#DF38CB is a light, highly saturated purple. Relative luminance 0.228; OKLCH L 64.4% C 0.249 H 333.6°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#DF38CB
RGBrgb(223, 56, 203)
HSLhsl(307, 72%, 55%)
HSVhsv(307, 75%, 87%)
CMYKcmyk(0%, 74.9%, 9%, 12.5%)
CIE-LABlab(54.90, 77.12, -40.49)
CIE-LCHlch(54.90, 87.10, 332.30°)
OKLaboklab(64.43% 0.2233 -0.1111)
OKLCHoklch(64.43% 0.249 333.6)
XYZxyz(42.6254, 22.8318, 58.6504)
Luminance0.2283 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF38CB #38DF4C
analogous
#A038DF #DF38CB #DF3877
triadic
#DF38CB #CBDF38 #38CBDF
tetradic
#DF38CB #DFA038 #38DF4C #3877DF
square
#DF38CB #DFA038 #38DF4C #3877DF
split-complementary
#DF38CB #77DF38 #38DFA0
monochromatic
#871679 #BC1EA9 #DF38CB #E76DD9 #F0A1E7

Accessibility & contrast

On white

3.77
#DF38CB on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#DF38CB on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #DF38CB
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF38CB#FFFFFF#000000##000000
##DF38CB1.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#3274CF
Deuteranopia (green-blind)
#728CC7
Tritanopia (blue-blind)
#E9497F
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #df38cb;
/* rgb */ color: rgb(223, 56, 203);
/* oklch */ color: oklch(64.4% 0.249 333.6);
Tailwind
colors: {
  custom: {
    50: '#ed80db',
    500: '#df38cb',
    950: '#000000',
  },
}
SCSS
$custom: #df38cb;
$custom-light: #ed80db;
$custom-dark: #000000;
JSON
{
  "hex": "#df38cb",
  "rgb": {
    "r": 223,
    "g": 56,
    "b": 203
  },
  "hsl": {
    "h": 307.186,
    "s": 72.294,
    "l": 54.706
  },
  "oklch": {
    "l": 0.64427,
    "c": 0.24942,
    "h": 333.6
  },
  "luminance": 0.22828
}

Semantic roles & 50–950 ramp

primary
#DF38CB
secondary
#96DD9F
accent
#EF4F39
background
#FFF8FD
surface
#FEF0FB
border
#D6CBD4
text
#170B15
muted
#857C83

Preview Lab

Preview with #DF38CB

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

Preview Lab → · Contrast checker → · Palette generator →

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