#DF9FF2#DF9FF2

#DF9FF2 is a light, vivid purple. Relative luminance 0.469; OKLCH L 79.2% C 0.133 H 318.3°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#DF9FF2
RGBrgb(223, 159, 242)
HSLhsl(286, 76%, 79%)
HSVhsv(286, 34%, 95%)
CMYKcmyk(7.9%, 34.3%, 0%, 5.1%)
CIE-LABlab(74.12, 37.71, -32.27)
CIE-LCHlch(74.12, 49.63, 319.44°)
OKLaboklab(79.2% 0.0992 -0.0883)
OKLCHoklch(79.2% 0.133 318.3)
XYZxyz(58.8544, 46.8966, 89.9388)
Luminance0.4689 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9FF2 #B2F29F
analogous
#B59FF2 #DF9FF2 #F29FDB
triadic
#DF9FF2 #F2DF9F #9FF2DF
tetradic
#DF9FF2 #F2B59F #B2F29F #9FDBF2
square
#DF9FF2 #F2B59F #B2F29F #9FDBF2
split-complementary
#DF9FF2 #DBF29F #9FF2B5
monochromatic
#BB33E3 #CD69EB #DF9FF2 #F1D5F9 #F6E4FB

Accessibility & contrast

On white

2.02
#DF9FF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.38
#DF9FF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9FF2
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9FF2#FFFFFF#000000##000000
##DF9FF21.002.0210.3810.38
#FFFFFF2.021.0021.0021.00
#00000010.3821.001.001.00
##00000010.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94B2F5
Deuteranopia (green-blind)
#A3B8EF
Tritanopia (blue-blind)
#DFA9BE
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #df9ff2;
/* rgb */ color: rgb(223, 159, 242);
/* oklch */ color: oklch(79.2% 0.133 318.3);
Tailwind
colors: {
  custom: {
    50: '#eabcf6',
    500: '#df9ff2',
    950: '#000000',
  },
}
SCSS
$custom: #df9ff2;
$custom-light: #eabcf6;
$custom-dark: #000000;
JSON
{
  "hex": "#df9ff2",
  "rgb": {
    "r": 223,
    "g": 159,
    "b": 242
  },
  "hsl": {
    "h": 286.265,
    "s": 76.147,
    "l": 78.627
  },
  "oklch": {
    "l": 0.79198,
    "c": 0.1328,
    "h": 318.3
  },
  "luminance": 0.46895
}

Semantic roles & 50–950 ramp

primary
#DF9FF2
secondary
#DEF3D8
accent
#D80D3C
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161217
muted
#848185

Preview Lab

Preview with #DF9FF2

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

Preview Lab → · Contrast checker → · Palette generator →

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