#DF8BFE#DF8BFE

#DF8BFE is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.6% C 0.179 H 316.4°. Best body text is #000000 at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#DF8BFE
RGBrgb(223, 139, 254)
HSLhsl(284, 98%, 77%)
HSVhsv(284, 45%, 100%)
CMYKcmyk(12.2%, 45.3%, 0%, 0.4%)
CIE-LABlab(70.39, 50.62, -44.60)
CIE-LCHlch(70.39, 67.46, 318.62°)
OKLaboklab(76.56% 0.1297 -0.1235)
OKLCHoklch(76.56% 0.179 316.4)
XYZxyz(57.5508, 41.3106, 98.6888)
Luminance0.4131 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8BFE #AAFE8B
analogous
#A68BFE #DF8BFE #FE8BE4
triadic
#DF8BFE #FEDF8B #8BFEDF
tetradic
#DF8BFE #FEA68B #AAFE8B #8BE4FE
square
#DF8BFE #FEA68B #AAFE8B #8BE4FE
split-complementary
#DF8BFE #E4FE8B #8BFEA6
monochromatic
#BE12FD #CE4EFD #DF8BFE #F0C8FF #F7E1FF

Accessibility & contrast

On white

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

On black

9.26
#DF8BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8BFE
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8BFE#FFFFFF#000000##000000
##DF8BFE1.002.279.269.26
#FFFFFF2.271.0021.0021.00
#0000009.2621.001.001.00
##0000009.2621.001.001.00

Color blindness preview

Protanopia (red-blind)
#76A7FF
Deuteranopia (green-blind)
#8DAFFB
Tritanopia (blue-blind)
#DE9BB9
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8bfe;
/* rgb */ color: rgb(223, 139, 254);
/* oklch */ color: oklch(76.6% 0.179 316.4);
Tailwind
colors: {
  custom: {
    50: '#ebafff',
    500: '#df8bfe',
    950: '#000000',
  },
}
SCSS
$custom: #df8bfe;
$custom-light: #ebafff;
$custom-dark: #000000;
JSON
{
  "hex": "#df8bfe",
  "rgb": {
    "r": 223,
    "g": 139,
    "b": 254
  },
  "hsl": {
    "h": 283.826,
    "s": 98.291,
    "l": 77.059
  },
  "oklch": {
    "l": 0.76556,
    "c": 0.17914,
    "h": 316.4
  },
  "luminance": 0.41309
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF8BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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