#DF8FF2#DF8FF2

#DF8FF2 is a light, vivid purple. Relative luminance 0.417; OKLCH L 76.6% C 0.160 H 319.7°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#DF8FF2
RGBrgb(223, 143, 242)
HSLhsl(288, 79%, 75%)
HSVhsv(288, 41%, 95%)
CMYKcmyk(7.9%, 40.9%, 0%, 5.1%)
CIE-LABlab(70.70, 46.18, -37.58)
CIE-LCHlch(70.70, 59.54, 320.86°)
OKLaboklab(76.61% 0.1221 -0.1034)
OKLCHoklch(76.61% 0.16 319.7)
XYZxyz(56.2789, 41.7455, 89.0803)
Luminance0.4174 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8FF2 #A2F28F
analogous
#AD8FF2 #DF8FF2 #F28FD3
triadic
#DF8FF2 #F2DF8F #8FF2DF
tetradic
#DF8FF2 #F2AD8F #A2F28F #8FD3F2
square
#DF8FF2 #F2AD8F #A2F28F #8FD3F2
split-complementary
#DF8FF2 #D3F28F #8FF2AD
monochromatic
#C021E5 #CF58EC #DF8FF2 #EFC6F8 #F7E4FC

Accessibility & contrast

On white

2.25
#DF8FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#DF8FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8FF2
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8FF2#FFFFFF#000000##000000
##DF8FF21.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#81A7F6
Deuteranopia (green-blind)
#96B0EF
Tritanopia (blue-blind)
#E09BB5
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #df8ff2;
/* rgb */ color: rgb(223, 143, 242);
/* oklch */ color: oklch(76.6% 0.160 319.7);
Tailwind
colors: {
  custom: {
    50: '#eab1f6',
    500: '#df8ff2',
    950: '#000000',
  },
}
SCSS
$custom: #df8ff2;
$custom-light: #eab1f6;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ff2",
  "rgb": {
    "r": 223,
    "g": 143,
    "b": 242
  },
  "hsl": {
    "h": 288.485,
    "s": 79.2,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76613,
    "c": 0.15998,
    "h": 319.7
  },
  "luminance": 0.41744
}

Semantic roles & 50–950 ramp

primary
#DF8FF2
secondary
#DDF4D7
accent
#DB0A32
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DF8FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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