#DF7CF2#DF7CF2

#DF7CF2 is a light, vivid purple. Relative luminance 0.365; OKLCH L 73.8% C 0.191 H 321.0°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#DF7CF2
RGBrgb(223, 124, 242)
HSLhsl(290, 82%, 72%)
HSVhsv(290, 49%, 95%)
CMYKcmyk(7.9%, 48.8%, 0%, 5.1%)
CIE-LABlab(66.91, 55.87, -43.49)
CIE-LCHlch(66.91, 70.81, 322.10°)
OKLaboklab(73.79% 0.1484 -0.1202)
OKLCHoklch(73.79% 0.191 321)
XYZxyz(53.6642, 36.5163, 88.2088)
Luminance0.3651 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CF2 #8FF27C
analogous
#A47CF2 #DF7CF2 #F27CCA
triadic
#DF7CF2 #F2DF7C #7CF2DF
tetradic
#DF7CF2 #F2A47C #8FF27C #7CCAF2
square
#DF7CF2 #F2A47C #8FF27C #7CCAF2
split-complementary
#DF7CF2 #CAF27C #7CF2A4
monochromatic
#BD16DE #D144EC #DF7CF2 #EDB4F8 #F8E3FC

Accessibility & contrast

On white

2.53
#DF7CF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#DF7CF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CF2
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CF2#FFFFFF#000000##000000
##DF7CF21.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#699CF6
Deuteranopia (green-blind)
#87A7EF
Tritanopia (blue-blind)
#E18CAC
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7cf2;
/* rgb */ color: rgb(223, 124, 242);
/* oklch */ color: oklch(73.8% 0.191 321.0);
Tailwind
colors: {
  custom: {
    50: '#eba5f7',
    500: '#df7cf2',
    950: '#000000',
  },
}
SCSS
$custom: #df7cf2;
$custom-light: #eba5f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cf2",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 242
  },
  "hsl": {
    "h": 290.339,
    "s": 81.944,
    "l": 71.765
  },
  "oklch": {
    "l": 0.73793,
    "c": 0.191,
    "h": 321
  },
  "luminance": 0.36514
}

Semantic roles & 50–950 ramp

primary
#DF7CF2
secondary
#DBF4D6
accent
#DE072A
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7CF2

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

Preview Lab → · Contrast checker → · Palette generator →

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