#DF7FFF#DF7FFF

#DF7FFF is a light, vivid purple. Relative luminance 0.381; OKLCH L 74.9% C 0.199 H 317.1°. Best body text is #000000 at 8.62:1 contrast (WCAG AA passes).

Color values

HEX#DF7FFF
RGBrgb(223, 127, 255)
HSLhsl(285, 100%, 75%)
HSVhsv(285, 50%, 100%)
CMYKcmyk(12.5%, 50.2%, 0%, 0%)
CIE-LABlab(68.09, 56.90, -48.77)
CIE-LCHlch(68.09, 74.94, 319.40°)
OKLaboklab(74.86% 0.146 -0.1355)
OKLCHoklch(74.86% 0.199 317.1)
XYZxyz(56.0682, 38.0886, 98.9867)
Luminance0.3809 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7FFF #9FFF7F
analogous
#9F7FFF #DF7FFF #FF7FDF
triadic
#DF7FFF #FFDF7F #7FFFDF
tetradic
#DF7FFF #FF9F7F #9FFF7F #7FDFFF
square
#DF7FFF #FF9F7F #9FFF7F #7FDFFF
split-complementary
#DF7FFF #DFFF7F #7FFF9F
monochromatic
#C005FF #D042FF #DF7FFF #EEBCFF #F7E0FF

Accessibility & contrast

On white

2.44
#DF7FFF on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.62
#DF7FFF on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7FFF
8.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7FFF#FFFFFF#000000##000000
##DF7FFF1.002.448.628.62
#FFFFFF2.441.0021.0021.00
#0000008.6221.001.001.00
##0000008.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#65A0FF
Deuteranopia (green-blind)
#83A9FC
Tritanopia (blue-blind)
#DE92B4
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #df7fff;
/* rgb */ color: rgb(223, 127, 255);
/* oklch */ color: oklch(74.9% 0.199 317.1);
Tailwind
colors: {
  custom: {
    50: '#eba7ff',
    500: '#df7fff',
    950: '#000000',
  },
}
SCSS
$custom: #df7fff;
$custom-light: #eba7ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df7fff",
  "rgb": {
    "r": 223,
    "g": 127,
    "b": 255
  },
  "hsl": {
    "h": 285,
    "s": 100,
    "l": 74.902
  },
  "oklch": {
    "l": 0.74858,
    "c": 0.1992,
    "h": 317.1
  },
  "luminance": 0.38087
}

Semantic roles & 50–950 ramp

primary
#DF7FFF
secondary
#DDF7D4
accent
#E60039
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161018
muted
#847F86

Preview Lab

Preview with #DF7FFF

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

Preview Lab → · Contrast checker → · Palette generator →

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