#D772F2#D772F2

#D772F2 is a light, highly saturated purple. Relative luminance 0.329; OKLCH L 71.5% C 0.203 H 318.8°. Best body text is #000000 at 7.58:1 contrast (WCAG AA passes).

Color values

HEX#D772F2
RGBrgb(215, 114, 242)
HSLhsl(287, 83%, 70%)
HSVhsv(287, 53%, 95%)
CMYKcmyk(11.2%, 52.9%, 0%, 5.1%)
CIE-LABlab(64.08, 58.65, -48.02)
CIE-LCHlch(64.08, 75.81, 320.69°)
OKLaboklab(71.49% 0.1525 -0.1335)
OKLCHoklch(71.49% 0.203 318.8)
XYZxyz(50.0665, 32.8944, 87.6992)
Luminance0.3289 (WCAG relative)
Temperaturecool
Familypurple

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#D772F2 #8DF272
analogous
#9772F2 #D772F2 #F272CD
triadic
#D772F2 #F2D772 #72F2D7
tetradic
#D772F2 #F29772 #8DF272 #72CDF2
square
#D772F2 #F29772 #8DF272 #72CDF2
split-complementary
#D772F2 #CDF272 #72F297
monochromatic
#AD14D6 #C73AED #D772F2 #E7AAF7 #F7E2FC

Accessibility & contrast

On white

2.77
#D772F2 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.58
#D772F2 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #D772F2
7.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##D772F2#FFFFFF#000000##000000
##D772F21.002.777.587.58
#FFFFFF2.771.0021.0021.00
#0000007.5821.001.001.00
##0000007.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#5894F6
Deuteranopia (green-blind)
#799FEF
Tritanopia (blue-blind)
#D785A8
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #d772f2;
/* rgb */ color: rgb(215, 114, 242);
/* oklch */ color: oklch(71.5% 0.203 318.8);
Tailwind
colors: {
  custom: {
    50: '#e69ef7',
    500: '#d772f2',
    950: '#000000',
  },
}
SCSS
$custom: #d772f2;
$custom-light: #e69ef7;
$custom-dark: #000000;
JSON
{
  "hex": "#d772f2",
  "rgb": {
    "r": 215,
    "g": 114,
    "b": 242
  },
  "hsl": {
    "h": 287.344,
    "s": 83.117,
    "l": 69.804
  },
  "oklch": {
    "l": 0.71491,
    "c": 0.20262,
    "h": 318.8
  },
  "luminance": 0.32893
}

Semantic roles & 50–950 ramp

primary
#D772F2
secondary
#D5F2CE
accent
#E00634
background
#FEFAFF
surface
#FDF3FF
border
#D5CDD7
text
#160F17
muted
#847F85

Preview Lab

Preview with #D772F2

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

Preview Lab → · Contrast checker → · Palette generator →

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