#DF9FE2#DF9FE2

#DF9FE2 is a light, moderate purple. Relative luminance 0.460; OKLCH L 78.6% C 0.116 H 325.1°. Best body text is #000000 at 10.20:1 contrast (WCAG AA passes).

Color values

HEX#DF9FE2
RGBrgb(223, 159, 226)
HSLhsl(297, 54%, 75%)
HSVhsv(297, 30%, 89%)
CMYKcmyk(1.3%, 29.6%, 0%, 11.4%)
CIE-LABlab(73.53, 34.64, -24.46)
CIE-LCHlch(73.53, 42.41, 324.77°)
OKLaboklab(78.55% 0.0951 -0.0663)
OKLCHoklch(78.55% 0.116 325.1)
XYZxyz(56.5556, 45.9771, 77.8321)
Luminance0.4597 (WCAG relative)
Temperatureneutral
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9FE2 #A2E29F
analogous
#BD9FE2 #DF9FE2 #E29FC4
triadic
#DF9FE2 #E2DF9F #9FE2DF
tetradic
#DF9FE2 #E2BD9F #A2E29F #9FC4E2
square
#DF9FE2 #E2BD9F #A2E29F #9FC4E2
split-complementary
#DF9FE2 #C4E29F #9FE2BD
monochromatic
#C041C6 #CF70D4 #DF9FE2 #EFCEF0 #F7E7F8

Accessibility & contrast

On white

2.06
#DF9FE2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.20
#DF9FE2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9FE2
10.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9FE2#FFFFFF#000000##000000
##DF9FE21.002.0610.2010.20
#FFFFFF2.061.0021.0021.00
#00000010.2021.001.001.00
##00000010.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9AB0E5
Deuteranopia (green-blind)
#A9B7E0
Tritanopia (blue-blind)
#E2A5B7
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #df9fe2;
/* rgb */ color: rgb(223, 159, 226);
/* oklch */ color: oklch(78.6% 0.116 325.1);
Tailwind
colors: {
  custom: {
    50: '#eabceb',
    500: '#df9fe2',
    950: '#000000',
  },
}
SCSS
$custom: #df9fe2;
$custom-light: #eabceb;
$custom-dark: #000000;
JSON
{
  "hex": "#df9fe2",
  "rgb": {
    "r": 223,
    "g": 159,
    "b": 226
  },
  "hsl": {
    "h": 297.313,
    "s": 53.6,
    "l": 75.49
  },
  "oklch": {
    "l": 0.78552,
    "c": 0.1159,
    "h": 325.1
  },
  "luminance": 0.45975
}

Semantic roles & 50–950 ramp

primary
#DF9FE2
secondary
#DDEFDC
accent
#C1242B
background
#FEFBFE
surface
#FDF6FD
border
#D5D0D5
text
#161216
muted
#848184

Preview Lab

Preview with #DF9FE2

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

Preview Lab → · Contrast checker → · Palette generator →

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