#DF7EFA#DF7EFA

#DF7EFA is a light, vivid purple. Relative luminance 0.375; OKLCH L 74.5% C 0.196 H 318.6°. Best body text is #000000 at 8.50:1 contrast (WCAG AA passes).

Color values

HEX#DF7EFA
RGBrgb(223, 126, 250)
HSLhsl(287, 93%, 74%)
HSVhsv(287, 50%, 98%)
CMYKcmyk(10.8%, 49.6%, 0%, 2%)
CIE-LABlab(67.66, 56.42, -46.71)
CIE-LCHlch(67.66, 73.24, 320.38°)
OKLaboklab(74.47% 0.1467 -0.1295)
OKLCHoklch(74.47% 0.196 318.6)
XYZxyz(55.1453, 37.5138, 94.7600)
Luminance0.3751 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7EFA #99FA7E
analogous
#A17EFA #DF7EFA #FA7ED7
triadic
#DF7EFA #FADF7E #7EFADF
tetradic
#DF7EFA #FAA17E #99FA7E #7ED7FA
square
#DF7EFA #FAA17E #99FA7E #7ED7FA
split-complementary
#DF7EFA #D7FA7E #7EFAA1
monochromatic
#C109F4 #D043F8 #DF7EFA #EEB9FC #F8E2FE

Accessibility & contrast

On white

2.47
#DF7EFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.50
#DF7EFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7EFA
8.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7EFA#FFFFFF#000000##000000
##DF7EFA1.002.478.508.50
#FFFFFF2.471.0021.0021.00
#0000008.5021.001.001.00
##0000008.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#679EFE
Deuteranopia (green-blind)
#85A8F7
Tritanopia (blue-blind)
#DF90B1
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #df7efa;
/* rgb */ color: rgb(223, 126, 250);
/* oklch */ color: oklch(74.5% 0.196 318.6);
Tailwind
colors: {
  custom: {
    50: '#eba6fc',
    500: '#df7efa',
    950: '#000000',
  },
}
SCSS
$custom: #df7efa;
$custom-light: #eba6fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df7efa",
  "rgb": {
    "r": 223,
    "g": 126,
    "b": 250
  },
  "hsl": {
    "h": 286.935,
    "s": 92.537,
    "l": 73.725
  },
  "oklch": {
    "l": 0.74467,
    "c": 0.19574,
    "h": 318.6
  },
  "luminance": 0.37512
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF7EFA

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

Preview Lab → · Contrast checker → · Palette generator →

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