#DF8BFB#DF8BFB

#DF8BFB is a light, vivid purple. Relative luminance 0.411; OKLCH L 76.4% C 0.176 H 317.3°. Best body text is #000000 at 9.22:1 contrast (WCAG AA passes).

Color values

HEX#DF8BFB
RGBrgb(223, 139, 251)
HSLhsl(285, 93%, 76%)
HSVhsv(285, 45%, 98%)
CMYKcmyk(11.2%, 44.6%, 0%, 1.6%)
CIE-LABlab(70.26, 50.02, -43.17)
CIE-LCHlch(70.26, 66.08, 319.20°)
OKLaboklab(76.41% 0.1293 -0.1194)
OKLCHoklch(76.41% 0.176 317.3)
XYZxyz(57.0741, 41.1200, 96.1785)
Luminance0.4112 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8BFB #A7FB8B
analogous
#A78BFB #DF8BFB #FB8BDF
triadic
#DF8BFB #FBDF8B #8BFBDF
tetradic
#DF8BFB #FBA78B #A7FB8B #8BDFFB
square
#DF8BFB #FBA78B #A7FB8B #8BDFFB
split-complementary
#DF8BFB #DFFB8B #8BFBA7
monochromatic
#BE15F7 #CF50F9 #DF8BFB #EFC6FD #F7E1FE

Accessibility & contrast

On white

2.28
#DF8BFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.22
#DF8BFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8BFB
9.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8BFB#FFFFFF#000000##000000
##DF8BFB1.002.289.229.22
#FFFFFF2.281.0021.0021.00
#0000009.2221.001.001.00
##0000009.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#78A6FF
Deuteranopia (green-blind)
#8FAFF8
Tritanopia (blue-blind)
#DF9AB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8bfb;
/* rgb */ color: rgb(223, 139, 251);
/* oklch */ color: oklch(76.4% 0.176 317.3);
Tailwind
colors: {
  custom: {
    50: '#ebaffd',
    500: '#df8bfb',
    950: '#000000',
  },
}
SCSS
$custom: #df8bfb;
$custom-light: #ebaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#df8bfb",
  "rgb": {
    "r": 223,
    "g": 139,
    "b": 251
  },
  "hsl": {
    "h": 285,
    "s": 93.333,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76413,
    "c": 0.17599,
    "h": 317.3
  },
  "luminance": 0.41118
}

Semantic roles & 50–950 ramp

primary
#DF8BFB
secondary
#DDF6D5
accent
#E60039
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF8BFB

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

Preview Lab → · Contrast checker → · Palette generator →

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