#DF8DF2#DF8DF2

#DF8DF2 is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.3% C 0.163 H 319.9°. Best body text is #000000 at 9.23:1 contrast (WCAG AA passes).

Color values

HEX#DF8DF2
RGBrgb(223, 141, 242)
HSLhsl(289, 80%, 75%)
HSVhsv(289, 42%, 95%)
CMYKcmyk(7.9%, 41.7%, 0%, 5.1%)
CIE-LABlab(70.28, 47.22, -38.23)
CIE-LCHlch(70.28, 60.75, 321.01°)
OKLaboklab(76.3% 0.1249 -0.1052)
OKLCHoklch(76.3% 0.163 319.9)
XYZxyz(55.9813, 41.1504, 88.9811)
Luminance0.4115 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8DF2 #A0F28D
analogous
#AC8DF2 #DF8DF2 #F28DD2
triadic
#DF8DF2 #F2DF8D #8DF2DF
tetradic
#DF8DF2 #F2AC8D #A0F28D #8DD2F2
square
#DF8DF2 #F2AC8D #A0F28D #8DD2F2
split-complementary
#DF8DF2 #D2F28D #8DF2AC
monochromatic
#C01FE5 #D056EC #DF8DF2 #EEC4F8 #F7E4FC

Accessibility & contrast

On white

2.28
#DF8DF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.23
#DF8DF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8DF2
9.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8DF2#FFFFFF#000000##000000
##DF8DF21.002.289.239.23
#FFFFFF2.281.0021.0021.00
#0000009.2321.001.001.00
##0000009.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA6F6
Deuteranopia (green-blind)
#94AFEF
Tritanopia (blue-blind)
#E09AB4
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8df2;
/* rgb */ color: rgb(223, 141, 242);
/* oklch */ color: oklch(76.3% 0.163 319.9);
Tailwind
colors: {
  custom: {
    50: '#eab0f6',
    500: '#df8df2',
    950: '#000000',
  },
}
SCSS
$custom: #df8df2;
$custom-light: #eab0f6;
$custom-dark: #000000;
JSON
{
  "hex": "#df8df2",
  "rgb": {
    "r": 223,
    "g": 141,
    "b": 242
  },
  "hsl": {
    "h": 288.713,
    "s": 79.528,
    "l": 75.098
  },
  "oklch": {
    "l": 0.76302,
    "c": 0.16332,
    "h": 319.9
  },
  "luminance": 0.41149
}

Semantic roles & 50–950 ramp

primary
#DF8DF2
secondary
#DDF4D7
accent
#DC0A31
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DF8DF2

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

Preview Lab → · Contrast checker → · Palette generator →

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