#DF8CFA#DF8CFA

#DF8CFA is a light, vivid purple. Relative luminance 0.413; OKLCH L 76.5% C 0.173 H 317.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).

Color values

HEX#DF8CFA
RGBrgb(223, 140, 250)
HSLhsl(285, 92%, 76%)
HSVhsv(285, 44%, 98%)
CMYKcmyk(10.8%, 44%, 0%, 2%)
CIE-LABlab(70.42, 49.30, -42.38)
CIE-LCHlch(70.42, 65.02, 319.32°)
OKLaboklab(76.52% 0.1277 -0.1171)
OKLCHoklch(76.52% 0.173 317.5)
XYZxyz(57.0624, 41.3480, 95.3990)
Luminance0.4135 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8CFA #A7FA8C
analogous
#A88CFA #DF8CFA #FA8CDE
triadic
#DF8CFA #FADF8C #8CFADF
tetradic
#DF8CFA #FAA88C #A7FA8C #8CDEFA
square
#DF8CFA #FAA88C #A7FA8C #8CDEFA
split-complementary
#DF8CFA #DEFA8C #8CFAA8
monochromatic
#BE17F5 #CF51F7 #DF8CFA #EFC7FD #F7E2FE

Accessibility & contrast

On white

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

On black

9.27
#DF8CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8CFA
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8CFA#FFFFFF#000000##000000
##DF8CFA1.002.279.279.27
#FFFFFF2.271.0021.0021.00
#0000009.2721.001.001.00
##0000009.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#79A7FE
Deuteranopia (green-blind)
#90AFF7
Tritanopia (blue-blind)
#DF9BB7
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8cfa;
/* rgb */ color: rgb(223, 140, 250);
/* oklch */ color: oklch(76.5% 0.173 317.5);
Tailwind
colors: {
  custom: {
    50: '#ebaffc',
    500: '#df8cfa',
    950: '#000000',
  },
}
SCSS
$custom: #df8cfa;
$custom-light: #ebaffc;
$custom-dark: #000000;
JSON
{
  "hex": "#df8cfa",
  "rgb": {
    "r": 223,
    "g": 140,
    "b": 250
  },
  "hsl": {
    "h": 285.273,
    "s": 91.667,
    "l": 76.471
  },
  "oklch": {
    "l": 0.76518,
    "c": 0.1733,
    "h": 317.5
  },
  "luminance": 0.41346
}

Semantic roles & 50–950 ramp

primary
#DF8CFA
secondary
#DDF6D5
accent
#E60038
background
#FEFAFF
surface
#FDF5FF
border
#D5CFD7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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