#DF8EF2#DF8EF2

#DF8EF2 is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.5% C 0.162 H 319.8°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#DF8EF2
RGBrgb(223, 142, 242)
HSLhsl(289, 79%, 75%)
HSVhsv(289, 41%, 95%)
CMYKcmyk(7.9%, 41.3%, 0%, 5.1%)
CIE-LABlab(70.49, 46.70, -37.90)
CIE-LCHlch(70.49, 60.14, 320.93°)
OKLaboklab(76.46% 0.1235 -0.1043)
OKLCHoklch(76.46% 0.162 319.8)
XYZxyz(56.1294, 41.4466, 89.0305)
Luminance0.4144 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EF2 #A1F28E
analogous
#AD8EF2 #DF8EF2 #F28ED3
triadic
#DF8EF2 #F2DF8E #8EF2DF
tetradic
#DF8EF2 #F2AD8E #A1F28E #8ED3F2
square
#DF8EF2 #F2AD8E #A1F28E #8ED3F2
split-complementary
#DF8EF2 #D3F28E #8EF2AD
monochromatic
#C020E5 #CF57EC #DF8EF2 #EFC5F8 #F7E4FC

Accessibility & contrast

On white

2.26
#DF8EF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.29
#DF8EF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EF2
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EF2#FFFFFF#000000##000000
##DF8EF21.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#80A7F6
Deuteranopia (green-blind)
#95AFEF
Tritanopia (blue-blind)
#E09AB5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8ef2;
/* rgb */ color: rgb(223, 142, 242);
/* oklch */ color: oklch(76.5% 0.162 319.8);
Tailwind
colors: {
  custom: {
    50: '#eab1f6',
    500: '#df8ef2',
    950: '#000000',
  },
}
SCSS
$custom: #df8ef2;
$custom-light: #eab1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ef2",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 242
  },
  "hsl": {
    "h": 288.6,
    "s": 79.365,
    "l": 75.294
  },
  "oklch": {
    "l": 0.76457,
    "c": 0.16164,
    "h": 319.8
  },
  "luminance": 0.41445
}

Semantic roles & 50–950 ramp

primary
#DF8EF2
secondary
#DDF4D7
accent
#DC0A32
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DF8EF2

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

Preview Lab → · Contrast checker → · Palette generator →

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