#DF89F2#DF89F2

#DF89F2 is a light, vivid purple. Relative luminance 0.400; OKLCH L 75.7% C 0.170 H 320.2°. Best body text is #000000 at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#DF89F2
RGBrgb(223, 137, 242)
HSLhsl(289, 80%, 74%)
HSVhsv(289, 43%, 95%)
CMYKcmyk(7.9%, 43.4%, 0%, 5.1%)
CIE-LABlab(69.46, 49.29, -39.50)
CIE-LCHlch(69.46, 63.16, 321.29°)
OKLaboklab(75.69% 0.1305 -0.1088)
OKLCHoklch(75.69% 0.17 320.2)
XYZxyz(55.4021, 39.9921, 88.7881)
Luminance0.3999 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF89F2 #9CF289
analogous
#AB89F2 #DF89F2 #F289D1
triadic
#DF89F2 #F2DF89 #89F2DF
tetradic
#DF89F2 #F2AB89 #9CF289 #89D1F2
square
#DF89F2 #F2AB89 #9CF289 #89D1F2
split-complementary
#DF89F2 #D1F289 #89F2AB
monochromatic
#C11BE6 #D052EC #DF89F2 #EEC0F8 #F8E3FC

Accessibility & contrast

On white

2.33
#DF89F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.00
#DF89F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF89F2
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF89F2#FFFFFF#000000##000000
##DF89F21.002.339.009.00
#FFFFFF2.331.0021.0021.00
#0000009.0021.001.001.00
##0000009.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7AA4F6
Deuteranopia (green-blind)
#91ADEF
Tritanopia (blue-blind)
#E096B2
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #df89f2;
/* rgb */ color: rgb(223, 137, 242);
/* oklch */ color: oklch(75.7% 0.170 320.2);
Tailwind
colors: {
  custom: {
    50: '#ebadf6',
    500: '#df89f2',
    950: '#000000',
  },
}
SCSS
$custom: #df89f2;
$custom-light: #ebadf6;
$custom-dark: #000000;
JSON
{
  "hex": "#df89f2",
  "rgb": {
    "r": 223,
    "g": 137,
    "b": 242
  },
  "hsl": {
    "h": 289.143,
    "s": 80.153,
    "l": 74.314
  },
  "oklch": {
    "l": 0.75691,
    "c": 0.16996,
    "h": 320.2
  },
  "luminance": 0.3999
}

Semantic roles & 50–950 ramp

primary
#DF89F2
secondary
#DCF4D7
accent
#DC092F
background
#FEFAFF
surface
#FDF4FE
border
#D5CED6
text
#161017
muted
#847F85

Preview Lab

Preview with #DF89F2

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

Preview Lab → · Contrast checker → · Palette generator →

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