#DF7BFE#DF7BFE

#DF7BFE is a light, highly saturated purple. Relative luminance 0.370; OKLCH L 74.3% C 0.204 H 317.7°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#DF7BFE
RGBrgb(223, 123, 254)
HSLhsl(286, 98%, 74%)
HSVhsv(286, 52%, 100%)
CMYKcmyk(12.2%, 51.6%, 0%, 0.4%)
CIE-LABlab(67.29, 58.68, -49.49)
CIE-LCHlch(67.29, 76.76, 319.86°)
OKLaboklab(74.25% 0.1511 -0.1376)
OKLCHoklch(74.25% 0.204 317.7)
XYZxyz(55.4013, 37.0116, 97.9723)
Luminance0.3701 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BFE #9AFE7B
analogous
#9E7BFE #DF7BFE #FE7BDB
triadic
#DF7BFE #FEDF7B #7BFEDF
tetradic
#DF7BFE #FE9E7B #9AFE7B #7BDBFE
square
#DF7BFE #FE9E7B #9AFE7B #7BDBFE
split-complementary
#DF7BFE #DBFE7B #7BFE9E
monochromatic
#C102FD #D03EFE #DF7BFE #EEB8FE #F8E1FF

Accessibility & contrast

On white

2.50
#DF7BFE on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#DF7BFE on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BFE
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BFE#FFFFFF#000000##000000
##DF7BFE1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#609DFF
Deuteranopia (green-blind)
#80A7FA
Tritanopia (blue-blind)
#DE8FB1
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #df7bfe;
/* rgb */ color: rgb(223, 123, 254);
/* oklch */ color: oklch(74.3% 0.204 317.7);
Tailwind
colors: {
  custom: {
    50: '#eba5ff',
    500: '#df7bfe',
    950: '#000000',
  },
}
SCSS
$custom: #df7bfe;
$custom-light: #eba5ff;
$custom-dark: #000000;
JSON
{
  "hex": "#df7bfe",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 254
  },
  "hsl": {
    "h": 285.802,
    "s": 98.496,
    "l": 73.922
  },
  "oklch": {
    "l": 0.74252,
    "c": 0.20437,
    "h": 317.7
  },
  "luminance": 0.3701
}

Semantic roles & 50–950 ramp

primary
#DF7BFE
secondary
#DCF7D4
accent
#E60036
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#170F18
muted
#857F86

Preview Lab

Preview with #DF7BFE

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

Preview Lab → · Contrast checker → · Palette generator →

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