#DF8BFC#DF8BFC

#DF8BFC is a light, vivid purple. Relative luminance 0.412; OKLCH L 76.5% C 0.177 H 317.0°. Best body text is #000000 at 9.24:1 contrast (WCAG AA passes).

Color values

HEX#DF8BFC
RGBrgb(223, 139, 252)
HSLhsl(285, 95%, 77%)
HSVhsv(285, 45%, 99%)
CMYKcmyk(11.5%, 44.8%, 0%, 1.2%)
CIE-LABlab(70.30, 50.22, -43.65)
CIE-LCHlch(70.30, 66.54, 319.00°)
OKLaboklab(76.46% 0.1294 -0.1208)
OKLCHoklch(76.46% 0.177 317)
XYZxyz(57.2322, 41.1832, 97.0109)
Luminance0.4118 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8BFC #A8FC8B
analogous
#A78BFC #DF8BFC #FC8BE1
triadic
#DF8BFC #FCDF8B #8BFCDF
tetradic
#DF8BFC #FCA78B #A8FC8B #8BE1FC
square
#DF8BFC #FCA78B #A8FC8B #8BE1FC
split-complementary
#DF8BFC #E1FC8B #8BFCA7
monochromatic
#BE14F9 #CF4FFA #DF8BFC #EFC7FE #F7E1FE

Accessibility & contrast

On white

2.27
#DF8BFC on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.24
#DF8BFC on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8BFC
9.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8BFC#FFFFFF#000000##000000
##DF8BFC1.002.279.249.24
#FFFFFF2.271.0021.0021.00
#0000009.2421.001.001.00
##0000009.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A7FF
Deuteranopia (green-blind)
#8EAFF9
Tritanopia (blue-blind)
#DE9BB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8bfc;
/* rgb */ color: rgb(223, 139, 252);
/* oklch */ color: oklch(76.5% 0.177 317.0);
Tailwind
colors: {
  custom: {
    50: '#ebaffe',
    500: '#df8bfc',
    950: '#000000',
  },
}
SCSS
$custom: #df8bfc;
$custom-light: #ebaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#df8bfc",
  "rgb": {
    "r": 223,
    "g": 139,
    "b": 252
  },
  "hsl": {
    "h": 284.602,
    "s": 94.958,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76461,
    "c": 0.17703,
    "h": 317
  },
  "luminance": 0.41181
}

Semantic roles & 50–950 ramp

primary
#DF8BFC
secondary
#DDF6D5
accent
#E6003B
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF8BFC

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

Preview Lab → · Contrast checker → · Palette generator →

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