#DF7BFA#DF7BFA

#DF7BFA is a light, highly saturated purple. Relative luminance 0.368; OKLCH L 74.0% C 0.200 H 318.8°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#DF7BFA
RGBrgb(223, 123, 250)
HSLhsl(287, 93%, 73%)
HSVhsv(287, 51%, 98%)
CMYKcmyk(10.8%, 50.8%, 0%, 2%)
CIE-LABlab(67.10, 57.90, -47.60)
CIE-LCHlch(67.10, 74.95, 320.58°)
OKLaboklab(74.05% 0.1507 -0.1321)
OKLCHoklch(74.05% 0.2 318.8)
XYZxyz(54.7674, 36.7581, 94.6340)
Luminance0.3676 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DF7BFA #96FA7B
analogous
#9F7BFA #DF7BFA #FA7BD5
triadic
#DF7BFA #FADF7B #7BFADF
tetradic
#DF7BFA #FA9F7B #96FA7B #7BD5FA
square
#DF7BFA #FA9F7B #96FA7B #7BD5FA
split-complementary
#DF7BFA #D5FA7B #7BFA9F
monochromatic
#C009F1 #D140F8 #DF7BFA #EDB6FC #F8E2FE

Accessibility & contrast

On white

2.51
#DF7BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.35
#DF7BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DF7BFA
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DF7BFA#FFFFFF#000000##000000
##DF7BFA1.002.518.358.35
#FFFFFF2.511.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#639DFE
Deuteranopia (green-blind)
#82A7F7
Tritanopia (blue-blind)
#DF8DAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #df7bfa;
/* rgb */ color: rgb(223, 123, 250);
/* oklch */ color: oklch(74.0% 0.200 318.8);
Tailwind
colors: {
  custom: {
    50: '#eba4fc',
    500: '#df7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #df7bfa;
$custom-light: #eba4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#df7bfa",
  "rgb": {
    "r": 223,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 287.244,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.74049,
    "c": 0.20041,
    "h": 318.8
  },
  "luminance": 0.36756
}

Semantic roles & 50–950 ramp

primary
#DF7BFA
secondary
#DCF6D5
accent
#E60031
background
#FEFAFF
surface
#FDF4FF
border
#D5CED7
text
#160F17
muted
#847F85

Preview Lab

Preview with #DF7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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