#DF8EFB#DF8EFB

#DF8EFB is a light, vivid purple. Relative luminance 0.420; OKLCH L 76.9% C 0.171 H 317.0°. Best body text is #000000 at 9.40:1 contrast (WCAG AA passes).

Color values

HEX#DF8EFB
RGBrgb(223, 142, 251)
HSLhsl(285, 93%, 77%)
HSVhsv(285, 43%, 98%)
CMYKcmyk(11.2%, 43.4%, 0%, 1.6%)
CIE-LABlab(70.87, 48.47, -42.22)
CIE-LCHlch(70.87, 64.27, 318.94°)
OKLaboklab(76.87% 0.1251 -0.1167)
OKLCHoklch(76.87% 0.171 317)
XYZxyz(57.5145, 42.0007, 96.3253)
Luminance0.4200 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EFB #AAFB8E
analogous
#A98EFB #DF8EFB #FB8EE1
triadic
#DF8EFB #FBDF8E #8EFBDF
tetradic
#DF8EFB #FBA98E #AAFB8E #8EE1FB
square
#DF8EFB #FBA98E #AAFB8E #8EE1FB
split-complementary
#DF8EFB #E1FB8E #8EFBA9
monochromatic
#BE18F7 #CE53F9 #DF8EFB #F0C9FD #F7E1FE

Accessibility & contrast

On white

2.23
#DF8EFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.40
#DF8EFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EFB
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EFB#FFFFFF#000000##000000
##DF8EFB1.002.239.409.40
#FFFFFF2.231.0021.0021.00
#0000009.4021.001.001.00
##0000009.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7BA8FF
Deuteranopia (green-blind)
#91B0F8
Tritanopia (blue-blind)
#DE9DB9
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8efb;
/* rgb */ color: rgb(223, 142, 251);
/* oklch */ color: oklch(76.9% 0.171 317.0);
Tailwind
colors: {
  custom: {
    50: '#ebb1fd',
    500: '#df8efb',
    950: '#000000',
  },
}
SCSS
$custom: #df8efb;
$custom-light: #ebb1fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df8efb",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 251
  },
  "hsl": {
    "h": 284.587,
    "s": 93.162,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7687,
    "c": 0.17108,
    "h": 317
  },
  "luminance": 0.41999
}

Semantic roles & 50–950 ramp

primary
#DF8EFB
secondary
#DDF6D5
accent
#E6003B
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8EFB

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

Preview Lab → · Contrast checker → · Palette generator →

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