#DF8FFC#DF8FFC

#DF8FFC is a light, vivid purple. Relative luminance 0.424; OKLCH L 77.1% C 0.171 H 316.6°. Best body text is #000000 at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#DF8FFC
RGBrgb(223, 143, 252)
HSLhsl(284, 95%, 77%)
HSVhsv(284, 43%, 99%)
CMYKcmyk(11.5%, 43.3%, 0%, 1.2%)
CIE-LABlab(71.12, 48.15, -42.37)
CIE-LCHlch(71.12, 64.14, 318.65°)
OKLaboklab(77.07% 0.1239 -0.1171)
OKLCHoklch(77.07% 0.171 316.6)
XYZxyz(57.8220, 42.3628, 97.2075)
Luminance0.4236 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8FFC #ACFC8F
analogous
#A98FFC #DF8FFC #FC8FE2
triadic
#DF8FFC #FCDF8F #8FFCDF
tetradic
#DF8FFC #FCA98F #ACFC8F #8FE2FC
square
#DF8FFC #FCA98F #ACFC8F #8FE2FC
split-complementary
#DF8FFC #E2FC8F #8FFCA9
monochromatic
#BD18F9 #CE53FA #DF8FFC #F0CBFE #F6E1FE

Accessibility & contrast

On white

2.22
#DF8FFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.47
#DF8FFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8FFC
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8FFC#FFFFFF#000000##000000
##DF8FFC1.002.229.479.47
#FFFFFF2.221.0021.0021.00
#0000009.4721.001.001.00
##0000009.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA9FF
Deuteranopia (green-blind)
#92B1F9
Tritanopia (blue-blind)
#DE9EBA
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #df8ffc;
/* rgb */ color: rgb(223, 143, 252);
/* oklch */ color: oklch(77.1% 0.171 316.6);
Tailwind
colors: {
  custom: {
    50: '#ebb1fd',
    500: '#df8ffc',
    950: '#000000',
  },
}
SCSS
$custom: #df8ffc;
$custom-light: #ebb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ffc",
  "rgb": {
    "r": 223,
    "g": 143,
    "b": 252
  },
  "hsl": {
    "h": 284.037,
    "s": 94.783,
    "l": 77.451
  },
  "oklch": {
    "l": 0.77071,
    "c": 0.1705,
    "h": 316.6
  },
  "luminance": 0.42361
}

Semantic roles & 50–950 ramp

primary
#DF8FFC
secondary
#DEF6D5
accent
#E6003D
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161118
muted
#848086

Preview Lab

Preview with #DF8FFC

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

Preview Lab → · Contrast checker → · Palette generator →

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