#DF8BFD#DF8BFD

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

Color values

HEX#DF8BFD
RGBrgb(223, 139, 253)
HSLhsl(284, 97%, 77%)
HSVhsv(284, 45%, 99%)
CMYKcmyk(11.9%, 45.1%, 0%, 0.8%)
CIE-LABlab(70.35, 50.42, -44.12)
CIE-LCHlch(70.35, 67.00, 318.81°)
OKLaboklab(76.51% 0.1296 -0.1222)
OKLCHoklch(76.51% 0.178 316.7)
XYZxyz(57.3911, 41.2468, 97.8477)
Luminance0.4124 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8BFD #A9FD8B
analogous
#A68BFD #DF8BFD #FD8BE2
triadic
#DF8BFD #FDDF8B #8BFDDF
tetradic
#DF8BFD #FDA68B #A9FD8B #8BE2FD
square
#DF8BFD #FDA68B #A9FD8B #8BE2FD
split-complementary
#DF8BFD #E2FD8B #8BFDA6
monochromatic
#BE13FB #CE4FFC #DF8BFD #F0C7FE #F7E1FE

Accessibility & contrast

On white

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

On black

9.25
#DF8BFD on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8BFD
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8BFD#FFFFFF#000000##000000
##DF8BFD1.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #df8bfd;
/* rgb */ color: rgb(223, 139, 253);
/* oklch */ color: oklch(76.5% 0.178 316.7);
Tailwind
colors: {
  custom: {
    50: '#ebaffe',
    500: '#df8bfd',
    950: '#000000',
  },
}
SCSS
$custom: #df8bfd;
$custom-light: #ebaffe;
$custom-dark: #000000;
JSON
{
  "hex": "#df8bfd",
  "rgb": {
    "r": 223,
    "g": 139,
    "b": 253
  },
  "hsl": {
    "h": 284.211,
    "s": 96.61,
    "l": 76.863
  },
  "oklch": {
    "l": 0.76508,
    "c": 0.17808,
    "h": 316.7
  },
  "luminance": 0.41245
}

Semantic roles & 50–950 ramp

primary
#DF8BFD
secondary
#DDF7D4
accent
#E6003C
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF8BFD

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

Preview Lab → · Contrast checker → · Palette generator →

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