#DF8BF2#DF8BF2

#DF8BF2 is a light, vivid purple. Relative luminance 0.406; OKLCH L 76.0% C 0.167 H 320.0°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).

Color values

HEX#DF8BF2
RGBrgb(223, 139, 242)
HSLhsl(289, 80%, 75%)
HSVhsv(289, 43%, 95%)
CMYKcmyk(7.9%, 42.6%, 0%, 5.1%)
CIE-LABlab(69.87, 48.26, -38.86)
CIE-LCHlch(69.87, 61.96, 321.15°)
OKLaboklab(76% 0.1277 -0.107)
OKLCHoklch(76% 0.167 320)
XYZxyz(55.6891, 40.5659, 88.8837)
Luminance0.4056 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF8BF2 #9EF28B
analogous
#AC8BF2 #DF8BF2 #F28BD2
triadic
#DF8BF2 #F2DF8B #8BF2DF
tetradic
#DF8BF2 #F2AC8B #9EF28B #8BD2F2
square
#DF8BF2 #F2AC8B #9EF28B #8BD2F2
split-complementary
#DF8BF2 #D2F28B #8BF2AC
monochromatic
#C11DE6 #D054EC #DF8BF2 #EEC2F8 #F7E3FC

Accessibility & contrast

On white

2.30
#DF8BF2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.11
#DF8BF2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF8BF2
9.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF8BF2#FFFFFF#000000##000000
##DF8BF21.002.309.119.11
#FFFFFF2.301.0021.0021.00
#0000009.1121.001.001.00
##0000009.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#7CA5F6
Deuteranopia (green-blind)
#93AEEF
Tritanopia (blue-blind)
#E098B3
Achromatopsia (no color)
#ABABAB

Design tokens & code

CSS
--color: #df8bf2;
/* rgb */ color: rgb(223, 139, 242);
/* oklch */ color: oklch(76.0% 0.167 320.0);
Tailwind
colors: {
  custom: {
    50: '#eaaff6',
    500: '#df8bf2',
    950: '#000000',
  },
}
SCSS
$custom: #df8bf2;
$custom-light: #eaaff6;
$custom-dark: #000000;
JSON
{
  "hex": "#df8bf2",
  "rgb": {
    "r": 223,
    "g": 139,
    "b": 242
  },
  "hsl": {
    "h": 288.932,
    "s": 79.845,
    "l": 74.706
  },
  "oklch": {
    "l": 0.75995,
    "c": 0.16664,
    "h": 320
  },
  "luminance": 0.40564
}

Semantic roles & 50–950 ramp

primary
#DF8BF2
secondary
#DDF4D7
accent
#DC0930
background
#FEFAFF
surface
#FDF5FE
border
#D5CFD6
text
#161017
muted
#847F85

Preview Lab

Preview with #DF8BF2

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

Preview Lab → · Contrast checker → · Palette generator →

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