#DF8FFB#DF8FFB

#DF8FFB is a light, vivid purple. Relative luminance 0.423; OKLCH L 77.0% C 0.169 H 316.9°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).

Color values

HEX#DF8FFB
RGBrgb(223, 143, 251)
HSLhsl(284, 93%, 77%)
HSVhsv(284, 43%, 98%)
CMYKcmyk(11.2%, 43%, 0%, 1.6%)
CIE-LABlab(71.08, 47.95, -41.90)
CIE-LCHlch(71.08, 63.67, 318.85°)
OKLaboklab(77.02% 0.1237 -0.1158)
OKLCHoklch(77.02% 0.169 316.9)
XYZxyz(57.6639, 42.2996, 96.3751)
Luminance0.4230 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8FFB #ABFB8F
analogous
#A98FFB #DF8FFB #FB8FE1
triadic
#DF8FFB #FBDF8F #8FFBDF
tetradic
#DF8FFB #FBA98F #ABFB8F #8FE1FB
square
#DF8FFB #FBA98F #ABFB8F #8FE1FB
split-complementary
#DF8FFB #E1FB8F #8FFBA9
monochromatic
#BD19F7 #CE54F9 #DF8FFB #F0CAFD #F7E1FE

Accessibility & contrast

On white

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

On black

9.46
#DF8FFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8FFB
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8FFB#FFFFFF#000000##000000
##DF8FFB1.002.229.469.46
#FFFFFF2.221.0021.0021.00
#0000009.4621.001.001.00
##0000009.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#7DA9FF
Deuteranopia (green-blind)
#92B1F8
Tritanopia (blue-blind)
#DE9EB9
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #df8ffb;
/* rgb */ color: rgb(223, 143, 251);
/* oklch */ color: oklch(77.0% 0.169 316.9);
Tailwind
colors: {
  custom: {
    50: '#ebb1fd',
    500: '#df8ffb',
    950: '#000000',
  },
}
SCSS
$custom: #df8ffb;
$custom-light: #ebb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ffb",
  "rgb": {
    "r": 223,
    "g": 143,
    "b": 251
  },
  "hsl": {
    "h": 284.444,
    "s": 93.103,
    "l": 77.255
  },
  "oklch": {
    "l": 0.77024,
    "c": 0.16944,
    "h": 316.9
  },
  "luminance": 0.42298
}

Semantic roles & 50–950 ramp

primary
#DF8FFB
secondary
#DDF6D5
accent
#E6003C
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8FFB

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

Preview Lab → · Contrast checker → · Palette generator →

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