#DF8CF9#DF8CF9

#DF8CF9 is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.5% C 0.172 H 317.8°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#DF8CF9
RGBrgb(223, 140, 249)
HSLhsl(286, 90%, 76%)
HSVhsv(286, 44%, 98%)
CMYKcmyk(10.4%, 43.8%, 0%, 2.4%)
CIE-LABlab(70.38, 49.11, -41.90)
CIE-LCHlch(70.38, 64.55, 319.53°)
OKLaboklab(76.47% 0.1276 -0.1158)
OKLCHoklch(76.47% 0.172 317.8)
XYZxyz(56.9060, 41.2855, 94.5754)
Luminance0.4128 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CF9 #A6F98C
analogous
#A98CF9 #DF8CF9 #F98CDD
triadic
#DF8CF9 #F9DF8C #8CF9DF
tetradic
#DF8CF9 #F9A98C #A6F98C #8CDDF9
square
#DF8CF9 #F9A98C #A6F98C #8CDDF9
split-complementary
#DF8CF9 #DDF98C #8CF9A9
monochromatic
#BF18F3 #CF52F6 #DF8CF9 #EFC6FC #F7E2FD

Accessibility & contrast

On white

2.27
#DF8CF9 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.26
#DF8CF9 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CF9
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CF9#FFFFFF#000000##000000
##DF8CF91.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA7FD
Deuteranopia (green-blind)
#90AFF6
Tritanopia (blue-blind)
#DF9BB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8cf9;
/* rgb */ color: rgb(223, 140, 249);
/* oklch */ color: oklch(76.5% 0.172 317.8);
Tailwind
colors: {
  custom: {
    50: '#ebaffb',
    500: '#df8cf9',
    950: '#000000',
  },
}
SCSS
$custom: #df8cf9;
$custom-light: #ebaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#df8cf9",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 249
  },
  "hsl": {
    "h": 285.688,
    "s": 90.083,
    "l": 76.275
  },
  "oklch": {
    "l": 0.76471,
    "c": 0.17226,
    "h": 317.8
  },
  "luminance": 0.41284
}

Semantic roles & 50–950 ramp

primary
#DF8CF9
secondary
#DDF6D5
accent
#E60037
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8CF9

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

Preview Lab → · Contrast checker → · Palette generator →

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