#DF8CF2#DF8CF2

#DF8CF2 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.1% C 0.165 H 320.0°. Best body text is #000000 at 9.17:1 contrast (WCAG AA passes).

Color values

HEX#DF8CF2
RGBrgb(223, 140, 242)
HSLhsl(289, 80%, 75%)
HSVhsv(289, 42%, 95%)
CMYKcmyk(7.9%, 42.1%, 0%, 5.1%)
CIE-LABlab(70.08, 47.74, -38.55)
CIE-LCHlch(70.08, 61.36, 321.08°)
OKLaboklab(76.15% 0.1263 -0.1061)
OKLCHoklch(76.15% 0.165 320)
XYZxyz(55.8345, 40.8569, 88.9322)
Luminance0.4086 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CF2 #9FF28C
analogous
#AC8CF2 #DF8CF2 #F28CD2
triadic
#DF8CF2 #F2DF8C #8CF2DF
tetradic
#DF8CF2 #F2AC8C #9FF28C #8CD2F2
square
#DF8CF2 #F2AC8C #9FF28C #8CD2F2
split-complementary
#DF8CF2 #D2F28C #8CF2AC
monochromatic
#C01EE6 #D055EC #DF8CF2 #EEC3F8 #F7E4FC

Accessibility & contrast

On white

2.29
#DF8CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.17
#DF8CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CF2
9.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CF2#FFFFFF#000000##000000
##DF8CF21.002.299.179.17
#FFFFFF2.291.0021.0021.00
#0000009.1721.001.001.00
##0000009.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA6F6
Deuteranopia (green-blind)
#94AEEF
Tritanopia (blue-blind)
#E099B4
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #df8cf2;
/* rgb */ color: rgb(223, 140, 242);
/* oklch */ color: oklch(76.1% 0.165 320.0);
Tailwind
colors: {
  custom: {
    50: '#eaaff6',
    500: '#df8cf2',
    950: '#000000',
  },
}
SCSS
$custom: #df8cf2;
$custom-light: #eaaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#df8cf2",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 242
  },
  "hsl": {
    "h": 288.824,
    "s": 79.687,
    "l": 74.902
  },
  "oklch": {
    "l": 0.76148,
    "c": 0.16499,
    "h": 320
  },
  "luminance": 0.40855
}

Semantic roles & 50–950 ramp

primary
#DF8CF2
secondary
#DDF4D7
accent
#DC0A31
background
#FEFAFF
surface
#FDF5FE
border
#D5CFD6
text
#161117
muted
#848085

Preview Lab

Preview with #DF8CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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