#DF8CE2#DF8CE2

#DF8CE2 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.4% C 0.149 H 325.7°. Best body text is #000000 at 8.99:1 contrast (WCAG AA passes).

Color values

HEX#DF8CE2
RGBrgb(223, 140, 226)
HSLhsl(298, 60%, 72%)
HSVhsv(298, 38%, 89%)
CMYKcmyk(1.3%, 38.1%, 0%, 11.4%)
CIE-LABlab(69.42, 44.71, -30.77)
CIE-LCHlch(69.42, 54.28, 325.47°)
OKLaboklab(75.45% 0.1231 -0.0839)
OKLCHoklch(75.45% 0.149 325.7)
XYZxyz(53.5358, 39.9374, 76.8254)
Luminance0.3993 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CE2 #8FE28C
analogous
#B48CE2 #DF8CE2 #E28CBA
triadic
#DF8CE2 #E2DF8C #8CE2DF
tetradic
#DF8CE2 #E2B48C #8FE28C #8CBAE2
square
#DF8CE2 #E2B48C #8FE28C #8CBAE2
split-complementary
#DF8CE2 #BAE28C #8CE2B4
monochromatic
#BD31C3 #D15BD6 #DF8CE2 #EDBDEE #F8E7F9

Accessibility & contrast

On white

2.34
#DF8CE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.99
#DF8CE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CE2
8.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CE2#FFFFFF#000000##000000
##DF8CE21.002.348.998.99
#FFFFFF2.341.0021.0021.00
#0000008.9921.001.001.00
##0000008.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#84A3E5
Deuteranopia (green-blind)
#9AADDF
Tritanopia (blue-blind)
#E395AD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df8ce2;
/* rgb */ color: rgb(223, 140, 226);
/* oklch */ color: oklch(75.4% 0.149 325.7);
Tailwind
colors: {
  custom: {
    50: '#eaafeb',
    500: '#df8ce2',
    950: '#000000',
  },
}
SCSS
$custom: #df8ce2;
$custom-light: #eaafeb;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ce2",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 226
  },
  "hsl": {
    "h": 297.907,
    "s": 59.722,
    "l": 71.765
  },
  "oklch": {
    "l": 0.75447,
    "c": 0.14895,
    "h": 325.7
  },
  "luminance": 0.39935
}

Semantic roles & 50–950 ramp

primary
#DF8CE2
secondary
#DBF0DA
accent
#C71E24
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF8CE2

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

Preview Lab → · Contrast checker → · Palette generator →

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