#DF6CFE#DF6CFE

#DF6CFE is a light, highly saturated purple. Relative luminance 0.336; OKLCH L 72.3% C 0.227 H 318.6°. Best body text is #000000 at 7.71:1 contrast (WCAG AA passes).

Color values

HEX#DF6CFE
RGBrgb(223, 108, 254)
HSLhsl(287, 99%, 71%)
HSVhsv(287, 57%, 100%)
CMYKcmyk(12.2%, 57.5%, 0%, 0.4%)
CIE-LABlab(64.62, 65.80, -53.70)
CIE-LCHlch(64.62, 84.93, 320.78°)
OKLaboklab(72.3% 0.17 -0.1497)
OKLCHoklch(72.3% 0.227 318.6)
XYZxyz(53.6810, 33.5710, 97.3989)
Luminance0.3357 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF6CFE #8BFE6C
analogous
#966CFE #DF6CFE #FE6CD4
triadic
#DF6CFE #FEDF6C #6CFEDF
tetradic
#DF6CFE #FE966C #8BFE6C #6CD4FE
square
#DF6CFE #FE966C #8BFE6C #6CD4FE
split-complementary
#DF6CFE #D4FE6C #6CFE96
monochromatic
#BC02EE #D22FFE #DF6CFE #ECA9FE #F8E1FF

Accessibility & contrast

On white

2.72
#DF6CFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.71
#DF6CFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF6CFE
7.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF6CFE#FFFFFF#000000##000000
##DF6CFE1.002.727.717.71
#FFFFFF2.721.0021.0021.00
#0000007.7121.001.001.00
##0000007.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#4995FF
Deuteranopia (green-blind)
#74A1FA
Tritanopia (blue-blind)
#DF83AB
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #df6cfe;
/* rgb */ color: rgb(223, 108, 254);
/* oklch */ color: oklch(72.3% 0.227 318.6);
Tailwind
colors: {
  custom: {
    50: '#ec9bff',
    500: '#df6cfe',
    950: '#000000',
  },
}
SCSS
$custom: #df6cfe;
$custom-light: #ec9bff;
$custom-dark: #000000;
JSON
{
  "hex": "#df6cfe",
  "rgb": {
    "r": 223,
    "g": 108,
    "b": 254
  },
  "hsl": {
    "h": 287.26,
    "s": 98.649,
    "l": 70.98
  },
  "oklch": {
    "l": 0.72297,
    "c": 0.22657,
    "h": 318.6
  },
  "luminance": 0.33569
}

Semantic roles & 50–950 ramp

primary
#DF6CFE
secondary
#D8F6CF
accent
#E60031
background
#FEF9FF
surface
#FDF2FF
border
#D5CCD7
text
#170F18
muted
#857E86

Preview Lab

Preview with #DF6CFE

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

Preview Lab → · Contrast checker → · Palette generator →

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