#DF89F8#DF89F8

#DF89F8 is a light, vivid purple. Relative luminance 0.404; OKLCH L 76.0% C 0.176 H 318.3°. Best body text is #000000 at 9.07:1 contrast (WCAG AA passes).

Color values

HEX#DF89F8
RGBrgb(223, 137, 248)
HSLhsl(286, 89%, 75%)
HSVhsv(286, 45%, 97%)
CMYKcmyk(10.1%, 44.8%, 0%, 2.7%)
CIE-LABlab(69.72, 50.46, -42.38)
CIE-LCHlch(69.72, 65.89, 319.98°)
OKLaboklab(75.97% 0.1315 -0.1171)
OKLCHoklch(75.97% 0.176 318.3)
XYZxyz(56.3181, 40.3584, 93.6120)
Luminance0.4036 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF89F8 #A2F889
analogous
#A789F8 #DF89F8 #F889DA
triadic
#DF89F8 #F8DF89 #89F8DF
tetradic
#DF89F8 #F8A789 #A2F889 #89DAF8
square
#DF89F8 #F8A789 #A2F889 #89DAF8
split-complementary
#DF89F8 #DAF889 #89F8A7
monochromatic
#C015F1 #CF4FF5 #DF89F8 #EFC3FB #F7E2FD

Accessibility & contrast

On white

2.31
#DF89F8 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.07
#DF89F8 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF89F8
9.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF89F8#FFFFFF#000000##000000
##DF89F81.002.319.079.07
#FFFFFF2.311.0021.0021.00
#0000009.0721.001.001.00
##0000009.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#77A5FC
Deuteranopia (green-blind)
#8EADF5
Tritanopia (blue-blind)
#DF98B5
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #df89f8;
/* rgb */ color: rgb(223, 137, 248);
/* oklch */ color: oklch(76.0% 0.176 318.3);
Tailwind
colors: {
  custom: {
    50: '#ebadfb',
    500: '#df89f8',
    950: '#000000',
  },
}
SCSS
$custom: #df89f8;
$custom-light: #ebadfb;
$custom-dark: #000000;
JSON
{
  "hex": "#df89f8",
  "rgb": {
    "r": 223,
    "g": 137,
    "b": 248
  },
  "hsl": {
    "h": 286.486,
    "s": 88.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.7597,
    "c": 0.17611,
    "h": 318.3
  },
  "luminance": 0.40357
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DF89F8

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

Preview Lab → · Contrast checker → · Palette generator →

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