#DE7BFA#DE7BFA

#DE7BFA is a light, vivid purple. Relative luminance 0.366; OKLCH L 73.9% C 0.200 H 318.4°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#DE7BFA
RGBrgb(222, 123, 250)
HSLhsl(287, 93%, 73%)
HSVhsv(287, 51%, 98%)
CMYKcmyk(11.2%, 50.8%, 0%, 2%)
CIE-LABlab(66.98, 57.64, -47.79)
CIE-LCHlch(66.98, 74.87, 320.33°)
OKLaboklab(73.94% 0.1496 -0.1327)
OKLCHoklch(73.94% 0.2 318.4)
XYZxyz(54.4602, 36.5996, 94.6196)
Luminance0.3660 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE7BFA #97FA7B
analogous
#9E7BFA #DE7BFA #FA7BD6
triadic
#DE7BFA #FADE7B #7BFADE
tetradic
#DE7BFA #FA9E7B #97FA7B #7BD6FA
square
#DE7BFA #FA9E7B #97FA7B #7BD6FA
split-complementary
#DE7BFA #D6FA7B #7BFA9E
monochromatic
#BE09F1 #CF40F8 #DE7BFA #EDB6FC #F8E2FE

Accessibility & contrast

On white

2.52
#DE7BFA on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#DE7BFA on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE7BFA
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE7BFA#FFFFFF#000000##000000
##DE7BFA1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#639CFE
Deuteranopia (green-blind)
#81A6F7
Tritanopia (blue-blind)
#DE8DAF
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #de7bfa;
/* rgb */ color: rgb(222, 123, 250);
/* oklch */ color: oklch(73.9% 0.200 318.4);
Tailwind
colors: {
  custom: {
    50: '#eba4fc',
    500: '#de7bfa',
    950: '#000000',
  },
}
SCSS
$custom: #de7bfa;
$custom-light: #eba4fc;
$custom-dark: #000000;
JSON
{
  "hex": "#de7bfa",
  "rgb": {
    "r": 222,
    "g": 123,
    "b": 250
  },
  "hsl": {
    "h": 286.772,
    "s": 92.701,
    "l": 73.137
  },
  "oklch": {
    "l": 0.73935,
    "c": 0.19994,
    "h": 318.4
  },
  "luminance": 0.36598
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #DE7BFA

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

Preview Lab → · Contrast checker → · Palette generator →

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