#DE97F2#DE97F2

#DE97F2 is a light, vivid purple. Relative luminance 0.441; OKLCH L 77.8% C 0.146 H 318.6°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#DE97F2
RGBrgb(222, 151, 242)
HSLhsl(287, 78%, 77%)
HSVhsv(287, 38%, 95%)
CMYKcmyk(8.3%, 37.6%, 0%, 5.1%)
CIE-LABlab(72.28, 41.67, -35.13)
CIE-LCHlch(72.28, 54.50, 319.86°)
OKLaboklab(77.78% 0.1095 -0.0964)
OKLCHoklch(77.78% 0.146 318.6)
XYZxyz(57.2157, 44.0752, 89.4806)
Luminance0.4407 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#DE97F2 #ABF297
analogous
#B197F2 #DE97F2 #F297D9
triadic
#DE97F2 #F2DE97 #97F2DE
tetradic
#DE97F2 #F2B197 #ABF297 #97D9F2
square
#DE97F2 #F2B197 #ABF297 #97D9F2
split-complementary
#DE97F2 #D9F297 #97F2B1
monochromatic
#BB2AE4 #CD61EB #DE97F2 #EFCDF9 #F6E4FC

Accessibility & contrast

On white

2.14
#DE97F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#DE97F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #DE97F2
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##DE97F2#FFFFFF#000000##000000
##DE97F21.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8AACF5
Deuteranopia (green-blind)
#9CB4EF
Tritanopia (blue-blind)
#DFA2B9
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #de97f2;
/* rgb */ color: rgb(222, 151, 242);
/* oklch */ color: oklch(77.8% 0.146 318.6);
Tailwind
colors: {
  custom: {
    50: '#e9b7f6',
    500: '#de97f2',
    950: '#000000',
  },
}
SCSS
$custom: #de97f2;
$custom-light: #e9b7f6;
$custom-dark: #000000;
JSON
{
  "hex": "#de97f2",
  "rgb": {
    "r": 222,
    "g": 151,
    "b": 242
  },
  "hsl": {
    "h": 286.813,
    "s": 77.778,
    "l": 77.059
  },
  "oklch": {
    "l": 0.7778,
    "c": 0.14595,
    "h": 318.6
  },
  "luminance": 0.44074
}

Semantic roles & 50–950 ramp

primary
#DE97F2
secondary
#DEF3D8
accent
#DA0B39
background
#FEFBFF
surface
#FDF6FE
border
#D5D0D6
text
#161117
muted
#848085

Preview Lab

Preview with #DE97F2

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

Preview Lab → · Contrast checker → · Palette generator →

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