#DF8CFB#DF8CFB

#DF8CFB is a light, vivid purple. Relative luminance 0.414; OKLCH L 76.6% C 0.174 H 317.2°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#DF8CFB
RGBrgb(223, 140, 251)
HSLhsl(285, 93%, 77%)
HSVhsv(285, 44%, 98%)
CMYKcmyk(11.2%, 44.2%, 0%, 1.6%)
CIE-LABlab(70.46, 49.50, -42.86)
CIE-LCHlch(70.46, 65.48, 319.12°)
OKLaboklab(76.57% 0.1279 -0.1185)
OKLCHoklch(76.57% 0.174 317.2)
XYZxyz(57.2196, 41.4109, 96.2270)
Luminance0.4141 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CFB #A8FB8C
analogous
#A88CFB #DF8CFB #FB8CE0
triadic
#DF8CFB #FBDF8C #8CFBDF
tetradic
#DF8CFB #FBA88C #A8FB8C #8CE0FB
square
#DF8CFB #FBA88C #A8FB8C #8CE0FB
split-complementary
#DF8CFB #E0FB8C #8CFBA8
monochromatic
#BE16F7 #CF51F9 #DF8CFB #EFC7FD #F7E1FE

Accessibility & contrast

On white

2.26
#DF8CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.28
#DF8CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CFB
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CFB#FFFFFF#000000##000000
##DF8CFB1.002.269.289.28
#FFFFFF2.261.0021.0021.00
#0000009.2821.001.001.00
##0000009.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FF
Deuteranopia (green-blind)
#90AFF8
Tritanopia (blue-blind)
#DE9BB8
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8cfb;
/* rgb */ color: rgb(223, 140, 251);
/* oklch */ color: oklch(76.6% 0.174 317.2);
Tailwind
colors: {
  custom: {
    50: '#ebaffd',
    500: '#df8cfb',
    950: '#000000',
  },
}
SCSS
$custom: #df8cfb;
$custom-light: #ebaffd;
$custom-dark: #000000;
JSON
{
  "hex": "#df8cfb",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 251
  },
  "hsl": {
    "h": 284.865,
    "s": 93.277,
    "l": 76.667
  },
  "oklch": {
    "l": 0.76565,
    "c": 0.17436,
    "h": 317.2
  },
  "luminance": 0.41409
}

Semantic roles & 50–950 ramp

primary
#DF8CFB
secondary
#DDF6D5
accent
#E6003A
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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