#DF7CFB#DF7CFB

#DF7CFB is a light, vivid purple. Relative luminance 0.371; OKLCH L 74.2% C 0.200 H 318.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).

Color values

HEX#DF7CFB
RGBrgb(223, 124, 251)
HSLhsl(287, 94%, 74%)
HSVhsv(287, 51%, 98%)
CMYKcmyk(11.2%, 50.6%, 0%, 1.6%)
CIE-LABlab(67.33, 57.60, -47.78)
CIE-LCHlch(67.33, 74.84, 320.33°)
OKLaboklab(74.24% 0.1495 -0.1326)
OKLCHoklch(74.24% 0.2 318.4)
XYZxyz(55.0493, 37.0703, 95.5036)
Luminance0.3707 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7CFB #98FB7C
analogous
#9F7CFB #DF7CFB #FB7CD7
triadic
#DF7CFB #FBDF7C #7CFBDF
tetradic
#DF7CFB #FB9F7C #98FB7C #7CD7FB
square
#DF7CFB #FB9F7C #98FB7C #7CD7FB
split-complementary
#DF7CFB #D7FB7C #7CFB9F
monochromatic
#C107F5 #D041F9 #DF7CFB #EEB7FD #F8E1FE

Accessibility & contrast

On white

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

On black

8.41
#DF7CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7CFB
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7CFB#FFFFFF#000000##000000
##DF7CFB1.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#649DFF
Deuteranopia (green-blind)
#82A7F8
Tritanopia (blue-blind)
#DF8EB0
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7cfb;
/* rgb */ color: rgb(223, 124, 251);
/* oklch */ color: oklch(74.2% 0.200 318.4);
Tailwind
colors: {
  custom: {
    50: '#eba5fd',
    500: '#df7cfb',
    950: '#000000',
  },
}
SCSS
$custom: #df7cfb;
$custom-light: #eba5fd;
$custom-dark: #000000;
JSON
{
  "hex": "#df7cfb",
  "rgb": {
    "r": 223,
    "g": 124,
    "b": 251
  },
  "hsl": {
    "h": 286.772,
    "s": 94.074,
    "l": 73.529
  },
  "oklch": {
    "l": 0.74238,
    "c": 0.19985,
    "h": 318.4
  },
  "luminance": 0.37068
}

Semantic roles & 50–950 ramp

primary
#DF7CFB
secondary
#DCF6D5
accent
#E60033
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF7CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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