#DF8BE7#DF8BE7

#DF8BE7 is a light, vivid purple. Relative luminance 0.399; OKLCH L 75.5% C 0.156 H 323.8°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#DF8BE7
RGBrgb(223, 139, 231)
HSLhsl(295, 66%, 73%)
HSVhsv(295, 40%, 91%)
CMYKcmyk(3.5%, 39.8%, 0%, 9.4%)
CIE-LABlab(69.42, 46.16, -33.53)
CIE-LCHlch(69.42, 57.06, 324.00°)
OKLaboklab(75.51% 0.1256 -0.0918)
OKLCHoklch(75.51% 0.156 323.8)
XYZxyz(54.0864, 39.9249, 80.4431)
Luminance0.3992 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8BE7 #93E78B
analogous
#B18BE7 #DF8BE7 #E78BC1
triadic
#DF8BE7 #E7DF8B #8BE7DF
tetradic
#DF8BE7 #E7B18B #93E78B #8BC1E7
square
#DF8BE7 #E7B18B #93E78B #8BC1E7
split-complementary
#DF8BE7 #C1E78B #8BE7B1
monochromatic
#BF2ACD #D158DD #DF8BE7 #EDBEF1 #F8E6FA

Accessibility & contrast

On white

2.34
#DF8BE7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#DF8BE7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8BE7
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8BE7#FFFFFF#000000##000000
##DF8BE71.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A3EA
Deuteranopia (green-blind)
#97ADE4
Tritanopia (blue-blind)
#E295AE
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #df8be7;
/* rgb */ color: rgb(223, 139, 231);
/* oklch */ color: oklch(75.5% 0.156 323.8);
Tailwind
colors: {
  custom: {
    50: '#eaafef',
    500: '#df8be7',
    950: '#000000',
  },
}
SCSS
$custom: #df8be7;
$custom-light: #eaafef;
$custom-dark: #000000;
JSON
{
  "hex": "#df8be7",
  "rgb": {
    "r": 223,
    "g": 139,
    "b": 231
  },
  "hsl": {
    "h": 294.783,
    "s": 65.714,
    "l": 72.549
  },
  "oklch": {
    "l": 0.75505,
    "c": 0.15555,
    "h": 323.8
  },
  "luminance": 0.39923
}

Semantic roles & 50–950 ramp

primary
#DF8BE7
secondary
#DCF1DA
accent
#CE1828
background
#FEFAFE
surface
#FDF5FD
border
#D5CFD5
text
#161016
muted
#847F84

Preview Lab

Preview with #DF8BE7

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

Preview Lab → · Contrast checker → · Palette generator →

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