#DF9CFA#DF9CFA

#DF9CFA is a light, vivid purple. Relative luminance 0.464; OKLCH L 79.0% C 0.147 H 315.8°. Best body text is #000000 at 10.27:1 contrast (WCAG AA passes).

Color values

HEX#DF9CFA
RGBrgb(223, 156, 250)
HSLhsl(283, 90%, 80%)
HSVhsv(283, 38%, 98%)
CMYKcmyk(10.8%, 37.6%, 0%, 2%)
CIE-LABlab(73.78, 40.90, -37.14)
CIE-LCHlch(73.78, 55.24, 317.76°)
OKLaboklab(79.05% 0.1053 -0.1022)
OKLCHoklch(79.05% 0.147 315.8)
XYZxyz(59.5726, 46.3684, 96.2358)
Luminance0.4637 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF9CFA #B7FA9C
analogous
#B09CFA #DF9CFA #FA9CE6
triadic
#DF9CFA #FADF9C #9CFADF
tetradic
#DF9CFA #FAB09C #B7FA9C #9CE6FA
square
#DF9CFA #FAB09C #B7FA9C #9CE6FA
split-complementary
#DF9CFA #E6FA9C #9CFAB0
monochromatic
#B927F4 #CC62F7 #DF9CFA #F2D6FD #F6E2FE

Accessibility & contrast

On white

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

On black

10.27
#DF9CFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF9CFA
10.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF9CFA#FFFFFF#000000##000000
##DF9CFA1.002.0410.2710.27
#FFFFFF2.041.0021.0021.00
#00000010.2721.001.001.00
##00000010.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#8DB1FE
Deuteranopia (green-blind)
#9DB7F7
Tritanopia (blue-blind)
#DEA8BF
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #df9cfa;
/* rgb */ color: rgb(223, 156, 250);
/* oklch */ color: oklch(79.0% 0.147 315.8);
Tailwind
colors: {
  custom: {
    50: '#eabafc',
    500: '#df9cfa',
    950: '#000000',
  },
}
SCSS
$custom: #df9cfa;
$custom-light: #eabafc;
$custom-dark: #000000;
JSON
{
  "hex": "#df9cfa",
  "rgb": {
    "r": 223,
    "g": 156,
    "b": 250
  },
  "hsl": {
    "h": 282.766,
    "s": 90.385,
    "l": 79.608
  },
  "oklch": {
    "l": 0.79045,
    "c": 0.14671,
    "h": 315.8
  },
  "luminance": 0.46367
}

Semantic roles & 50–950 ramp

primary
#DF9CFA
secondary
#DFF6D5
accent
#E60042
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161217
muted
#848185

Preview Lab

Preview with #DF9CFA

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

Preview Lab → · Contrast checker → · Palette generator →

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