#DF9CFB#DF9CFB

#DF9CFB is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.1% C 0.148 H 315.5°. Best body text is #000000 at 10.29:1 contrast (WCAG AA passes).

Color values

HEX#DF9CFB
RGBrgb(223, 156, 251)
HSLhsl(282, 92%, 80%)
HSVhsv(282, 38%, 98%)
CMYKcmyk(11.2%, 37.8%, 0%, 1.6%)
CIE-LABlab(73.82, 41.10, -37.61)
CIE-LCHlch(73.82, 55.71, 317.53°)
OKLaboklab(79.09% 0.1055 -0.1036)
OKLCHoklch(79.09% 0.148 315.5)
XYZxyz(59.7298, 46.4313, 97.0638)
Luminance0.4643 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9CFB #B8FB9C
analogous
#B09CFB #DF9CFB #FB9CE7
triadic
#DF9CFB #FBDF9C #9CFBDF
tetradic
#DF9CFB #FBB09C #B8FB9C #9CE7FB
square
#DF9CFB #FBB09C #B8FB9C #9CE7FB
split-complementary
#DF9CFB #E7FB9C #9CFBB0
monochromatic
#B926F6 #CC61F9 #DF9CFB #F2D7FD #F5E2FE

Accessibility & contrast

On white

2.04
#DF9CFB on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.29
#DF9CFB on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9CFB
10.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9CFB#FFFFFF#000000##000000
##DF9CFB1.002.0410.2910.29
#FFFFFF2.041.0021.0021.00
#00000010.2921.001.001.00
##00000010.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FF
Deuteranopia (green-blind)
#9DB7F8
Tritanopia (blue-blind)
#DEA8C0
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #df9cfb;
/* rgb */ color: rgb(223, 156, 251);
/* oklch */ color: oklch(79.1% 0.148 315.5);
Tailwind
colors: {
  custom: {
    50: '#eabafd',
    500: '#df9cfb',
    950: '#000000',
  },
}
SCSS
$custom: #df9cfb;
$custom-light: #eabafd;
$custom-dark: #000000;
JSON
{
  "hex": "#df9cfb",
  "rgb": {
    "r": 223,
    "g": 156,
    "b": 251
  },
  "hsl": {
    "h": 282.316,
    "s": 92.233,
    "l": 79.804
  },
  "oklch": {
    "l": 0.79089,
    "c": 0.14781,
    "h": 315.5
  },
  "luminance": 0.4643
}

Semantic roles & 50–950 ramp

primary
#DF9CFB
secondary
#DFF6D5
accent
#E60044
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DF9CFB

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

Preview Lab → · Contrast checker → · Palette generator →

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