#DF8BF8#DF8BF8

#DF8BF8 is a light, vivid purple. Relative luminance 0.409; OKLCH L 76.3% C 0.173 H 318.2°. Best body text is #000000 at 9.19:1 contrast (WCAG AA passes).

Color values

HEX#DF8BF8
RGBrgb(223, 139, 248)
HSLhsl(286, 89%, 76%)
HSVhsv(286, 44%, 97%)
CMYKcmyk(10.1%, 44%, 0%, 2.7%)
CIE-LABlab(70.13, 49.43, -41.74)
CIE-LCHlch(70.13, 64.70, 319.82°)
OKLaboklab(76.27% 0.1288 -0.1153)
OKLCHoklch(76.27% 0.173 318.2)
XYZxyz(56.6050, 40.9323, 93.7077)
Luminance0.4093 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8BF8 #A4F88B
analogous
#A88BF8 #DF8BF8 #F88BDA
triadic
#DF8BF8 #F8DF8B #8BF8DF
tetradic
#DF8BF8 #F8A88B #A4F88B #8BDAF8
square
#DF8BF8 #F8A88B #A4F88B #8BDAF8
split-complementary
#DF8BF8 #DAF88B #8BF8A8
monochromatic
#BF18F1 #CF51F5 #DF8BF8 #EFC5FB #F7E2FD

Accessibility & contrast

On white

2.29
#DF8BF8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.19
#DF8BF8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8BF8
9.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8BF8#FFFFFF#000000##000000
##DF8BF81.002.299.199.19
#FFFFFF2.291.0021.0021.00
#0000009.1921.001.001.00
##0000009.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A6FC
Deuteranopia (green-blind)
#90AEF5
Tritanopia (blue-blind)
#DF9AB6
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #df8bf8;
/* rgb */ color: rgb(223, 139, 248);
/* oklch */ color: oklch(76.3% 0.173 318.2);
Tailwind
colors: {
  custom: {
    50: '#ebaffb',
    500: '#df8bf8',
    950: '#000000',
  },
}
SCSS
$custom: #df8bf8;
$custom-light: #ebaffb;
$custom-dark: #000000;
JSON
{
  "hex": "#df8bf8",
  "rgb": {
    "r": 223,
    "g": 139,
    "b": 248
  },
  "hsl": {
    "h": 286.239,
    "s": 88.618,
    "l": 75.882
  },
  "oklch": {
    "l": 0.76272,
    "c": 0.17285,
    "h": 318.2
  },
  "luminance": 0.40931
}

Semantic roles & 50–950 ramp

primary
#DF8BF8
secondary
#DDF5D6
accent
#E50035
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF8BF8

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

Preview Lab → · Contrast checker → · Palette generator →

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