#DF8EF3#DF8EF3

#DF8EF3 is a light, vivid purple. Relative luminance 0.415; OKLCH L 76.5% C 0.163 H 319.5°. Best body text is #000000 at 9.30:1 contrast (WCAG AA passes).

Color values

HEX#DF8EF3
RGBrgb(223, 142, 243)
HSLhsl(288, 81%, 75%)
HSVhsv(288, 42%, 95%)
CMYKcmyk(8.2%, 41.6%, 0%, 4.7%)
CIE-LABlab(70.53, 46.89, -38.39)
CIE-LCHlch(70.53, 60.60, 320.70°)
OKLaboklab(76.5% 0.1237 -0.1057)
OKLCHoklch(76.5% 0.163 319.5)
XYZxyz(56.2800, 41.5069, 89.8236)
Luminance0.4150 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8EF3 #A2F38E
analogous
#AC8EF3 #DF8EF3 #F38ED4
triadic
#DF8EF3 #F3DF8E #8EF3DF
tetradic
#DF8EF3 #F3AC8E #A2F38E #8ED4F3
square
#DF8EF3 #F3AC8E #A2F38E #8ED4F3
split-complementary
#DF8EF3 #D4F38E #8EF3AC
monochromatic
#C01FE7 #CF57ED #DF8EF3 #EFC5F9 #F7E3FC

Accessibility & contrast

On white

2.26
#DF8EF3 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.30
#DF8EF3 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8EF3
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8EF3#FFFFFF#000000##000000
##DF8EF31.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#7FA7F7
Deuteranopia (green-blind)
#95AFF0
Tritanopia (blue-blind)
#E09BB5
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #df8ef3;
/* rgb */ color: rgb(223, 142, 243);
/* oklch */ color: oklch(76.5% 0.163 319.5);
Tailwind
colors: {
  custom: {
    50: '#eab1f7',
    500: '#df8ef3',
    950: '#000000',
  },
}
SCSS
$custom: #df8ef3;
$custom-light: #eab1f7;
$custom-dark: #000000;
JSON
{
  "hex": "#df8ef3",
  "rgb": {
    "r": 223,
    "g": 142,
    "b": 243
  },
  "hsl": {
    "h": 288.119,
    "s": 80.8,
    "l": 75.49
  },
  "oklch": {
    "l": 0.76502,
    "c": 0.16268,
    "h": 319.5
  },
  "luminance": 0.41505
}

Semantic roles & 50–950 ramp

primary
#DF8EF3
secondary
#DDF4D7
accent
#DD0832
background
#FEFBFF
surface
#FDF6FF
border
#D5D0D7
text
#161117
muted
#848085

Preview Lab

Preview with #DF8EF3

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

Preview Lab → · Contrast checker → · Palette generator →

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