#DF89F7#DF89F7

#DF89F7 is a light, vivid purple. Relative luminance 0.403; OKLCH L 75.9% C 0.175 H 318.6°. Best body text is #000000 at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#DF89F7
RGBrgb(223, 137, 247)
HSLhsl(287, 87%, 75%)
HSVhsv(287, 45%, 97%)
CMYKcmyk(9.7%, 44.5%, 0%, 3.1%)
CIE-LABlab(69.68, 50.26, -41.90)
CIE-LCHlch(69.68, 65.43, 320.19°)
OKLaboklab(75.92% 0.1314 -0.1157)
OKLCHoklch(75.92% 0.175 318.6)
XYZxyz(56.1633, 40.2966, 92.7972)
Luminance0.4029 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF89F7 #A1F789
analogous
#A889F7 #DF89F7 #F789D8
triadic
#DF89F7 #F7DF89 #89F7DF
tetradic
#DF89F7 #F7A889 #A1F789 #89D8F7
square
#DF89F7 #F7A889 #A1F789 #89D8F7
split-complementary
#DF89F7 #D8F789 #89F7A8
monochromatic
#C016EF #CF50F3 #DF89F7 #EFC2FB #F7E2FD

Accessibility & contrast

On white

2.32
#DF89F7 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.06
#DF89F7 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF89F7
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF89F7#FFFFFF#000000##000000
##DF89F71.002.329.069.06
#FFFFFF2.321.0021.0021.00
#0000009.0621.001.001.00
##0000009.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A4FB
Deuteranopia (green-blind)
#8FADF4
Tritanopia (blue-blind)
#DF98B4
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #df89f7;
/* rgb */ color: rgb(223, 137, 247);
/* oklch */ color: oklch(75.9% 0.175 318.6);
Tailwind
colors: {
  custom: {
    50: '#ebadfa',
    500: '#df89f7',
    950: '#000000',
  },
}
SCSS
$custom: #df89f7;
$custom-light: #ebadfa;
$custom-dark: #000000;
JSON
{
  "hex": "#df89f7",
  "rgb": {
    "r": 223,
    "g": 137,
    "b": 247
  },
  "hsl": {
    "h": 286.909,
    "s": 87.302,
    "l": 75.294
  },
  "oklch": {
    "l": 0.75923,
    "c": 0.17508,
    "h": 318.6
  },
  "luminance": 0.40295
}

Semantic roles & 50–950 ramp

primary
#DF89F7
secondary
#DDF5D6
accent
#E40233
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#161017
muted
#847F85

Preview Lab

Preview with #DF89F7

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

Preview Lab → · Contrast checker → · Palette generator →

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