#DF7CFA#DF7CFA

#DF7CFA is a light, vivid purple. Relative luminance 0.370; OKLCH L 74.2% C 0.199 H 318.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#DF7CFA
RGBrgb(223, 124, 250)
HSLhsl(287, 93%, 73%)
HSVhsv(287, 50%, 98%)
CMYKcmyk(10.8%, 50.4%, 0%, 2%)
CIE-LABlab(67.28, 57.41, -47.30)
CIE-LCHlch(67.28, 74.38, 320.51°)
OKLaboklab(74.19% 0.1494 -0.1312)
OKLCHoklch(74.19% 0.199 318.7)
XYZxyz(54.8921, 37.0074, 94.6756)
Luminance0.3700 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CFA #97FA7C
analogous
#A07CFA #DF7CFA #FA7CD6
triadic
#DF7CFA #FADF7C #7CFADF
tetradic
#DF7CFA #FAA07C #97FA7C #7CD6FA
square
#DF7CFA #FAA07C #97FA7C #7CD6FA
split-complementary
#DF7CFA #D6FA7C #7CFAA0
monochromatic
#C009F2 #D141F8 #DF7CFA #EDB7FC #F8E2FE

Accessibility & contrast

On white

2.50
#DF7CFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#DF7CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CFA
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CFA#FFFFFF#000000##000000
##DF7CFA1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFE
Deuteranopia (green-blind)
#83A7F7
Tritanopia (blue-blind)
#DF8EB0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7cfa;
/* rgb */ color: rgb(223, 124, 250);
/* oklch */ color: oklch(74.2% 0.199 318.7);
Tailwind
colors: {
  custom: {
    50: '#eba5fc',
    500: '#df7cfa',
    950: '#000000',
  },
}
SCSS
$custom: #df7cfa;
$custom-light: #eba5fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cfa",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 250
  },
  "hsl": {
    "h": 287.143,
    "s": 92.647,
    "l": 73.333
  },
  "oklch": {
    "l": 0.74188,
    "c": 0.19886,
    "h": 318.7
  },
  "luminance": 0.37005
}

Semantic roles & 50–950 ramp

primary
#DF7CFA
secondary
#DCF6D5
accent
#E60031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF7CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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